diff options
| author | J-P Nurmi <jpnurmi@digia.com> | 2014-06-26 16:15:55 +0200 |
|---|---|---|
| committer | J-P Nurmi <jpnurmi@digia.com> | 2014-07-01 16:12:44 +0200 |
| commit | e9ec17508e09d633c563d53cd43c2b7ef0fab82d (patch) | |
| tree | 5d4bb45b264c8bfa1d3c9c3c2268330bc7224814 /src/controls/TextField.qml | |
| parent | 3e4d0ed66b2f8f3cf7b9af9f14af67c045b94682 (diff) | |
TextField/AreaStyle: add styleData.activated() signal for handles
This makes it possible for the Android style to implement "transient"
handles that fade out when idle, and show up when the editor is clicked
Change-Id: I53da6a4d5345c98b8b7286b30006982eaf17df45
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/TextField.qml')
| -rw-r--r-- | src/controls/TextField.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/controls/TextField.qml b/src/controls/TextField.qml index f25b8195d..dfadd78dd 100644 --- a/src/controls/TextField.qml +++ b/src/controls/TextField.qml @@ -672,6 +672,8 @@ Control { if (!readOnly) Qt.inputMethod.show() } + cursorHandle.activate() + selectionHandle.activate() } function moveHandles(cursor, selection) { |
