summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2010-08-23 12:19:53 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2010-08-25 11:14:13 (GMT)
commit3061e45108afc13848e9020790b2d60f07e16aa9 (patch)
treec3ff080fc6695b48132c6bdfe222b515b8768761
parentd28f3ffadec209511d8d992e3b35fae155b3d1c5 (diff)
downloadQt-3061e45108afc13848e9020790b2d60f07e16aa9.zip
Qt-3061e45108afc13848e9020790b2d60f07e16aa9.tar.gz
Qt-3061e45108afc13848e9020790b2d60f07e16aa9.tar.bz2
Note RTL behavior changes in docs and changelog
Task-number: QT-3292 Reviewed-by: Lars Knoll
-rw-r--r--dist/changes-4.7.012
-rw-r--r--src/gui/kernel/qwidget.cpp2
2 files changed, 14 insertions, 0 deletions
diff --git a/dist/changes-4.7.0 b/dist/changes-4.7.0
index 790aabc..01ebf63 100644
--- a/dist/changes-4.7.0
+++ b/dist/changes-4.7.0
@@ -478,6 +478,18 @@ QtCore:
line breaking, reporting the index of the boundary at which the line
break should occur rather than the index of the character.
+QtGui:
+ - QWidget::setLayoutDirection no longer affects the text layout
+ direction (Qt::LeftToRight or Qt::RightToLeft) of QTextEdit, QLineEdit
+ and widgets based on them. The default text layout direction
+ (Qt::LayoutDirectionAuto) is now detected from keyboard layout and
+ language of the text (conforms to Unicode standards). To
+ programmatically force the text direction of a QTextEdit, you can
+ change the defaultTextOption of the QTextDocument associated with that
+ widget with a new QTextOption of different textDirection property. For
+ QLineEdit, the only way so far is sending a Qt::Key_Direction_L/R
+ keyboard event to that widget.
+
QtNetwork:
- Qt does no longer provide its own CA bundle, but uses system APIs for
retrieving the default system certificates.
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp
index 3d2bfe2..ea3dcab 100644
--- a/src/gui/kernel/qwidget.cpp
+++ b/src/gui/kernel/qwidget.cpp
@@ -4864,6 +4864,8 @@ void QWidgetPrivate::resolveLayoutDirection()
has been called for the parent do not inherit the parent's layout
direction.
+ This method no longer affects text layout direction since Qt 4.7.
+
\sa QApplication::layoutDirection
*/
void QWidget::setLayoutDirection(Qt::LayoutDirection direction)