Skip to content

Commit 431f80f

Browse files
authored
Merge pull request #570 from luxonis/fix_colors
Tweak QT UI colors
2 parents f54806f + 974441d commit 431f80f

File tree

4 files changed

+27
-27
lines changed

4 files changed

+27
-27
lines changed

gui/views/AIProperties.qml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ ListView {
159159
id: aiAdvancedSwitch
160160
x: 167
161161
y: 228
162-
text: qsTr("Show advanced options")
162+
text: qsTr("<font color=\"white\">Show advanced options</font>")
163163
font.family: "Courier"
164164
autoExclusive: false
165165
transformOrigin: Item.Center
@@ -301,7 +301,7 @@ ListView {
301301
y: 0
302302
width: 167
303303
height: 38
304-
text: qsTr("Enabled")
304+
text: qsTr("<font color=\"white\">Enabled</font>")
305305
checked: true
306306
autoExclusive: false
307307
font.family: "Courier"

gui/views/CameraProperties.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ ListView {
573573
id: advancedSwitch
574574
x: 132
575575
y: 216
576-
text: qsTr("Show advanced options")
576+
text: qsTr("<font color=\"white\">Show advanced options</font>")
577577
font.pointSize: 21
578578
transformOrigin: Item.Center
579579
autoExclusive: false

gui/views/DepthProperties.qml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ListView {
6565
id: switch1
6666
x: 0
6767
y: 187
68-
text: qsTr("Left Right Check")
68+
text: qsTr("<font color=\"white\">Left Right Check</font>")
6969
transformOrigin: Item.Center
7070
font.preferShaping: false
7171
font.kerning: false
@@ -78,11 +78,11 @@ ListView {
7878

7979
Switch {
8080
id: switch5
81-
x: 328
81+
x: 275
8282
y: 0
8383
width: 167
8484
height: 38
85-
text: qsTr("Enabled")
85+
text: qsTr("<font color=\"white\">Enabled</font>")
8686
autoExclusive: false
8787
font.family: "Courier"
8888
checked: true
@@ -99,7 +99,7 @@ ListView {
9999
id: switch2
100100
x: 0
101101
y: 233
102-
text: qsTr("Extended Disparity")
102+
text: qsTr("<font color=\"white\">Extended Disparity</font>")
103103
autoExclusive: false
104104
font.kerning: false
105105
font.family: "Courier"
@@ -114,7 +114,7 @@ ListView {
114114
id: switch3
115115
x: 0
116116
y: 141
117-
text: qsTr("Subpixel")
117+
text: qsTr("<font color=\"white\">Subpixel</font>")
118118
autoExclusive: false
119119
font.kerning: false
120120
transformOrigin: Item.Center
@@ -210,7 +210,7 @@ ListView {
210210

211211
Text {
212212
id: text1
213-
x: 44
213+
x: 0
214214
y: 4
215215
width: 285
216216
height: 30
@@ -266,11 +266,11 @@ ListView {
266266

267267
Switch {
268268
id: switch6
269-
x: 443
269+
x: 400
270270
y: 0
271-
width: 169
271+
width: 200
272272
height: 38
273-
text: qsTr("Use Disparity")
273+
text: qsTr("<font color=\"white\">Use Disparity</font>")
274274
autoExclusive: false
275275
font.family: "Courier"
276276
font.kerning: false

gui/views/MiscProperties.qml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ListView {
3636

3737
TextField {
3838
id: encColorFps
39-
x: 110
39+
x: 140
4040
y: 44
4141
width: 83
4242
height: 27
@@ -52,9 +52,9 @@ ListView {
5252
id: encColorSwitch
5353
x: 8
5454
y: 44
55-
width: 96
55+
width: 150
5656
height: 27
57-
text: qsTr("Color")
57+
text: qsTr("<font color=\"white\">Color</font>")
5858
bottomPadding: 5
5959
onToggled: {
6060
appBridge.toggleColorEncoding(encColorSwitch.checked, encColorFps.text)
@@ -64,7 +64,7 @@ ListView {
6464
TextField {
6565
enabled: depthEnabled
6666
id: encLeftFps
67-
x: 110
67+
x: 140
6868
y: 77
6969
width: 83
7070
height: 27
@@ -81,9 +81,9 @@ ListView {
8181
id: encLeftSwitch
8282
x: 8
8383
y: 77
84-
width: 96
84+
width: 150
8585
height: 27
86-
text: qsTr("Left")
86+
text: qsTr("<font color=\"white\">Left</font>")
8787
bottomPadding: 5
8888
onToggled: {
8989
appBridge.toggleLeftEncoding(encLeftSwitch.checked, encLeftFps.text)
@@ -93,7 +93,7 @@ ListView {
9393
TextField {
9494
enabled: depthEnabled
9595
id: encRightFps
96-
x: 110
96+
x: 140
9797
y: 110
9898
width: 83
9999
height: 27
@@ -110,9 +110,9 @@ ListView {
110110
id: encRightSwitch
111111
x: 8
112112
y: 110
113-
width: 96
113+
width: 150
114114
height: 27
115-
text: qsTr("Right")
115+
text: qsTr("<font color=\"white\">Right</font>")
116116
bottomPadding: 5
117117
onToggled: {
118118
appBridge.toggleRightEncoding(encLeftSwitch.checked, encLeftFps.text)
@@ -139,7 +139,7 @@ ListView {
139139
y: 239
140140
width: 185
141141
height: 27
142-
text: qsTr("Temperature")
142+
text: qsTr("<font color=\"white\">Temperature</font>")
143143
bottomPadding: 5
144144
onToggled: {
145145
appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked)
@@ -152,7 +152,7 @@ ListView {
152152
y: 272
153153
width: 185
154154
height: 27
155-
text: qsTr("CPU")
155+
text: qsTr("<font color=\"white\">CPU</font>")
156156
bottomPadding: 5
157157
onToggled: {
158158
appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked)
@@ -165,7 +165,7 @@ ListView {
165165
y: 305
166166
width: 185
167167
height: 27
168-
text: qsTr("Memory")
168+
text: qsTr("<font color=\"white\">Memory</font>")
169169
bottomPadding: 5
170170
onToggled: {
171171
appBridge.selectReportingOptions(tempSwitch.checked, cpuSwitch.checked, memSwitch.checked)
@@ -242,12 +242,12 @@ ListView {
242242

243243
Switch {
244244
id: consentSwitch
245-
x: 350
245+
x: 330
246246
y: 40
247247
checked: statisticsAccepted
248-
width: 250
248+
width: 270
249249
height: 27
250-
text: qsTr("Send anonymous usage data")
250+
text: qsTr("<font color=\"white\">Send anonymous usage data</font>")
251251
bottomPadding: 5
252252
onToggled: {
253253
appBridge.toggleStatisticsConsent(consentSwitch.checked)

0 commit comments

Comments
 (0)