qt5base-lts/src/gui/text
Eskil Abrahamsen Blomfeldt 9342a8b843 Add QTextOption/QTextEdit/QPlainTextEdit::tabStopDistance property
In Qt, we have QTextOption::tabStop, QTextEdit::tabStopWidth and
QPlainTextEdit::tabStopWidth.

Neither are very good names, since the tab stop is neither a
numerical value as in the former, nor does it have any dimensions
that can be measured, as in the latter. Vertical text advances
may also be supported by Qt at some point in the future, at
which point the name would make even less sense.

At the same time, we expose the actual type of the tab stop
distance as floating point in the QTextEdit and QPlainTextEdit
API instead of always rounding it to an int.

To avoid duplicating either of these APIs in Qt Quick, we
introduce tabStopDistance as the common term instead and deprecate
the old names.

[ChangeLog][Text] Introduced tabStopDistance property in
QTextOption, QTextEdit and QPlainTextEdit as replacement for
the inconsistently named tabStop and tabStopWidth properties.
QTextOption::tabStop, QTextEdit::tabStopWidth and
QPlainTextEdit::tabStopWidth have subsequently been deprecated.

Change-Id: Ib7e01387910cddb58adaaaadcd56c0e69edc4bc2
Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-08-06 08:16:06 +00:00
..
qabstracttextdocumentlayout_p.h
qabstracttextdocumentlayout.cpp
qabstracttextdocumentlayout.h
qcssparser_p.h qcssparser: Undef TILDE to fix compilation on Hurd 2017-02-15 19:56:34 +00:00
qcssparser.cpp Use case-insensitive compare more 2017-03-29 03:54:57 +00:00
qcssscanner.cpp
qdistancefield_p.h
qdistancefield.cpp Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
qfont_p.h
qfont.cpp Add API to disable text shaping on fonts 2017-07-26 10:51:00 +00:00
qfont.h Add API to disable text shaping on fonts 2017-07-26 10:51:00 +00:00
qfontdatabase.cpp QFontDatabase: Output family in warning about missing Open Type support 2017-07-27 14:58:34 +00:00
qfontdatabase.h
qfontengine_p.h Add API to disable text shaping on fonts 2017-07-26 10:51:00 +00:00
qfontengine_qpf2_p.h
qfontengine_qpf2.cpp
qfontengine.cpp Add API to disable text shaping on fonts 2017-07-26 10:51:00 +00:00
qfontengineglyphcache_p.h
qfontengineglyphcache.cpp
qfontinfo.h
qfontmetrics.cpp Add API to disable text shaping on fonts 2017-07-26 10:51:00 +00:00
qfontmetrics.h
qfontsubset_agl.cpp
qfontsubset_p.h
qfontsubset.cpp Fix rounding errors in generation of '/W' and '/DW' entries 2017-02-17 08:14:19 +00:00
qfragmentmap_p.h
qfragmentmap.cpp
qglyphrun_p.h
qglyphrun.cpp
qglyphrun.h
qharfbuzzng_p.h Use harfbuzz feature to check for HarfBuzz 2016-11-24 08:38:39 +00:00
qharfbuzzng.cpp Update HB-to-Qt bridging code to deal with latest HB 2017-02-02 15:10:31 +00:00
qinputcontrol_p.h Introduce QInputControl::isCommonTextEditShortcut 2017-03-27 11:32:30 +00:00
qinputcontrol.cpp Introduce QInputControl::isCommonTextEditShortcut 2017-03-27 11:32:30 +00:00
qplatformfontdatabase.cpp Add debug operators for font database structs for easier debugging 2017-04-18 09:40:41 +00:00
qplatformfontdatabase.h macOS: Defer population of localized font family aliases until needed 2017-04-21 10:36:00 +00:00
qrawfont_p.h
qrawfont.cpp QRawFont: Add a qHash overload 2016-11-16 18:13:41 +00:00
qrawfont.h QRawFont: Add a qHash overload 2016-11-16 18:13:41 +00:00
qstatictext_p.h
qstatictext.cpp
qstatictext.h QStaticText: mark constructor as explicit 2017-04-05 07:58:08 +00:00
qsyntaxhighlighter.cpp Doc: updated QSyntaxHighlighter documentation and use QRegularExpression 2017-04-12 22:09:43 +00:00
qsyntaxhighlighter.h
qtextcursor_p.h
qtextcursor.cpp
qtextcursor.h
qtextdocument_p.cpp Add QTextOption/QTextEdit/QPlainTextEdit::tabStopDistance property 2017-08-06 08:16:06 +00:00
qtextdocument_p.h
qtextdocument.cpp Mark some more functions with Q_DECL_CONST_FUNCTION 2017-04-05 08:00:04 +00:00
qtextdocument.h
qtextdocumentfragment_p.h
qtextdocumentfragment.cpp QTextDocument: improve import of DIV tags 2017-04-10 09:44:01 +00:00
qtextdocumentfragment.h
qtextdocumentlayout_p.h
qtextdocumentlayout.cpp Fix warnings for -no-feature-cssparser 2017-03-29 20:06:03 +00:00
qtextdocumentwriter.cpp
qtextdocumentwriter.h
qtextengine_p.h QScriptItem: reduce boilerplate code 2017-03-29 04:28:48 +00:00
qtextengine.cpp Add QTextOption/QTextEdit/QPlainTextEdit::tabStopDistance property 2017-08-06 08:16:06 +00:00
qtextformat_p.h QTextFormatCollection: replace copy ctor and op= with clear() 2017-02-23 18:11:55 +00:00
qtextformat.cpp Fix uninitialized members 2017-06-20 15:17:22 +00:00
qtextformat.h
qtexthtmlparser_p.h Fix CSS line-height property multiplier value handling 2017-04-21 07:10:51 +00:00
qtexthtmlparser.cpp Fix CSS line-height property multiplier value handling 2017-04-21 07:10:51 +00:00
qtextimagehandler_p.h
qtextimagehandler.cpp
qtextlayout.cpp Merge remote-tracking branch 'origin/5.9' into dev 2017-05-29 10:54:41 +02:00
qtextlayout.h
qtextlist.cpp
qtextlist.h
qtextobject_p.h
qtextobject.cpp
qtextobject.h
qtextodfwriter_p.h
qtextodfwriter.cpp
qtextoption.cpp Add QTextOption/QTextEdit/QPlainTextEdit::tabStopDistance property 2017-08-06 08:16:06 +00:00
qtextoption.h Add QTextOption/QTextEdit/QPlainTextEdit::tabStopDistance property 2017-08-06 08:16:06 +00:00
qtexttable_p.h
qtexttable.cpp
qtexttable.h
qzip.cpp
qzipreader_p.h
qzipwriter_p.h
text.pri Accept ZWNJ, ZWJ and PUA characters in input widgets 2016-12-12 11:13:53 +00:00