Added output pipe for Windows cmd. Fixed some colors

This commit is contained in:
Yury Shuvakin
2024-02-15 12:52:48 +09:00
parent 661a1b6ba2
commit 6942d286f3
5 changed files with 21 additions and 5 deletions

View File

@@ -46,6 +46,7 @@ Controls.GroupBox {
visible: control.subTitle.length > 0
font.pixelSize: 23
font.weight: Font.Normal
backgroundColor: Palette.readyBackgroundColor
backgroundRadius: 16
readOnly: true
}

View File

@@ -10,6 +10,7 @@ QtObject {
property color backgroundColor: "#EEE"
property color controlBackgroundColor: "#FCFCFC"
property color indicatorBackgroundColor: "#F0F4FF"
property color readyBackgroundColor: "#C4FFCA"
property color switchBackgroundColor: "#F0F4FF"
property color switchActiveBackgroundColor: "#3069FE"

View File

@@ -55,7 +55,7 @@ ApplicationWindow {
CustomControls.IndicatorTextField {
visible: DataController.firstStatus === "0x07" && DataController.secondStatus === "0x07"
text: "Готов к работе"
backgroundColor: "#C4FFCA"
backgroundColor: Palette.readyBackgroundColor
backgroundRadius: 16
font.pixelSize: 24
font.weight: Font.Normal
@@ -141,8 +141,8 @@ ApplicationWindow {
CustomControls.TristateSwitch {
id: modeSwitch
// enabled: false // uncomment for non clickable
firstStateDescription: "АИН 1,2,3"
secondStateDescription: "АИН 4,5,6"
firstStateDescription: "АИН1 - АИН3"
secondStateDescription: "АИН4 - АИН6"
checkState: DataController.ainMode === 2 ? Qt.Unchecked : DataController.ainMode === 1 ? Qt.Checked : Qt.PartiallyChecked
Layout.fillHeight: false
Layout.fillWidth: true