https://github.com/yjg30737/pyqt-transparent-window
PyQt transparent window
https://github.com/yjg30737/pyqt-transparent-window
pyqt pyqt-examples pyqt-frameless-window pyqt-gui pyqt-transparent-window pyqt-tutorial pyqt5 pyqt5-examples pyqt5-frameless-window pyqt5-gui pyqt5-transparent-window pyqt5-tutorial python python3 python37 qt
Last synced: 3 months ago
JSON representation
PyQt transparent window
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-transparent-window
- Owner: yjg30737
- License: mit
- Created: 2021-12-29T04:52:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-30T09:57:48.000Z (over 3 years ago)
- Last Synced: 2024-12-29T08:42:11.243Z (5 months ago)
- Topics: pyqt, pyqt-examples, pyqt-frameless-window, pyqt-gui, pyqt-transparent-window, pyqt-tutorial, pyqt5, pyqt5-examples, pyqt5-frameless-window, pyqt5-gui, pyqt5-transparent-window, pyqt5-tutorial, python, python3, python37, qt
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-transparent-window
PyQt transparent window## Requirements
PyQt5>=5.8## Setup
```pip3 install git+https://github.com/yjg30737/pyqt-transparent-window.git --upgrade```## Included Package
* pyqt-resize-frame## Example
Code Sample
```python
from PyQt5.QtWidgets import QApplicationif __name__ == "__main__":
import sysapp = QApplication(sys.argv)
window = TransparentWindow()
window.show()
app.exec_()
```Result
Transparent window except for border (white).

Resize frame (blue)

This is Windows screenshot feature so mouse cursor cannot be seen. At least cursor reshaping works like a charm so far.
## Note
It can be expanded or shrinked only right or bottom direction.Technically I can make that happen top or left direction as well but it makes window jitter.
I will figure it out how to solve that.