Skip to content

yjg30737/pyqt-timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

from PyQt5.QtWidgets import QApplication


if __name__ == "__main__":
    import sys

    app = QApplication(sys.argv)
    timerGadget = Timer()
    timerGadget.show()
    app.exec_()

Result

Timer

image

Timer settings dialog

image

Ticking timer

image

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