qt5base-lts/tests/auto/gui
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
..
image Fix deprecation warnings 2017-07-11 18:59:07 +00:00
itemmodels Fix QStandardItem::setChild crash when passing a null pointer 2017-07-27 19:41:06 +00:00
kernel Ignore tests that fail on OpenNebula 2017-08-03 09:30:06 +00:00
math3d Use qRadiansToDegrees() and qDegreesToRadians() more widely 2017-07-05 10:15:34 +00:00
painting Merge remote-tracking branch 'origin/5.9' into dev 2017-07-13 16:36:10 -07:00
qopengl Merge remote-tracking branch 'origin/5.8' into 5.9 2017-04-12 20:08:56 +02:00
qopenglconfig Fix tst_QOpenGlConfig for platforms with builtin test data 2017-06-19 07:05:59 +00:00
qvulkan Introduce QVulkanWindow 2017-03-22 15:40:57 +00:00
text Add QTextOption/QTextEdit/QPlainTextEdit::tabStopDistance property 2017-08-06 08:16:06 +00:00
util GLSL 1.00 ES must be selected using "#version 100" 2017-08-04 11:19:30 +00:00
gui.pro Basic Vulkan enablers 2017-03-17 16:12:03 +00:00