From 974441dfdddb62295f824adf1dd8b37064b1ca2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pi=C5=82atowski?= Date: Fri, 3 Dec 2021 18:01:53 +0100 Subject: [PATCH] Tweak QT UI colors --- gui/views/AIProperties.qml | 4 ++-- gui/views/CameraProperties.qml | 2 +- gui/views/DepthProperties.qml | 18 +++++++++--------- gui/views/MiscProperties.qml | 30 +++++++++++++++--------------- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/gui/views/AIProperties.qml b/gui/views/AIProperties.qml index 3bc6f7cbf..ebb78642f 100644 --- a/gui/views/AIProperties.qml +++ b/gui/views/AIProperties.qml @@ -159,7 +159,7 @@ ListView { id: aiAdvancedSwitch x: 167 y: 228 - text: qsTr("Show advanced options") + text: qsTr("Show advanced options") font.family: "Courier" autoExclusive: false transformOrigin: Item.Center @@ -301,7 +301,7 @@ ListView { y: 0 width: 167 height: 38 - text: qsTr("Enabled") + text: qsTr("Enabled") checked: true autoExclusive: false font.family: "Courier" diff --git a/gui/views/CameraProperties.qml b/gui/views/CameraProperties.qml index dc5cb3148..d9bf6adf4 100644 --- a/gui/views/CameraProperties.qml +++ b/gui/views/CameraProperties.qml @@ -573,7 +573,7 @@ ListView { id: advancedSwitch x: 132 y: 216 - text: qsTr("Show advanced options") + text: qsTr("Show advanced options") font.pointSize: 21 transformOrigin: Item.Center autoExclusive: false diff --git a/gui/views/DepthProperties.qml b/gui/views/DepthProperties.qml index 0396f32ab..0b79d8fb7 100644 --- a/gui/views/DepthProperties.qml +++ b/gui/views/DepthProperties.qml @@ -65,7 +65,7 @@ ListView { id: switch1 x: 0 y: 187 - text: qsTr("Left Right Check") + text: qsTr("Left Right Check") transformOrigin: Item.Center font.preferShaping: false font.kerning: false @@ -78,11 +78,11 @@ ListView { Switch { id: switch5 - x: 328 + x: 275 y: 0 width: 167 height: 38 - text: qsTr("Enabled") + text: qsTr("Enabled") autoExclusive: false font.family: "Courier" checked: true @@ -99,7 +99,7 @@ ListView { id: switch2 x: 0 y: 233 - text: qsTr("Extended Disparity") + text: qsTr("Extended Disparity") autoExclusive: false font.kerning: false font.family: "Courier" @@ -114,7 +114,7 @@ ListView { id: switch3 x: 0 y: 141 - text: qsTr("Subpixel") + text: qsTr("Subpixel") autoExclusive: false font.kerning: false transformOrigin: Item.Center @@ -210,7 +210,7 @@ ListView { Text { id: text1 - x: 44 + x: 0 y: 4 width: 285 height: 30 @@ -266,11 +266,11 @@ ListView { Switch { id: switch6 - x: 443 + x: 400 y: 0 - width: 169 + width: 200 height: 38 - text: qsTr("Use Disparity") + text: qsTr("Use Disparity") autoExclusive: false font.family: "Courier" font.kerning: false diff --git a/gui/views/MiscProperties.qml b/gui/views/MiscProperties.qml index 1798bf188..d15b1be90 100644 --- a/gui/views/MiscProperties.qml +++ b/gui/views/MiscProperties.qml @@ -36,7 +36,7 @@ ListView { TextField { id: encColorFps - x: 110 + x: 140 y: 44 width: 83 height: 27 @@ -52,9 +52,9 @@ ListView { id: encColorSwitch x: 8 y: 44 - width: 96 + width: 150 height: 27 - text: qsTr("Color") + text: qsTr("Color") bottomPadding: 5 onToggled: { appBridge.toggleColorEncoding(encColorSwitch.checked, encColorFps.text) @@ -64,7 +64,7 @@ ListView { TextField { enabled: depthEnabled id: encLeftFps - x: 110 + x: 140 y: 77 width: 83 height: 27 @@ -81,9 +81,9 @@ ListView { id: encLeftSwitch x: 8 y: 77 - width: 96 + width: 150 height: 27 - text: qsTr("Left") + text: qsTr("Left") bottomPadding: 5 onToggled: { appBridge.toggleLeftEncoding(encLeftSwitch.checked, encLeftFps.text) @@ -93,7 +93,7 @@ ListView { TextField { enabled: depthEnabled id: encRightFps - x: 110 + x: 140 y: 110 width: 83 height: 27 @@ -110,9 +110,9 @@ ListView { id: encRightSwitch x: 8 y: 110 - width: 96 + width: 150 height: 27 - text: qsTr("Right") + text: qsTr("Right") bottomPadding: 5 onToggled: { appBridge.toggleRightEncoding(encLeftSwitch.checked, encLeftFps.text) @@ -139,7 +139,7 @@ ListView { y: 239 width: 185 height: 27 - text: qsTr("Temperature") + text: qsTr("Temperature") bottomPadding: 5 onToggled: { appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked) @@ -152,7 +152,7 @@ ListView { y: 272 width: 185 height: 27 - text: qsTr("CPU") + text: qsTr("CPU") bottomPadding: 5 onToggled: { appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked) @@ -165,7 +165,7 @@ ListView { y: 305 width: 185 height: 27 - text: qsTr("Memory") + text: qsTr("Memory") bottomPadding: 5 onToggled: { appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked) @@ -242,12 +242,12 @@ ListView { Switch { id: consentSwitch - x: 350 + x: 330 y: 40 checked: statisticsAccepted - width: 250 + width: 270 height: 27 - text: qsTr("Send anonymous usage data") + text: qsTr("Send anonymous usage data") bottomPadding: 5 onToggled: { appBridge.toggleStatisticsConsent(consentSwitch.checked)