Obsolete Members for SystemTrayIcon

The following members of QML type SystemTrayIcon are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Property Documentation

[read-only] available : bool

This property holds whether the system tray is available.


geometry : rect

This property holds the geometry of the system tray icon.

This property was introduced in Qt.labs.platform 1.1 (Qt 5.12).


icon group

icon.source : url

icon.name : string

icon.mask : bool

This property holds the system tray icon.

 SystemTrayIcon {
     icon.mask: true
     icon.source: "qrc:/images/tray-icon.png"
 }

This property group was introduced in Qt.labs.platform 1.1 (Qt 5.12).


This property holds a menu for the system tray icon.


[read-only] supportsMessages : bool

This property holds whether the system tray icon supports notification messages.

See also showMessage().


tooltip : string

This property holds the tooltip of the system tray icon.


visible : bool

This property holds whether the system tray icon is visible.

The default value is false.