qt5base-lts/examples/widgets/dialogs
Tor Arne Vestbø 1fd1ffd03d standarddialogs: Don't assume QMessageBox::exec() returns clicked role
When adding custom buttons to a QMessageBox the return value of exec()
as well as result() is not a StandardButton value, but instead an opaque
value, and the documentation says to use clickedButton() to determine
which button was clicked.

Pick-to: 6.6 6.5
Change-Id: Ib47a218989b4dcb5d51f648bc55bc02399bae602
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2023-10-24 22:30:03 +02:00
..
licensewizard Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
standarddialogs standarddialogs: Don't assume QMessageBox::exec() returns clicked role 2023-10-24 22:30:03 +02:00
tabdialog Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
trivialwizard Remove the "classwizard" example 2023-05-16 18:33:18 +02:00
CMakeLists.txt Remove the "classwizard" example 2023-05-16 18:33:18 +02:00
dialogs.pro Remove the "classwizard" example 2023-05-16 18:33:18 +02:00
README Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00

Qt includes standard dialogs for many common operations, such as file
selection, printing, and color selection.

Custom dialogs can also be created for specialized modal or modeless
interactions with users.


Documentation for these examples can be found via the Examples
link in the main Qt documentation.