summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/winrt/qwinrtplatformmessagedialoghelper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate StandardButton, ButtonRole and related static functionsShawn Rutledge2014-02-151-5/+5
| | | | | | | | | | Moving them into QPlatformDialogHelper for the convenience of both widgets and QtQuick.Dialogs. The main reason is to ensure that QtQuick.Dialogs does not need to depend on the widgets module, in order to re-implement the button box concept in a generic dialog. Change-Id: If400d215338d7cb6dade39d9de60e50b5e7515ef Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* Implement native message box for WinRTMaurice Kalinowski2014-02-121-0/+203
Added a basic theme class, which creates accessors for the QPlatformMessageDialogHelper. This handles creation of the native dialog, but also spawning an event loop around it. There are some limitations shared with the Android implementation. First you cannot create custom labelled buttons and also selecting the default button is not possible. This will be added at a later point. Note that Windows Phone is not supported. Change-Id: I2dec83dcded7919835a6dcdf8dc2a56282024a7e Reviewed-by: Andrew Knight <andrew.knight@digia.com>