Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 TransparentTimer

if __name__ == "__main__":
import sys

app = 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