9342a8b843
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> |
||
---|---|---|
.. | ||
qabstracttextdocumentlayout_p.h | ||
qabstracttextdocumentlayout.cpp | ||
qabstracttextdocumentlayout.h | ||
qcssparser_p.h | ||
qcssparser.cpp | ||
qcssscanner.cpp | ||
qdistancefield_p.h | ||
qdistancefield.cpp | ||
qfont_p.h | ||
qfont.cpp | ||
qfont.h | ||
qfontdatabase.cpp | ||
qfontdatabase.h | ||
qfontengine_p.h | ||
qfontengine_qpf2_p.h | ||
qfontengine_qpf2.cpp | ||
qfontengine.cpp | ||
qfontengineglyphcache_p.h | ||
qfontengineglyphcache.cpp | ||
qfontinfo.h | ||
qfontmetrics.cpp | ||
qfontmetrics.h | ||
qfontsubset_agl.cpp | ||
qfontsubset_p.h | ||
qfontsubset.cpp | ||
qfragmentmap_p.h | ||
qfragmentmap.cpp | ||
qglyphrun_p.h | ||
qglyphrun.cpp | ||
qglyphrun.h | ||
qharfbuzzng_p.h | ||
qharfbuzzng.cpp | ||
qinputcontrol_p.h | ||
qinputcontrol.cpp | ||
qplatformfontdatabase.cpp | ||
qplatformfontdatabase.h | ||
qrawfont_p.h | ||
qrawfont.cpp | ||
qrawfont.h | ||
qstatictext_p.h | ||
qstatictext.cpp | ||
qstatictext.h | ||
qsyntaxhighlighter.cpp | ||
qsyntaxhighlighter.h | ||
qtextcursor_p.h | ||
qtextcursor.cpp | ||
qtextcursor.h | ||
qtextdocument_p.cpp | ||
qtextdocument_p.h | ||
qtextdocument.cpp | ||
qtextdocument.h | ||
qtextdocumentfragment_p.h | ||
qtextdocumentfragment.cpp | ||
qtextdocumentfragment.h | ||
qtextdocumentlayout_p.h | ||
qtextdocumentlayout.cpp | ||
qtextdocumentwriter.cpp | ||
qtextdocumentwriter.h | ||
qtextengine_p.h | ||
qtextengine.cpp | ||
qtextformat_p.h | ||
qtextformat.cpp | ||
qtextformat.h | ||
qtexthtmlparser_p.h | ||
qtexthtmlparser.cpp | ||
qtextimagehandler_p.h | ||
qtextimagehandler.cpp | ||
qtextlayout.cpp | ||
qtextlayout.h | ||
qtextlist.cpp | ||
qtextlist.h | ||
qtextobject_p.h | ||
qtextobject.cpp | ||
qtextobject.h | ||
qtextodfwriter_p.h | ||
qtextodfwriter.cpp | ||
qtextoption.cpp | ||
qtextoption.h | ||
qtexttable_p.h | ||
qtexttable.cpp | ||
qtexttable.h | ||
qzip.cpp | ||
qzipreader_p.h | ||
qzipwriter_p.h | ||
text.pri |