aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Build fix for -no-feature-systemtrayiconPaul Olav Tvete2017-03-102-4/+9
| | | | | Change-Id: If991e2311f37c1977cdf2a913b3f022e5f999f5f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Build fix for -no-feature-shortcutPaul Olav Tvete2017-03-082-0/+4
| | | | | Change-Id: I89c037629037a73fd481d29b28bd15b1ba57af09 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Build fix for -no-feature-menuPaul Olav Tvete2017-03-081-0/+2
| | | | | Change-Id: I5e8afbf0aa1704a13d359e7ddf867cd791b3f0db Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Build fix for -no-feature-texteditPaul Olav Tvete2017-03-081-0/+2
| | | | | Change-Id: I606e0e68c16faceaddbddacb37eec7d557e184ce Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform Menus: support sub menus in the Qt Widgets fallback menusJ-P Nurmi2017-03-084-13/+26
| | | | | | | | | Implement all the missing things and fix the type of the cast in QWidgetPlatformMenuItem::setMenu() to make sub menus work with the widgets fallbacks. Change-Id: I19bb010a5c639a77b76d1d92a47ad03576c06d2f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: respect the configurable features in Qt Widgetsv5.9.0-alpha1J-P Nurmi2017-02-102-19/+88
| | | | | | Change-Id: I4a0696e4f897a378e3944c7948ba00e5f2038f5d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Welcome to 2017J-P Nurmi2017-01-0917-17/+17
| | | | | Change-Id: If68cff4efacc7dc5719c8b8e61937e85e9076870 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: widget-based fallbacks no longer need to check availabilityJ-P Nurmi2016-08-166-143/+80
| | | | | | | | | | | It is done in qwidgetplatform_p.h createWidget() outside QT_WIDGETS_LIB guards so you get the important warnings even in -no-widgets builds. Now that the widget platform instances are created only when really available, they can unconditionally instantiate the respective widget, which simplifies the code quite a bit. Change-Id: I7430f8e803050e43edb3af3a139b0508445f6a37 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: offload widget fallback creation to qwidgetplatform_p.hJ-P Nurmi2016-08-151-3/+56
| | | | | Change-Id: If51b359fa44a539c236e1a070e69451c75e190f7 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: set DontUseNativeDialog on the QtWidgets-based fallbacksJ-P Nurmi2016-08-143-3/+3
| | | | | | | | Make sure the widget-based fallback implementation will never call back to the platform plugin. Change-Id: I860e61d23a34edcd0a8f85aabbd8d9c86ceac9ad Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* FontDialog: replace fontSelected() with a declarative propertyJ-P Nurmi2016-08-141-1/+0
| | | | | | | This is consistent with the QML FontDialog from QtQuick Dialogs 1. Change-Id: I14a5a313be5ba9a9e0fb1645fe272cf9c2cdd389 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* ColorDialog: replace colorSelected() with a declarative propertyJ-P Nurmi2016-08-141-1/+0
| | | | | | | This is consistent with the QML ColorDialog from QtQuick Dialogs 1. Change-Id: I4068a98156494eb36b2d9ecf4c1af90ad173bb97 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: fix inconsistent missing override warningsJ-P Nurmi2016-08-052-4/+4
| | | | | Change-Id: Ib3111bf9378d7910b99658a1747f6407ff69a943 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: add FileDialog and FolderDialogJ-P Nurmi2016-06-273-0/+238
| | | | | Change-Id: I4328c273e48139d6ddd5a3d3c8492d06f48a5c24 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: add MessageDialogJ-P Nurmi2016-06-223-0/+171
| | | | | Change-Id: I89f67fa4f620dc81dd9e7fe848f37ea5c12d5db7 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* ColorDialog & FontDialog: use widgets as a fallbackJ-P Nurmi2016-06-227-0/+483
| | | | | | | | | | | | This makes these dialogs available on Windows and KDE. One more reason to keep the module experimental. In the long run, platforms should implement QPA dialogs so that we can remove the undesired dependency. Also simple instance creation tests are included to make sure it won't crash with non-QApplication apps. Change-Id: Ib4dabe7b656a1aa1f114052a3f57c9b1232ff27f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* SystemTrayIcon: use widgets as a fallbackJ-P Nurmi2016-06-223-2/+212
| | | | | | | | | | 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>
* Menu & MenuItem: use widgets as a fallbackJ-P Nurmi2016-06-226-0/+600
This makes context menus available on Windows and KDE. One more reason to keep the module experimental. In the long run, platforms should implement QPA menus so that we can remove the undesired dependency. Change-Id: Ifd2d1e92512a05a95d3e7e7e7c00d712e06ce0cb Reviewed-by: J-P Nurmi <jpnurmi@qt.io>