diff options
Diffstat (limited to 'tests/auto/quickcontrols2/qquicktextarea/data')
4 files changed, 54 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_default.qml b/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_default.qml new file mode 100644 index 0000000000..cb51b80545 --- /dev/null +++ b/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_default.qml @@ -0,0 +1,6 @@ +import QtQuick.Controls + +TextArea { + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" +} + diff --git a/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_old_default.qml b/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_old_default.qml new file mode 100644 index 0000000000..1401be36c1 --- /dev/null +++ b/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_old_default.qml @@ -0,0 +1,6 @@ +import QtQuick +import QtQuick.Controls 6.3 + +TextArea { + text: "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" +} diff --git a/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_old_overridden.qml b/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_old_overridden.qml new file mode 100644 index 0000000000..c0e6fb60a8 --- /dev/null +++ b/tests/auto/quickcontrols2/qquicktextarea/data/mouseselection_old_overridden.qml @@ -0,0 +1,7 @@ +import QtQuick +import QtQuick.Controls 6.3 + +TextArea { + selectByMouse: true + text: "0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ" +} diff --git a/tests/auto/quickcontrols2/qquicktextarea/data/twoInAColumn.qml b/tests/auto/quickcontrols2/qquicktextarea/data/twoInAColumn.qml new file mode 100644 index 0000000000..944f5598ac --- /dev/null +++ b/tests/auto/quickcontrols2/qquicktextarea/data/twoInAColumn.qml @@ -0,0 +1,35 @@ +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts + +ColumnLayout { + height: 200 + width: 400 + spacing: -6 + Rectangle { + border.color: top.activeFocus ? "steelblue" : "lightgrey" + Layout.fillHeight: true + Layout.fillWidth: true + Layout.margins: 6 + TextArea { + id: top + objectName: "top" + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + anchors.fill: parent + verticalAlignment: TextArea.AlignTop + } + } + Rectangle { + border.color: bottom.activeFocus ? "steelblue" : "lightgrey" + Layout.fillHeight: true + Layout.fillWidth: true + Layout.margins: 6 + TextArea { + id: bottom + objectName: "bottom" + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + anchors.fill: parent + verticalAlignment: TextArea.AlignTop + } + } +} |