qt5base-lts/examples
Volker Hilsheimer 55f2b448b0 Turn elidedlabel example into a code snippet
The example is 90% boiler plate for subclassing QFrame and providing
a bit of GUI to change the size of the label using sliders. The
interesting bit is a block of 25 lines of code, so turn those into a
snippet and add that to the QTextLayout overview documentation.

Fixes: QTBUG-111011
Pick-to: 6.5
Change-Id: I6e97b2ea47b553c8d998ad185cfac006721ef7ee
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2023-02-09 00:23:33 +01:00
..
aggregate install a sane top-level examples.pro file 2012-12-11 13:37:57 +01:00
corelib savegame ex.: fix include order [2/2]: game.h 2023-02-08 18:24:17 +01:00
dbus Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
embedded examples: port embedded examples to new connection style 2022-12-21 21:52:17 +01:00
gui Remove "Analog Clock Window Example" 2023-02-07 17:34:42 +00:00
network HTTP example: Reflow QMessageBox usage in if-statement 2023-02-02 18:03:36 +00:00
opengl Examples: Add missing include guards 2023-02-01 18:12:36 +00:00
qmake examples: port qmake examples to new connection style 2022-12-21 22:52:17 +02:00
qpa Examples: Add missing include guards 2023-02-01 18:12:36 +00:00
qtconcurrent Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
qtestlib Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
sql Examples: Use PRIVATE CMake linkage 2022-11-30 14:48:50 +01:00
vulkan Examples: Add missing include guards 2023-02-01 18:12:36 +00:00
widgets Turn elidedlabel example into a code snippet 2023-02-09 00:23:33 +01:00
xml examples: port xml examples to new connection style 2022-12-21 22:33:02 +01:00
CMakeLists.txt Examples: Use Qt6:: to qualify Qt CMake packages 2022-11-17 19:59:11 +01:00
examples.pro Turn off the dbus examples for qmake-generated VS projects 2021-02-09 15:45:06 +01:00
README Remove more references to demos. 2011-07-08 15:36:26 +02:00

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.