This commit is contained in:
+32
-12
@@ -1,21 +1,41 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import ProjectViews
|
||||
|
||||
ApplicationWindow {
|
||||
width: 400
|
||||
height: 400
|
||||
id: app
|
||||
width: 1280
|
||||
height: 720
|
||||
visible: true
|
||||
title: "LR-EnviroCommand"
|
||||
|
||||
Button {
|
||||
id: button
|
||||
text: "A Special Button"
|
||||
background: Rectangle {
|
||||
implicitWidth: 100
|
||||
implicitHeight: 40
|
||||
color: button.down ? "#d6d6d6" : "#f6f6f6"
|
||||
border.color: "#26282a"
|
||||
border.width: 1
|
||||
radius: 4
|
||||
RowLayout {
|
||||
anchors.fill: parent
|
||||
|
||||
Rectangle {
|
||||
width: 220
|
||||
Layout.fillHeight: true
|
||||
|
||||
Column {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 20
|
||||
spacing: 16
|
||||
|
||||
Button { text: "Dashboard" }
|
||||
Button { text: "Telemetry" }
|
||||
Button { text: "Logs" }
|
||||
Button { text: "Firmware" }
|
||||
Button { text: "Remote Commands" }
|
||||
Button { text: "Settings" }
|
||||
}
|
||||
}
|
||||
|
||||
StackView {
|
||||
id: stackView
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
initialItem: Dashboard { }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user