Implemented basic functionality

This commit is contained in:
2023-02-15 01:12:19 +01:00
parent e492cf82b9
commit 64cff3ce78
21 changed files with 1441 additions and 0 deletions

47
SettingsPage.qml Normal file
View File

@@ -0,0 +1,47 @@
import QtQuick
import QtQuick.Controls.Material
import QtQuick.Layouts
Item {
Label {
text: qsTr("Settings")
}
RowLayout {
anchors.centerIn: parent
Button {
id: button0
text: qsTr("Device\nTypes")
Layout.preferredWidth: 100
Layout.preferredHeight: 100
onClicked: stackview.push(deviceTypesSettingsPage)
Component {
id: deviceTypesSettingsPage
DeviceTypesSettingsPage {
}
}
}
Button {
id: button1
text: qsTr("Devices")
Layout.preferredWidth: 100
Layout.preferredHeight: 100
onClicked: stackview.push(devicesSettingsPage)
Component {
id: devicesSettingsPage
DevicesSettingsPage {
}
}
}
}
}