完成主要交互、高性能组件、国际化和A型传感器数据包接收
This commit is contained in:
@@ -1,18 +1,56 @@
|
||||
import QtQuick
|
||||
import QtQuick.Window
|
||||
import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import "./"
|
||||
import TactileIPC 1.0
|
||||
|
||||
Rectangle {
|
||||
// width: Constants.width
|
||||
// height: Constants.height
|
||||
width: 360
|
||||
// minimumWidth: 800
|
||||
// minimumHeight: 600
|
||||
Item {
|
||||
id: root
|
||||
width: 1280
|
||||
height: 720
|
||||
|
||||
visible: true
|
||||
Material.theme: Backend.lightMode ? Material.Light : Material.Dark
|
||||
Material.accent: Material.Green
|
||||
Material.primary: Material.Green
|
||||
|
||||
ControlPanel {
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
spacing: 0
|
||||
|
||||
NavBar {
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
spacing: 0
|
||||
|
||||
LeftPanel {
|
||||
Layout.preferredWidth: 500
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
radius: 10
|
||||
color: Qt.rgba(0, 0, 0, 0.04)
|
||||
border.color: Qt.rgba(0, 0, 0, 0.08)
|
||||
|
||||
Column {
|
||||
anchors.centerIn: parent
|
||||
spacing: 8
|
||||
Label { text: "OpenGL View"; font.pixelSize: 16 }
|
||||
Label { text: "(QWidget GLWidget attached in C++)"; font.pixelSize: 12 }
|
||||
}
|
||||
}
|
||||
|
||||
RightPanel {
|
||||
Layout.preferredWidth: 320
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user