From 47564e329a71fed8b73be403bbdc30fbf684f7a4 Mon Sep 17 00:00:00 2001 From: Szabolcs David Date: Mon, 30 Jan 2023 18:21:48 +0100 Subject: Support LTR and RTL text directions in input fields Implement WebActions to temporarily change text direction directly from context menu - like Chrome does. They only work for the selected input field. Omit the "default" option since it is always grayed out in Chrome. Task-number: QTWB-67 Change-Id: I4bacbd82c6bd7261ac465eec9da3776613f98074 Reviewed-by: Allan Sandfeld Jensen --- src/webenginequick/doc/src/webengineview_lgpl.qdoc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/webenginequick/doc/src/webengineview_lgpl.qdoc') diff --git a/src/webenginequick/doc/src/webengineview_lgpl.qdoc b/src/webenginequick/doc/src/webengineview_lgpl.qdoc index 8848b03e8..b501b3001 100644 --- a/src/webenginequick/doc/src/webengineview_lgpl.qdoc +++ b/src/webenginequick/doc/src/webengineview_lgpl.qdoc @@ -831,6 +831,10 @@ Inserts an unordered list at the current cursor position, deleting the current selection. Requires \c contenteditable="true". (Added in Qt 5.10) + \value WebEngineView.ChangeTextDirectionLTR + Changes text direction to left-to-right in the focused input element. (Added in Qt 6.6) + \value WebEngineView.ChangeTextDirectionRTL + Changes text direction to right-to-left in the focused input element. (Added in Qt 6.6) \omitvalue WebActionCount */ -- cgit v1.2.3