Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
test_rgbcolorsensors_smbus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fischertechnik examples
TXT 4.0 Controller
test_rgbcolorsensors_smbus
Commits
7690fe6d
Commit
7690fe6d
authored
4 months ago
by
ft-Demo
Browse files
Options
Downloads
Patches
Plain Diff
commit by robo pro coding
parent
b52c7ff7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/display.qml
+99
-24
99 additions, 24 deletions
lib/display.qml
lib/display.xml
+1
-1
1 addition, 1 deletion
lib/display.xml
with
100 additions
and
25 deletions
lib/display.qml
+
99
−
24
View file @
7690fe6d
...
...
@@ -22,8 +22,8 @@ TXTWindow {
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
15
width
:
20
0
y
:
0
width
:
16
0
height
:
24
}
TXTLabel
{
...
...
@@ -33,13 +33,13 @@ TXTWindow {
font.bold
:
false
font.italic
:
false
font.underline
:
false
horizontalAlignment
:
Text
.
Align
Righ
t
horizontalAlignment
:
Text
.
Align
Lef
t
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
160
y
:
0
width
:
75
height
:
1
4
x
:
5
y
:
21
0
width
:
44
height
:
1
5
}
TXTSwitch
{
id
:
txt_switch_loop
...
...
@@ -50,8 +50,8 @@ TXTWindow {
font.underline
:
false
enabled
:
false
checked
:
true
x
:
8
5
y
:
1
5
0
x
:
5
0
y
:
1
9
0
width
:
95
height
:
40
}
...
...
@@ -63,9 +63,9 @@ TXTWindow {
font.italic
:
false
font.underline
:
false
enabled
:
false
x
:
1
79
y
:
1
51
width
:
6
1
x
:
1
45
y
:
1
90
width
:
6
0
height
:
40
}
TXTLabel
{
...
...
@@ -78,8 +78,8 @@ TXTWindow {
horizontalAlignment
:
Text
.
AlignLeft
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
205
y
:
15
x
:
170
y
:
0
width
:
35
height
:
24
}
...
...
@@ -93,9 +93,9 @@ TXTWindow {
horizontalAlignment
:
Text
.
AlignHCenter
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
21
2
y
:
20
3
width
:
2
3
x
:
21
0
y
:
2
1
0
width
:
2
5
height
:
20
}
TXTSlider
{
...
...
@@ -103,12 +103,12 @@ TXTWindow {
from
:
0
value
:
128
to
:
255
orientation
:
Qt
.
Horizont
al
orientation
:
Qt
.
Vertic
al
enabled
:
false
x
:
6
y
:
192
width
:
2
00
height
:
2
5
x
:
210
y
:
0
width
:
2
5
height
:
2
00
}
TXTLabel
{
id
:
txt_label_1rgbw
...
...
@@ -121,7 +121,7 @@ TXTWindow {
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
4
0
y
:
2
4
width
:
200
height
:
24
}
...
...
@@ -136,7 +136,82 @@ TXTWindow {
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
65
y
:
48
width
:
200
height
:
24
}
TXTLabel
{
id
:
txt_label_3rgbw
text
:
"
[3] rgbw
"
font.pixelSize
:
18
font.bold
:
false
font.italic
:
false
font.underline
:
false
horizontalAlignment
:
Text
.
AlignLeft
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
72
width
:
200
height
:
24
}
TXTLabel
{
id
:
txt_label_4rgbw
text
:
"
[4] rgbw
"
font.pixelSize
:
18
font.bold
:
false
font.italic
:
false
font.underline
:
false
horizontalAlignment
:
Text
.
AlignLeft
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
96
width
:
200
height
:
24
}
TXTLabel
{
id
:
txt_label_5rgbw
text
:
"
[5] rgbw
"
font.pixelSize
:
18
font.bold
:
false
font.italic
:
false
font.underline
:
false
horizontalAlignment
:
Text
.
AlignLeft
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
120
width
:
200
height
:
24
}
TXTLabel
{
id
:
txt_label_6rgbw
text
:
"
[6] rgbw
"
font.pixelSize
:
18
font.bold
:
false
font.italic
:
false
font.underline
:
false
horizontalAlignment
:
Text
.
AlignLeft
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
144
width
:
200
height
:
24
}
TXTLabel
{
id
:
txt_label_7rgbw
text
:
"
[7] rgbw
"
font.pixelSize
:
18
font.bold
:
false
font.italic
:
false
font.underline
:
false
horizontalAlignment
:
Text
.
AlignLeft
color
:
"
#ffffff
"
elide
:
Text
.
ElideRight
x
:
5
y
:
168
width
:
200
height
:
24
}
...
...
This diff is collapsed.
Click to expand it.
lib/display.xml
+
1
−
1
View file @
7690fe6d
<xml
type=
"display"
version=
"2"
><item
id=
"2"
class=
"TXTLabel"
><name>
txt_label_0rgbw
</name><text>
[0] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
15
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"16"
class=
"TXTLabel"
><name>
txt_label_fw
</name><text>
2024/12/02
</text><fontSize>
16
</fontSize><fontStyle/><horizontalAlignment>
right
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
160
</x><y>
0
</y><width>
75
</width><height>
14
</height></geometry></item><item
id=
"17"
class=
"TXTSwitch"
><name>
txt_switch_loop
</name><enabled>
false
</enabled><checked>
true
</checked><text>
loop
</text><fontSize>
22
</fontSize><fontStyle>
,bold
</fontStyle><geometry><x>
85
</x><y>
150
</y><width>
95
</width><height>
40
</height></geometry></item><item
id=
"18"
class=
"TXTButton"
><name>
txt_button_read
</name><enabled>
false
</enabled><text>
READ
</text><fontSize>
22
</fontSize><fontStyle>
,bold
</fontStyle><geometry><x>
179
</x><y>
151
</y><width>
61
</width><height>
40
</height></geometry></item><item
id=
"24"
class=
"TXTLabel"
><name>
txt_label_target
</name><text/><fontSize>
32
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
205
</x><y>
15
</y><width>
35
</width><height>
24
</height></geometry></item><item
id=
"32"
class=
"TXTLabel"
><name>
txt_label_leds
</name><text>
128
</text><fontSize>
16
</fontSize><fontStyle/><horizontalAlignment>
center
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
212
</x><y>
203
</y><width>
23
</width><height>
20
</height></geometry></item><item
id=
"34"
class=
"TXTSlider"
><name>
txt_slider
</name><value>
128
</value><from>
0
</from><to>
255
</to><orientation>
Qt.Horizontal
</orientation><enabled>
false
</enabled><geometry><x>
6
</x><y>
192
</y><width>
200
</width><height>
25
</height></geometry></item><item
id=
"38"
class=
"TXTLabel"
><name>
txt_label_1rgbw
</name><text>
[1] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
40
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"39"
class=
"TXTLabel"
><name>
txt_label_2rgbw
</name><text>
[2] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
65
</y><width>
200
</width><height>
24
</height></geometry></item></xml>
\ No newline at end of file
<xml
type=
"display"
version=
"2"
><item
id=
"2"
class=
"TXTLabel"
><name>
txt_label_0rgbw
</name><text>
[0] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
0
</y><width>
160
</width><height>
24
</height></geometry></item><item
id=
"16"
class=
"TXTLabel"
><name>
txt_label_fw
</name><text>
2024/12/02
</text><fontSize>
16
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
210
</y><width>
44
</width><height>
15
</height></geometry></item><item
id=
"17"
class=
"TXTSwitch"
><name>
txt_switch_loop
</name><enabled>
false
</enabled><checked>
true
</checked><text>
loop
</text><fontSize>
22
</fontSize><fontStyle>
,bold
</fontStyle><geometry><x>
50
</x><y>
190
</y><width>
95
</width><height>
40
</height></geometry></item><item
id=
"18"
class=
"TXTButton"
><name>
txt_button_read
</name><enabled>
false
</enabled><text>
READ
</text><fontSize>
22
</fontSize><fontStyle>
,bold
</fontStyle><geometry><x>
145
</x><y>
190
</y><width>
60
</width><height>
40
</height></geometry></item><item
id=
"24"
class=
"TXTLabel"
><name>
txt_label_target
</name><text/><fontSize>
32
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
170
</x><y>
0
</y><width>
35
</width><height>
24
</height></geometry></item><item
id=
"32"
class=
"TXTLabel"
><name>
txt_label_leds
</name><text>
128
</text><fontSize>
16
</fontSize><fontStyle/><horizontalAlignment>
center
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
210
</x><y>
210
</y><width>
25
</width><height>
20
</height></geometry></item><item
id=
"34"
class=
"TXTSlider"
><name>
txt_slider
</name><value>
128
</value><from>
0
</from><to>
255
</to><orientation>
Qt.Vertical
</orientation><enabled>
false
</enabled><geometry><x>
210
</x><y>
0
</y><width>
25
</width><height>
200
</height></geometry></item><item
id=
"38"
class=
"TXTLabel"
><name>
txt_label_1rgbw
</name><text>
[1] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
24
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"39"
class=
"TXTLabel"
><name>
txt_label_2rgbw
</name><text>
[2] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
48
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"40"
class=
"TXTLabel"
><name>
txt_label_3rgbw
</name><text>
[3] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
72
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"41"
class=
"TXTLabel"
><name>
txt_label_4rgbw
</name><text>
[4] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
96
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"42"
class=
"TXTLabel"
><name>
txt_label_5rgbw
</name><text>
[5] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
120
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"43"
class=
"TXTLabel"
><name>
txt_label_6rgbw
</name><text>
[6] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
144
</y><width>
200
</width><height>
24
</height></geometry></item><item
id=
"44"
class=
"TXTLabel"
><name>
txt_label_7rgbw
</name><text>
[7] rgbw
</text><fontSize>
18
</fontSize><fontStyle/><horizontalAlignment>
left
</horizontalAlignment><color>
#ffffff
</color><geometry><x>
5
</x><y>
168
</y><width>
200
</width><height>
24
</height></geometry></item></xml>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment