TG-PlatformPlus/qml/debug/gamma/SettingView.qml

47 lines
1.0 KiB
QML
Raw Normal View History

2026-03-02 14:29:58 +08:00
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import "./common"
// import "./Style"
Rectangle {
id: self
gradient: Gradient {
GradientStop { position: 0.0; color: "lightblue" }
GradientStop { position: 1.0; color: "white" }
}
TabBar {
id: bar
width: parent.width/3
anchors.top: parent.top
anchors.topMargin: 30
anchors.left: layout.left
currentIndex: 0
TabButton {
text: qsTr("测试信息")
font.pixelSize: 15
font.family: "微软雅黑"
}
TabButton {
text: qsTr("功能参数")
font.pixelSize: 15
font.family: "微软雅黑"
}
}
StackLayout {
id: layout
width: 1300
height: 700
anchors.top: bar.bottom
anchors.topMargin: 20
anchors.left: parent.left
anchors.leftMargin: 80
currentIndex: bar.currentIndex
SettingTestInfo {}
SettingSystem{}
}
}