https://github.com/yjg30737/pyqt-timer
Simple timer made out of PyQt
https://github.com/yjg30737/pyqt-timer
pyqt pyqt-examples pyqt-timer pyqt-tutorial pyqt5 pyqt5-desktop-application pyqt5-examples pyqt5-gui pyqt5-timer pyqt5-tutorial python python-timer python3 python37 qdialog qt qtimer timer
Last synced: 3 months ago
JSON representation
Simple timer made out of PyQt
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-timer
- Owner: yjg30737
- License: mit
- Created: 2021-12-21T04:58:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-30T00:16:11.000Z (almost 3 years ago)
- Last Synced: 2024-12-29T08:42:11.479Z (5 months ago)
- Topics: pyqt, pyqt-examples, pyqt-timer, pyqt-tutorial, pyqt5, pyqt5-desktop-application, pyqt5-examples, pyqt5-gui, pyqt5-timer, pyqt5-tutorial, python, python-timer, python3, python37, qdialog, qt, qtimer, timer
- Language: Python
- Homepage:
- Size: 67.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-timer
Simple timer made out of PyQt## Requirements
PyQt5 >= 5.8## Setup
```pip3 install git+https://github.com/yjg30737/pyqt-timer.git --upgrade```## Included Package
* pyqt-notifier
* pyqt-timer-label
* pyqt-svg-button## Usage
* Being able to play/pause/stop the timer after complete the timer settings (press the settings icon or double-click the label(00:00:00)
* When time is over, notifier will show up at the bottom right of the system background. Refresh button on the notifier make the timer operate itself again.## Example
### Code Example
```python
from PyQt5.QtWidgets import QApplicationif __name__ == "__main__":
import sysapp = QApplication(sys.argv)
timerGadget = Timer()
timerGadget.show()
app.exec_()
```### Result
Timer

Timer settings dialog

Ticking timer

## Note
When time is over pyqt-notifier window will pop up.This package make new file(timerSettings.ini) in main script to save the hour, minute, second chosen by user.
## See also
* pyqt-timer-label
* pyqt-transparent-timer