49 lines
945 B
QML
49 lines
945 B
QML
import QtQuick 2.15
|
|
import QtQuick.Controls
|
|
import QtQuick.Layouts
|
|
import ESP32_upper 1.0
|
|
|
|
Item {
|
|
id: root
|
|
|
|
RowLayout {
|
|
spacing: 0
|
|
|
|
Rectangle {
|
|
id: id_left_panel
|
|
width: 80
|
|
height: Window.height
|
|
color: "#00FF00"
|
|
|
|
LeftMenu {
|
|
anchors.fill: parent
|
|
}
|
|
}
|
|
|
|
Rectangle {
|
|
id: id_right_panel
|
|
width: Window.width - id_left_panel.width
|
|
height: Window.height
|
|
color: "#0000FF"
|
|
|
|
StackLayout{
|
|
id: id_layout_right_panel
|
|
currentIndex: 0
|
|
anchors.fill: parent
|
|
|
|
HomePage {
|
|
}
|
|
SerialPage {
|
|
}
|
|
CmdPage {
|
|
}
|
|
PlotPage {
|
|
}
|
|
OTAPage {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|