aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/inputpanel/data/inputpanel
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@theqtcompany.com>2015-09-28 16:55:24 +0200
committerJan Arve Sæther <jan-arve.saether@theqtcompany.com>2016-05-20 11:22:28 +0000
commitabbe16d1cd1aab87b66e3205a6f237e09f532a98 (patch)
tree2ac3eeb75d1de96e7d693b44bcfb250e341acb77 /tests/auto/inputpanel/data/inputpanel
parent17548a0b1965074fff5b3036f77ea8261a132c92 (diff)
Add support for selection handles.
[ChangeLog] Added support for selection handles for VKB. Currently, its only supported for the integrated VKB. Support for the dedicated VKB will be a separate commit Change-Id: I1f700fbc641bc68949b4cc81a8fa3aa275f34efa Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/inputpanel/data/inputpanel')
-rw-r--r--tests/auto/inputpanel/data/inputpanel/inputpanel.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/inputpanel/data/inputpanel/inputpanel.qml b/tests/auto/inputpanel/data/inputpanel/inputpanel.qml
index 98902ec8..5a7dfc11 100644
--- a/tests/auto/inputpanel/data/inputpanel/inputpanel.qml
+++ b/tests/auto/inputpanel/data/inputpanel/inputpanel.qml
@@ -67,6 +67,9 @@ InputPanel {
naviationHighlight.widthAnimation.running ||
naviationHighlight.heightAnimation.running
readonly property var wordCandidateView: Utils.findChildByProperty(keyboard, "objectName", "wordCandidateView", null)
+ readonly property var selectionControl: Utils.findChild(inputPanel, null, function(obj, param) { return obj.hasOwnProperty("handleIsMoving")})
+ readonly property var anchorHandle: selectionControl.children[0]
+ readonly property var cursorHandle: selectionControl.children[1]
readonly property bool wordCandidateListVisibleHint: InputContext.inputEngine.wordCandidateListVisibleHint
readonly property bool keyboardLayoutsAvailable: keyboard.availableLocaleIndices.length > 0 && keyboard.availableLocaleIndices.indexOf(-1) === -1
property alias keyboardLayoutsAvailableSpy: keyboardLayoutsAvailableSpy