Skip to content

yjg30737/pyqt-notifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyqt-notifier

PyQt Windows notifier show at bottom right of the desktop screen

Requirements

PyQt5 >= 5.8

Included package

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

image

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy