diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-02-08 08:26:59 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-02-09 00:23:33 +0100 |
commit | 55f2b448b0aec4e9a8fd3896b2a40f37e939ecb3 (patch) | |
tree | 68a01e22a34672898ee3010c7b1a563b4d869998 /doc | |
parent | 31518f1a4e3c4a7c77ae2e008e903a849ba75dd6 (diff) |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/images/elidedlabel-example.png | bin | 24876 -> 0 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/doc/src/images/elidedlabel-example.png b/doc/src/images/elidedlabel-example.png Binary files differdeleted file mode 100644 index 741d2896e7..0000000000 --- a/doc/src/images/elidedlabel-example.png +++ /dev/null |