summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2023-02-08 08:26:59 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-09 00:02:03 +0000
commit5daf2da55adb207766bb1a8d8fdfe83bd0ff13ac (patch)
tree5a587d70fd5bc03c58d10e7445a852c9ace700a8 /doc
parent913d6e1c538cf9c78397c31adaf8b703ae49dcf1 (diff)
downloadqtbase-5daf2da55adb207766bb1a8d8fdfe83bd0ff13ac.tar.gz
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 Change-Id: I6e97b2ea47b553c8d998ad185cfac006721ef7ee Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 55f2b448b0aec4e9a8fd3896b2a40f37e939ecb3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/images/elidedlabel-example.pngbin24876 -> 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
deleted file mode 100644
index 741d2896e7..0000000000
--- a/doc/src/images/elidedlabel-example.png
+++ /dev/null
Binary files differ