aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/qquickplatformsystemtrayicon.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update to latest qml CMake APICraig Scott2021-06-051-443/+0
| | | | | | | | | | | | | | The new qml CMake API places a closer relationship between the backing target and the plugin target. Both are typically created together and they share a lot of common details. Instead of creating them in different parts of the source tree, they are now specified together. The src/imports area has effectively been absorbed into the other corresponding subdirectories below src with this change. Task-number: QTBUG-91621 Change-Id: I9bd32e9eb78c198ccc9db04e2829303cac323502 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Doc: remove all instances of \qmlpropertygroupMitch Curtis2020-11-091-1/+0
| | | | | | | | This is apparently no longer necessary. Pick-to: 5.15 Change-Id: I0f45a84ced5118d248ffab4e745c4e2f2ce5738f Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Platform: remove deprecated iconName, iconSource APIMitch Curtis2020-06-051-42/+0
| | | | | | | | | | | | | [ChangeLog][Platform][Menu] The deprecated iconName and iconSource properties were removed. Use the icon property instead. [ChangeLog][Platform][MenuItem] The deprecated iconName and iconSource properties were removed. Use the icon property instead. [ChangeLog][Platform][SystemTrayIcon] The deprecated iconName and iconSource properties were removed. Use the icon property instead. Task-number: QTBUG-84715 Change-Id: I91a8ceb1a291b78fc342756de24e18b818a49b4b Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Fix build failures as a result of QMetaType changes in qtbaseAlexandru Croitor2020-03-121-0/+2
| | | | | | | | | | | | | | | | | | | moc now stores the QMetaType of properties as a result of 46f407126ef3e94d59254012cdc34d6a4ad2faf2 in qtbase, which requires full type information about the property type inside the moc generated source file. Many of the property types were forward-declared, and this resulted in build errors like "invalid application of 'sizeof' to an incomplete type 'QQuickTransition'" Make sure to explicitly include the moc files inside the counterpart .cpp files, so that full information is available from included headers. Fixes: QTBUG-82774 Change-Id: I5971713864992398daed72ce9f6ab866668cf8e1 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Fix qdoc warningsVenugopal Shivashankar2019-11-261-1/+1
| | | | | | | | | | | The warnings were about: - Undocumented function parameters - Instances of \instantiates that us an internal class - A few link issues Task-number: QTBUG-79827 Change-Id: I60094279c7da6bc446b5c63b7b4924b71cee4672 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: fix SystemTrayIcon::icon.maskJ-P Nurmi2018-05-241-1/+1
| | | | | Change-Id: Ifcfd6f57528784b192eeeb39b3d3672459a0327c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: add icon.maskJ-P Nurmi2018-04-201-0/+2
| | | | | | | | | | [ChangeLog][Platform][Menu] Added icon.mask grouped property. [ChangeLog][Platform][MenuItem] Added icon.mask grouped property. [ChangeLog][Platform][SystemTrayIcon] Added icon.mask grouped property. Task-number: QTBUG-67730 Change-Id: Idf8031b39038fb6b6774ebd2a2dcb32297465a40 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: make icon a grouped propertyJ-P Nurmi2018-04-201-24/+49
| | | | | | | | | | | | | | | [ChangeLog][Platform][Menu] Deprecated iconName and iconSource properties in favor of icon.name and icon.source grouped properties. [ChangeLog][Platform][MenuItem] Deprecated iconName and iconSource properties in favor of icon.name and icon.source grouped properties. [ChangeLog][Platform][SystemTrayIcon] Deprecated iconName and iconSource properties in favor of icon.name and icon.source grouped properties. Task-number: QTBUG-67730 Change-Id: I08bbb2bb5ed2aaae02f9264c63fb6cfa04240a74 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add SystemTrayIcon::geometryJ-P Nurmi2018-04-181-0/+16
| | | | | | | | [Changes][Platform][SystemTrayIcon] Added geometry property. Task-number: QTBUG-67623 Change-Id: I5ef278398dfc660efdf58d36d9cdf1fede0d2e7c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* SystemTrayIcon: Fix documentation code snippetv5.9.0-beta2Friedemann Kleint2017-04-111-1/+1
| | | | | | | MenuItem provides signal onTriggered(). Change-Id: Id61aee07d0463bc66a9e50d931a791fc4e0783c2 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Welcome to 2017J-P Nurmi2017-01-091-1/+1
| | | | | Change-Id: If68cff4efacc7dc5719c8b8e61937e85e9076870 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: offload widget fallback creation to qwidgetplatform_p.hJ-P Nurmi2016-08-151-6/+2
| | | | | Change-Id: If51b359fa44a539c236e1a070e69451c75e190f7 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: align logging outputJ-P Nurmi2016-08-151-1/+1
| | | | | Change-Id: I3438e1da864f6d7c710e4770f12aa2596f091a9d Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: add logging categories to help with debuggingJ-P Nurmi2016-08-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | Available categories: - qt.labs.platform.dialogs - qt.labs.platform.menus - qt.labs.platform.tray The output shows which implementation is used. Example: $ QT_LOGGING_RULES=qt.labs.platform.*=true ./texteditor qt.labs.platform.menus: MenuBar: QCocoaMenuBar(0x7fe27bdf7730) qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27bdf8450) qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27bdfa510) qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27e500000) qt.labs.platform.dialogs: FileDialog: QPlatformFileDialogHelper(0x7fe27e500f30) qt.labs.platform.dialogs: FileDialog: QPlatformFileDialogHelper(0x7fe27e501ac0) qt.labs.platform.dialogs: ColorDialog: QPlatformColorDialogHelper(0x7fe27e502920) qt.labs.platform.dialogs: MessageDialog: QWidgetPlatformMessageDialog(0x7fe27e523b40) qt.labs.platform.menus: Menu: QPlatformMenu(0x7fe27bcd9c30) Change-Id: I07fc8b13f05f365337bc171149bb848639b3fbd0 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Doc: fix names in Qt Labs Platform docsJ-P Nurmi2016-06-241-1/+1
| | | | | | | | OS X -> macOS, GTK -> GTK+ Change-Id: I501bc5bc6d8ecff647f701febb777c5207b593cd Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* SystemTrayIcon: use widgets as a fallbackJ-P Nurmi2016-06-221-1/+11
| | | | | | | | | | This makes system tray icons available on Windows and KDE. One more reason to keep the module experimental. In the long run, platforms should implement QPA system trays so that we can remove the undesired dependency. Change-Id: Ibc30f881525cd14091affc996104c65310c0a13e Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform system tray iconJ-P Nurmi2016-06-161-0/+430
Change-Id: I25190e1ae485e86cfbed524a418884d47f21e83d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>