Skip to content

Commit 9cdaa61

Browse files
committed
sim - add MPG button on VCP panel
1 parent ecb3310 commit 9cdaa61

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

configs/sim/qtdragon/qtdragon_xyz/panel.hal

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ net sy halui.axis.y.select panel.axis-y
66
net sy axis.y.jog-enable
77
net sz halui.axis.z.select panel.axis-z
88
net sz axis.z.jog-enable
9+
net sgui halui.mpg-select.0 panel.select-gui0
10+
911

1012
net mpg-scale axis.x.jog-scale panel.mpg-scale
1113
net mpg-scale axis.y.jog-scale

configs/sim/qtdragon/qtdragon_xyz/panel.ui

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>418</width>
9+
<width>495</width>
1010
<height>587</height>
1111
</rect>
1212
</property>
@@ -25,6 +25,22 @@
2525
<layout class="QHBoxLayout" name="horizontalLayout_2">
2626
<item>
2727
<widget class="PushButton" name="pushbutton_9">
28+
<property name="text">
29+
<string>GUI</string>
30+
</property>
31+
<property name="checkable">
32+
<bool>true</bool>
33+
</property>
34+
<property name="autoExclusive">
35+
<bool>true</bool>
36+
</property>
37+
<property name="pin_name" stdset="0">
38+
<string>select-gui0</string>
39+
</property>
40+
</widget>
41+
</item>
42+
<item>
43+
<widget class="PushButton" name="pushbutton_15">
2844
<property name="text">
2945
<string>None</string>
3046
</property>
@@ -148,7 +164,7 @@
148164
<item>
149165
<layout class="QHBoxLayout" name="horizontalLayout_11">
150166
<item>
151-
<widget class="QGroupBox" name="">
167+
<widget class="QGroupBox" name="groupBox">
152168
<property name="title">
153169
<string>MPG</string>
154170
</property>
@@ -476,7 +492,7 @@
476492
<rect>
477493
<x>0</x>
478494
<y>0</y>
479-
<width>418</width>
495+
<width>495</width>
480496
<height>22</height>
481497
</rect>
482498
</property>

0 commit comments

Comments
 (0)