Skip to content

Commit

Permalink
Tweak QT UI colors
Browse files Browse the repository at this point in the history
  • Loading branch information
VanDavv committed Dec 3, 2021
1 parent f54806f commit 974441d
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions gui/views/AIProperties.qml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ ListView {
id: aiAdvancedSwitch
x: 167
y: 228
text: qsTr("Show advanced options")
text: qsTr("<font color=\"white\">Show advanced options</font>")
font.family: "Courier"
autoExclusive: false
transformOrigin: Item.Center
Expand Down Expand Up @@ -301,7 +301,7 @@ ListView {
y: 0
width: 167
height: 38
text: qsTr("Enabled")
text: qsTr("<font color=\"white\">Enabled</font>")
checked: true
autoExclusive: false
font.family: "Courier"
Expand Down
2 changes: 1 addition & 1 deletion gui/views/CameraProperties.qml
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ ListView {
id: advancedSwitch
x: 132
y: 216
text: qsTr("Show advanced options")
text: qsTr("<font color=\"white\">Show advanced options</font>")
font.pointSize: 21
transformOrigin: Item.Center
autoExclusive: false
Expand Down
18 changes: 9 additions & 9 deletions gui/views/DepthProperties.qml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ListView {
id: switch1
x: 0
y: 187
text: qsTr("Left Right Check")
text: qsTr("<font color=\"white\">Left Right Check</font>")
transformOrigin: Item.Center
font.preferShaping: false
font.kerning: false
Expand All @@ -78,11 +78,11 @@ ListView {

Switch {
id: switch5
x: 328
x: 275
y: 0
width: 167
height: 38
text: qsTr("Enabled")
text: qsTr("<font color=\"white\">Enabled</font>")
autoExclusive: false
font.family: "Courier"
checked: true
Expand All @@ -99,7 +99,7 @@ ListView {
id: switch2
x: 0
y: 233
text: qsTr("Extended Disparity")
text: qsTr("<font color=\"white\">Extended Disparity</font>")
autoExclusive: false
font.kerning: false
font.family: "Courier"
Expand All @@ -114,7 +114,7 @@ ListView {
id: switch3
x: 0
y: 141
text: qsTr("Subpixel")
text: qsTr("<font color=\"white\">Subpixel</font>")
autoExclusive: false
font.kerning: false
transformOrigin: Item.Center
Expand Down Expand Up @@ -210,7 +210,7 @@ ListView {

Text {
id: text1
x: 44
x: 0
y: 4
width: 285
height: 30
Expand Down Expand Up @@ -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("<font color=\"white\">Use Disparity</font>")
autoExclusive: false
font.family: "Courier"
font.kerning: false
Expand Down
30 changes: 15 additions & 15 deletions gui/views/MiscProperties.qml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ListView {

TextField {
id: encColorFps
x: 110
x: 140
y: 44
width: 83
height: 27
Expand All @@ -52,9 +52,9 @@ ListView {
id: encColorSwitch
x: 8
y: 44
width: 96
width: 150
height: 27
text: qsTr("Color")
text: qsTr("<font color=\"white\">Color</font>")
bottomPadding: 5
onToggled: {
appBridge.toggleColorEncoding(encColorSwitch.checked, encColorFps.text)
Expand All @@ -64,7 +64,7 @@ ListView {
TextField {
enabled: depthEnabled
id: encLeftFps
x: 110
x: 140
y: 77
width: 83
height: 27
Expand All @@ -81,9 +81,9 @@ ListView {
id: encLeftSwitch
x: 8
y: 77
width: 96
width: 150
height: 27
text: qsTr("Left")
text: qsTr("<font color=\"white\">Left</font>")
bottomPadding: 5
onToggled: {
appBridge.toggleLeftEncoding(encLeftSwitch.checked, encLeftFps.text)
Expand All @@ -93,7 +93,7 @@ ListView {
TextField {
enabled: depthEnabled
id: encRightFps
x: 110
x: 140
y: 110
width: 83
height: 27
Expand All @@ -110,9 +110,9 @@ ListView {
id: encRightSwitch
x: 8
y: 110
width: 96
width: 150
height: 27
text: qsTr("Right")
text: qsTr("<font color=\"white\">Right</font>")
bottomPadding: 5
onToggled: {
appBridge.toggleRightEncoding(encLeftSwitch.checked, encLeftFps.text)
Expand All @@ -139,7 +139,7 @@ ListView {
y: 239
width: 185
height: 27
text: qsTr("Temperature")
text: qsTr("<font color=\"white\">Temperature</font>")
bottomPadding: 5
onToggled: {
appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked)
Expand All @@ -152,7 +152,7 @@ ListView {
y: 272
width: 185
height: 27
text: qsTr("CPU")
text: qsTr("<font color=\"white\">CPU</font>")
bottomPadding: 5
onToggled: {
appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked)
Expand All @@ -165,7 +165,7 @@ ListView {
y: 305
width: 185
height: 27
text: qsTr("Memory")
text: qsTr("<font color=\"white\">Memory</font>")
bottomPadding: 5
onToggled: {
appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked)
Expand Down Expand Up @@ -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("<font color=\"white\">Send anonymous usage data</font>")
bottomPadding: 5
onToggled: {
appBridge.toggleStatisticsConsent(consentSwitch.checked)
Expand Down

0 comments on commit 974441d

Please sign in to comment.