qt5base-lts/examples
Zhang Hao 60f21e96ae Enable QStyle::State_Horizontal when initializing QStyleOptionProgressBar
Since by default QStyleOptionProgressBar is initialized with initialize
QStyle::State_Horizontal, the example shouldn't overwrite the state, and
instead OR other states into it. Otherwise, the progressbar will be laid
out vertically.

Pick-to: 6.2 6.3
Fixes: QTBUG-100067
Change-Id: Ibebda48a297af4a621719673033f8199b8bc7984
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2022-01-21 00:57:15 +00:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib bindablesubscription: Remove duplicated file entry 2021-12-19 14:38:27 +01:00
dbus Examples: Clean up WIN32_EXECUTABLE, MACOSX_BUNDLE properties 2021-12-17 10:38:49 +01:00
embedded Examples: Fix whitespace issues in CMakeLists.txt 2021-12-13 14:16:26 +00:00
gui Examples: Remove unneeded target_include_directories 2021-12-17 10:38:50 +01:00
network Enable QStyle::State_Horizontal when initializing QStyleOptionProgressBar 2022-01-21 00:57:15 +00:00
opengl Examples: Remove unneeded target_include_directories 2021-12-17 10:38:50 +01:00
qmake Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
qpa Examples: Fix whitespace issues in CMakeLists.txt 2021-12-13 14:16:26 +00:00
qtconcurrent Examples: Clean up WIN32_EXECUTABLE, MACOSX_BUNDLE properties 2021-12-17 10:38:49 +01:00
qtestlib Examples: Fix whitespace issues in CMakeLists.txt 2021-12-13 14:16:26 +00:00
sql Examples: Remove unneeded target_include_directories 2021-12-17 10:38:50 +01:00
vulkan Examples: Fix whitespace issues in CMakeLists.txt 2021-12-13 14:16:26 +00:00
widgets CMake: Fix echoplugin example to be built as an external project 2021-12-15 15:43:16 +01:00
xml Examples: Fix whitespace issues in CMakeLists.txt 2021-12-13 14:16:26 +00:00
CMakeLists.txt Build examples in isolated sub-builds using ExternalProject 2021-05-26 13:33:29 +02:00
examples.pro Turn off the dbus examples for qmake-generated VS projects 2021-02-09 15:45:06 +01:00
README

Qt is supplied with a number of example applications that have been
written to provide developers with examples of the Qt API in use,
highlight good programming practice, and showcase features found in each of
Qt's core technologies.


Documentation for examples can be found in the Examples section
of the Qt documentation.