qt5base-lts/examples/widgets
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
..
animation Examples: Remove unnecessary Q_INIT_RESOURCE calls 2023-06-08 16:15:02 +00:00
desktop Doc: Add example categories to Qt Widget examples 2023-09-05 07:47:49 +03:00
dialogs standarddialogs: Don't assume QMessageBox::exec() returns clicked role 2023-10-24 22:30:03 +02:00
doc Preparations to deprecate QItemDelegate 2023-10-05 21:08:45 +02:00
draganddrop Move fridge magnets example to manual test 2023-06-28 09:56:40 +02:00
gallery Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
gestures Doc: Add example categories to Qt Widget examples 2023-09-05 07:47:49 +03:00
graphicsview Move graphis view flow layout example to manual test 2023-06-28 09:56:40 +02:00
itemviews examples/: fix compiler (GCC) warnings -Wsign-compare 2023-08-18 23:35:52 +03:00
layouts Move dynamic layouts example to manual test 2023-06-28 00:09:58 +02:00
mainwindows Move main window example to manual test 2023-06-29 14:49:13 +02:00
painting Move font sampler example to manual test 2023-06-28 09:56:39 +02:00
qnx/foreignwindows Doc: Fix license of foreignwindows example 2023-06-30 18:46:54 +02:00
rhi Enable QWidget::grab() with QRhiWidget in the widget tree 2023-08-28 21:14:28 +02:00
richtext Move textedit example to manual test 2023-06-29 14:49:13 +02:00
tools Fix the project name 2023-07-31 12:38:40 +02:00
touch Doc: Add example categories to Qt Widget examples 2023-09-05 07:47:49 +03:00
tutorials Doc: Add example categories to Qt Widget examples 2023-09-05 07:47:49 +03:00
widgets Move tetrix example to manual test 2023-06-29 14:49:13 +02:00
CMakeLists.txt examples: Add new subdirectory to examples/widgets CMakeLists 2023-08-15 01:11:03 +02:00
widgets.pro Add QRhiWidget 2023-08-14 17:05:36 +02:00