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.


© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.