diff options
author | Zhang Hao <zhanghao@uniontech.com> | 2021-03-29 14:55:14 +0800 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2021-04-15 01:43:46 +0000 |
commit | 78c4d0c48f58854127aa9248f597bf8568f440a1 (patch) | |
tree | ec97f8e2cb86681dc4e896fb582c20528d978037 /src/corelib/text/qchar.h | |
parent | 1d59fe368a0bd0c04264618e3e6f09d7ce289d33 (diff) |
Add new enum value VisualTabCharacter into QChar
With this enumeration value, users can get the width of
the current font TAB character more conveniently
In addition, added some documentation about where
users may use this enumeration.
Fixes: QTBUG-92205
Done-with: Volker Hilsheimer <volker.hilsheimer@qt.io>
Done-with: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Change-Id: I9794b7553e9299e351f9182de02866d07a1393fc
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/text/qchar.h')
-rw-r--r-- | src/corelib/text/qchar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/text/qchar.h b/src/corelib/text/qchar.h index 78d95e39fa..2a899abf6b 100644 --- a/src/corelib/text/qchar.h +++ b/src/corelib/text/qchar.h @@ -98,6 +98,7 @@ public: ByteOrderSwapped = 0xfffe, ParagraphSeparator = 0x2029, LineSeparator = 0x2028, + VisualTabCharacter = 0x2192, LastValidCodePoint = 0x10ffff }; |