diff options
author | Jenny Lofthus <jenny.lofthus@qt.io> | 2022-05-16 15:41:25 +0200 |
---|---|---|
committer | Jenny Lofthus <jenny.lofthus@qt.io> | 2022-05-23 12:50:03 +0200 |
commit | a673a4dd67824da28349c946c3b04893af57d396 (patch) | |
tree | e6d1d0b7622e6370fdcd3312123a1ad5ace38497 | |
parent | 7a507143dba0cf0f39ba4e75653c23805b9c8056 (diff) |
Controls: add baseline test for ToolTip
Change-Id: Iab21850b4f367960f708fd4e41f3356320cc7590
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Mathias Brevik <mathias.brevik@qt.io>
-rw-r--r-- | tests/baseline/controls/data/tooltip/tooltip.qml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/baseline/controls/data/tooltip/tooltip.qml b/tests/baseline/controls/data/tooltip/tooltip.qml new file mode 100644 index 0000000000..e9cc7ba00d --- /dev/null +++ b/tests/baseline/controls/data/tooltip/tooltip.qml @@ -0,0 +1,20 @@ +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts + +ColumnLayout { + width: 200 + height: 100 + + Button { + id: button + text: qsTr("Tooltip") + ToolTip { + parent: button + visible: true + text: qsTr("Click the button") + } + } +} + + |