diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2018-09-25 13:54:17 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2018-09-29 09:32:43 +0000 |
commit | 076eef86db02331bb4874a8f79306ec1aeb26ffd (patch) | |
tree | 71b224f97fc49fbb417b37e17f4ea9db14c61e52 /src/plugins/platforms/ios/qiosmessagedialog.h | |
parent | 9a8175a13124e156948914854d2fda7436065b08 (diff) |
iOS: add support for custom buttons in native MessageDialog helper
[ChangeLog][QtWidgets][QMessageBox] On Android and iOS it's now possible
to show a QMessageBox with custom buttons as a native dialog.
Task-number: QTBUG-35545
Change-Id: Id3be69e70468f767a43ea5f2ba64f9bac1898423
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/plugins/platforms/ios/qiosmessagedialog.h')
-rw-r--r-- | src/plugins/platforms/ios/qiosmessagedialog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosmessagedialog.h b/src/plugins/platforms/ios/qiosmessagedialog.h index 92a4db8319..913fe0c2e9 100644 --- a/src/plugins/platforms/ios/qiosmessagedialog.h +++ b/src/plugins/platforms/ios/qiosmessagedialog.h @@ -63,6 +63,7 @@ private: UIAlertController *m_alertController; QString messageTextPlain(); UIAlertAction *createAction(StandardButton button); + UIAlertAction *createAction(const QMessageDialogOptions::CustomButton &customButton); }; QT_END_NAMESPACE |