diff options
Diffstat (limited to 'tests/auto/inputpanel/data/tst_inputpanel.qml')
-rw-r--r-- | tests/auto/inputpanel/data/tst_inputpanel.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/inputpanel/data/tst_inputpanel.qml b/tests/auto/inputpanel/data/tst_inputpanel.qml index ea3394af..d46f29ce 100644 --- a/tests/auto/inputpanel/data/tst_inputpanel.qml +++ b/tests/auto/inputpanel/data/tst_inputpanel.qml @@ -104,6 +104,7 @@ Rectangle { textInput.text = "" } textInput.inputMethodHints = data !== undefined && data.hasOwnProperty("initInputMethodHints") ? data.initInputMethodHints : Qt.ImhNone + textInput.selectByMouse = false handwritingInputPanel.available = false inputPanel.setHandwritingMode(false) textInput.forceActiveFocus() @@ -2080,6 +2081,18 @@ Rectangle { compare(inputPanel.shadowInput.text, "") } + function test_fullScreenModeSelectByMouse() { + prepareTest() + + inputPanel.setFullScreenMode(true) + + // The default value for TextInput/TextEdit is false. + compare(inputPanel.shadowInput.selectByMouse, false) + + textInput.selectByMouse = true + compare(inputPanel.shadowInput.selectByMouse, true) + } + function test_userDictionary_data() { return [ { inputSequence: ['a','s','d','f'], initShift: false }, |