mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-21 04:38:31 +00:00
fix(app): add missing components
This commit is contained in:
parent
7137e95d9d
commit
bfe5579b2e
2 changed files with 28 additions and 0 deletions
6
tests/ui/components/SearchBar/SearchBar.qml
Normal file
6
tests/ui/components/SearchBar/SearchBar.qml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
import QtQuick 2.5
|
||||||
|
|
||||||
|
Text {
|
||||||
|
anchors.centerIn: parent
|
||||||
|
text: qsTr('helloWorld')
|
||||||
|
}
|
||||||
22
tests/ui/views/main_window.qml
Normal file
22
tests/ui/views/main_window.qml
Normal file
|
|
@ -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 {}
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue