QSystemTrayIcon Class Reference
[QtGui module]
Inherits QObject.
Types
- enum ActivationReason { Unknown, Context, DoubleClick, Trigger, MiddleClick }
- enum MessageIcon { NoIcon, Information, Warning, Critical }
Methods
- __init__ (self, QObject parent = None)
- __init__ (self, QIcon, QObject parent = None)
- QMenu contextMenu (self)
- bool event (self, QEvent)
- QRect geometry (self)
- hide (self)
- QIcon icon (self)
- bool isVisible (self)
- setContextMenu (self, QMenu)
- setIcon (self, QIcon)
- setToolTip (self, QString)
- setVisible (self, bool)
- show (self)
- showMessage (self, QString, QString, MessageIcon icon = QSystemTrayIcon.Information, int msecs = 10000)
- QString toolTip (self)
Static Methods
Qt Signals
Detailed Description
Type Documentation
QSystemTrayIcon.ActivationReason
QSystemTrayIcon.MessageIcon
Method Documentation
QSystemTrayIcon.__init__ (self, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QSystemTrayIcon.__init__ (self, QIcon, QObject parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QMenu QSystemTrayIcon.contextMenu (self)
bool QSystemTrayIcon.event (self, QEvent)
QRect QSystemTrayIcon.geometry (self)
QSystemTrayIcon.hide (self)
This method is also a Qt slot with the C++ signature void hide().
QIcon QSystemTrayIcon.icon (self)
bool QSystemTrayIcon.isSystemTrayAvailable ()
bool QSystemTrayIcon.isVisible (self)
QSystemTrayIcon.setContextMenu (self, QMenu)
QSystemTrayIcon.setIcon (self, QIcon)
QSystemTrayIcon.setToolTip (self, QString)
QSystemTrayIcon.setVisible (self, bool)
This method is also a Qt slot with the C++ signature void setVisible(bool).
QSystemTrayIcon.show (self)
This method is also a Qt slot with the C++ signature void show().
QSystemTrayIcon.showMessage (self, QString, QString, MessageIcon icon = QSystemTrayIcon.Information, int msecs = 10000)
bool QSystemTrayIcon.supportsMessages ()
QString QSystemTrayIcon.toolTip (self)
Qt Signal Documentation
void activated (QSystemTrayIcon::ActivationReason)
This is the default overload of this signal.
void messageClicked ()
This is the default overload of this signal.