Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yjg30737/pyqt-transparent-timer
PyQt transparent timer
https://github.com/yjg30737/pyqt-transparent-timer
framelesswindow gadget pyqt pyqt-examples pyqt-gui pyqt-tutorial pyqt5 pyqt5-examples pyqt5-gui pyqt5-tutorial python python3 python37 qpainter qt qtimer timer
Last synced: about 1 month ago
JSON representation
PyQt transparent timer
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-transparent-timer
- Owner: yjg30737
- License: mit
- Created: 2022-01-12T05:03:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-29T11:25:01.000Z (over 2 years ago)
- Last Synced: 2024-12-23T16:21:05.898Z (about 2 months ago)
- Topics: framelesswindow, gadget, pyqt, pyqt-examples, pyqt-gui, pyqt-tutorial, pyqt5, pyqt5-examples, pyqt5-gui, pyqt5-tutorial, python, python3, python37, qpainter, qt, qtimer, timer
- Language: Python
- Homepage:
- Size: 46.9 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-transparent-timer
PyQt transparent timer## Requirements
PyQt5 >= 5.8## Setup
`python -m pip install git+https://github.com/yjg30737/pyqt-transparent-timer.git --upgrade`## Included Packages
* pyqt-timer - Parent package
* pyqt-frameless-window(v0.0.61, Legacy)
* pyqt-resource-helper## Usage
* Press the escape button if you want to quit.
* If you want to know more about how to use this, see README of pyqt-timer## Example
Code Sample
```python
from PyQt5.QtWidgets import QApplication
from pyqt_transparent_timer import TransparentTimerif __name__ == "__main__":
import sysapp = QApplication(sys.argv)
tm = TransparentTimer()
tm.show()
app.exec_()
```Result
![image](https://user-images.githubusercontent.com/55078043/149067604-650f7927-5470-44a2-b505-c863e28d8237.png)
When mouse cursor is hovering over the widget, border and background will show up.
![image](https://user-images.githubusercontent.com/55078043/149068105-d399fa18-1e48-4556-9d29-90c4f7a3e53e.png)
Except for graphics, this module operates the same way as pyqt-timer.
## See also
* pyqt-timer
* pyqt-timer-label