diff --git a/tests/ui/components/SearchBar/SearchBar.qml b/tests/ui/components/SearchBar/SearchBar.qml new file mode 100644 index 000000000..af34600c6 --- /dev/null +++ b/tests/ui/components/SearchBar/SearchBar.qml @@ -0,0 +1,6 @@ +import QtQuick 2.5 + +Text { + anchors.centerIn: parent + text: qsTr('helloWorld') +} diff --git a/tests/ui/views/main_window.qml b/tests/ui/views/main_window.qml new file mode 100644 index 000000000..05a625b67 --- /dev/null +++ b/tests/ui/views/main_window.qml @@ -0,0 +1,22 @@ +import QtQuick 2.5 +import QtQuick.Controls 2.0 +import QtQuick.Layouts 1.3 + +import "qrc:/ui/components/SearchBar" + +ApplicationWindow { + id: mainWindow + visible: true + + header: ToolBar { + RowLayout { + anchors.fill: parent + } + } + + footer: TabBar { + + } + + SearchBar {} +}