FluentUI/Gallery/res/qml/screen/SimTransportScreen.qml
yxdy 8d68f26b15
Some checks failed
Gallery App Build / Windows (push) Has been cancelled
Gallery App Build / macOS (push) Has been cancelled
Gallery App Build / Ubuntu (push) Has been cancelled
feat: 添加功能
2025-02-15 18:06:24 +08:00

105 lines
2.1 KiB
QML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import FluentUI.Controls
import FluentUI.impl
import Gallery
ColumnLayout {
anchors.left: parent.left
anchors.leftMargin: 50
anchors.top: parent.top
anchors.topMargin: 20
spacing: 20
RowLayout{
Label{
text: "收货方:"
Layout.preferredWidth: 70
}
TextField{
placeholderText: "TextField"
Layout.preferredWidth: 250
}
}
RowLayout{
Label{
text: "供货方:"
Layout.preferredWidth: 70
}
RadioButton {
checked: true
text: "所有煤矿"
}
RadioButton {
text: "框选范围"
}
}
RowLayout{
Label{
text: "车辆类型:"
Layout.preferredWidth: 70
}
CheckBox {
checked: true
text: "电车"
}
CheckBox {
text: "氢车"
}
CheckBox {
text: "燃油车"
}
}
RowLayout{
Label{
text: "开始时间:"
Layout.preferredWidth: 70
}
DatePicker {
}
}
RowLayout{
Label{
text: "结束时间:"
Layout.preferredWidth: 70
}
DatePicker {
}
}
RowLayout{
Label{
text: ""
Layout.preferredWidth: 70
}
Button{
text: "开始计算"
onClicked: {
Global.sendMessage('start-sim')
lbl_zongjie.visible = true
}
}
Button{
text: "导出报告"
}
}
Label{
id: lbl_zongjie
visible: false
Layout.fillWidth: true
text: "计算总结成本xxx收益xxx投建站点2座后期预估收益100万/年"
wrapMode: Label.WordWrap
}
Item{
Layout.fillHeight: true
}
}