PyQt notifier which shows at bottom right of the desktop screen
Project description
pyqt-notifier
PyQt Windows notifier show at bottom right of the desktop screen
Requirements
PyQt5 >= 5.8
Included package
- pyqt-svg-button - For svg icon close button
Setup
python -m pip install pyqt-notifier
Usage
# Informative text is large text at upper part of the notifier window and detailed text is small text at lower part.
notifierWidget = NotifierWidget(informative_text: str, detailed_text: str)
# You can add some widgets at the bottom of the notifier. Note: This needs more tests.
notifierWidget.addWidgets(widgets: list)
If you press the escape button or click the exit button on the top right of the notifier window, notifier window will be closed.
Example
from PyQt5.QtWidgets import QApplication
from pyqt_notifier import NotifierWidget
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
notifierWidget = NotifierWidget()
notifierWidget.show()
app.exec_()
Result
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyqt-notifier-0.0.13.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for pyqt_notifier-0.0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ef5d906a77198897156dee4c6de8e570b39d619ae11481dd78b0dd3727a14cb |
|
MD5 | b00035e5a584d9611bfc03503b7e83f4 |
|
BLAKE2b-256 | 95666663481d22b0ae33e4d78c7f9931a01f3d424867430a3512f0e57e1a0cb0 |