Skip to content

Commit d4d73fc

Browse files
committed
add relock button (gui components)
1 parent 0c23d03 commit d4d73fc

File tree

1 file changed

+31
-9
lines changed

1 file changed

+31
-9
lines changed

linien-gui/linien_gui/ui/locking_panel.ui

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<x>0</x>
88
<y>0</y>
99
<width>350</width>
10-
<height>754</height>
10+
<height>1012</height>
1111
</rect>
1212
</property>
1313
<property name="sizePolicy">
@@ -1079,6 +1079,28 @@
10791079
</property>
10801080
</widget>
10811081
</item>
1082+
<item>
1083+
<widget class="QPushButton" name="relockPushButton">
1084+
<property name="minimumSize">
1085+
<size>
1086+
<width>0</width>
1087+
<height>50</height>
1088+
</size>
1089+
</property>
1090+
<property name="font">
1091+
<font>
1092+
<weight>75</weight>
1093+
<bold>true</bold>
1094+
</font>
1095+
</property>
1096+
<property name="styleSheet">
1097+
<string notr="true">background: #00aa00</string>
1098+
</property>
1099+
<property name="text">
1100+
<string>Relock</string>
1101+
</property>
1102+
</widget>
1103+
</item>
10821104
<item>
10831105
<widget class="QGroupBox" name="controlSignalHistoryGroupBox">
10841106
<property name="sizePolicy">
@@ -1090,7 +1112,14 @@
10901112
<property name="title">
10911113
<string>Control signal history length</string>
10921114
</property>
1093-
<layout class="QHBoxLayout" name="horizontalLayout_9">
1115+
<layout class="QVBoxLayout" name="verticalLayout_3">
1116+
<item>
1117+
<widget class="QLabel" name="label_4">
1118+
<property name="text">
1119+
<string>s</string>
1120+
</property>
1121+
</widget>
1122+
</item>
10941123
<item>
10951124
<widget class="CustomSpinBox" name="controlSignalHistoryLengthSpinBox">
10961125
<property name="minimum">
@@ -1107,13 +1136,6 @@
11071136
</property>
11081137
</widget>
11091138
</item>
1110-
<item>
1111-
<widget class="QLabel" name="label_4">
1112-
<property name="text">
1113-
<string>s</string>
1114-
</property>
1115-
</widget>
1116-
</item>
11171139
</layout>
11181140
</widget>
11191141
</item>

0 commit comments

Comments
 (0)