aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/qquickplatformfontdialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Welcome to 2017J-P Nurmi2017-01-091-1/+1
| | | | | Change-Id: If68cff4efacc7dc5719c8b8e61937e85e9076870 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform dialogs: respect Qt::AA_DontUseNativeDialogsJ-P Nurmi2016-08-151-1/+2
| | | | | Change-Id: I107d51c9e3a874b92c627735dc88c7d296ec799f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: cleanup creationJ-P Nurmi2016-08-151-21/+1
| | | | | | | | Now that we know the type and whether it should be native, it can be all done in the base class to reduce a lot of code duplication. Change-Id: I7d7d7057fa499df75b72914d2b505bfa0288048d Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Add QQuickPlatformDialog::useNativeDialog()J-P Nurmi2016-08-151-1/+6
| | | | | Change-Id: Id1699a6045eb9066a80ebdbb3cb5d3a01e58a36f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: pass the dialog type to QQuickPlatformDialog ctorJ-P Nurmi2016-08-151-1/+2
| | | | | Change-Id: I42b5e403e6cb16e607d9ce0d0e9f624b150bec03 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: revise the names of the protected helper methodsJ-P Nurmi2016-08-151-3/+3
| | | | | Change-Id: I4b65c7623a34d016243e626146437d2fa20fd93b Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: apply the optionsJ-P Nurmi2016-08-141-1/+3
| | | | | Change-Id: I6bccfebcbb32dcafeea0814d88f7882857a62a85 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: respect (undocumented) DontUseNativeDialogJ-P Nurmi2016-08-141-1/+3
| | | | | Change-Id: I56ad5025fb873261ccd96e82e4c9fff0731ddf92 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: make properties independent of the platform instanceJ-P Nurmi2016-08-141-1/+2
| | | | | | | | This allows us to postpone to creation further, and even re-create the instance on the fly later, without losing information. Change-Id: I116d332d10d637bbc393ee31ec1bc8b0cd156835 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* FontDialog: replace fontSelected() with a declarative propertyJ-P Nurmi2016-08-141-13/+48
| | | | | | | This is consistent with the QML FontDialog from QtQuick Dialogs 1. Change-Id: I14a5a313be5ba9a9e0fb1645fe272cf9c2cdd389 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: create platform dialog instances lazily on demandJ-P Nurmi2016-08-141-13/+17
| | | | | Change-Id: Ie963cb5c082b49205f7b7244ace3b88254ec37c7 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: add missing logging to FontDialogJ-P Nurmi2016-08-141-0/+5
| | | | | | | See 8868f35 for details. Change-Id: Ief74515e3be385e5d248f5082063e3f8dde72c81 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: set the options on constructionJ-P Nurmi2016-06-271-2/+1
| | | | | | | | | | | | Platform dialogs hold a shared pointer to an options structure. Dialog implementations may access the options in various places (eg. QGtk3FileDialogHelper::selectFile()) and seem to rely that the options are not null at this point. Thus, pass the options pointer right away on construction instead of unnecessarily delaying to applyOptions(), to avoid potential crashes. Change-Id: I14b0801eb58a9834867dd302a6610e64adeea0cd Reviewed-by: Mitch Curtis <mitch.curtis@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>
* Platform: fix missing titles for ColorDialog & FontDialogJ-P Nurmi2016-06-241-0/+1
| | | | | Change-Id: I9bf88049d4c6c77cbd438398fd13a11c07efc7f3 Reviewed-by: Liang Qi <liang.qi@qt.io>
* ColorDialog & FontDialog: use widgets as a fallbackJ-P Nurmi2016-06-221-1/+13
| | | | | | | | | | | | 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>
* Platform: add FontDialogJ-P Nurmi2016-06-201-0/+160
Change-Id: Icda7f8ad0a4cdaace1a2c33fd42cfd071d547a15 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>