|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>219</width> |
10 |
| - <height>253</height> |
| 9 | + <width>218</width> |
| 10 | + <height>258</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
14 | 14 | <string>Form</string>
|
15 | 15 | </property>
|
16 | 16 | <layout class="QFormLayout" name="formLayout">
|
| 17 | + <property name="fieldGrowthPolicy"> |
| 18 | + <enum>QFormLayout::FieldsStayAtSizeHint</enum> |
| 19 | + </property> |
| 20 | + <item row="0" column="0"> |
| 21 | + <widget class="QLabel" name="label_3"> |
| 22 | + <property name="text"> |
| 23 | + <string>Mode</string> |
| 24 | + </property> |
| 25 | + </widget> |
| 26 | + </item> |
| 27 | + <item row="0" column="1"> |
| 28 | + <widget class="QComboBox" name="mode"> |
| 29 | + <item> |
| 30 | + <property name="text"> |
| 31 | + <string>Step size</string> |
| 32 | + </property> |
| 33 | + </item> |
| 34 | + <item> |
| 35 | + <property name="text"> |
| 36 | + <string>Step count</string> |
| 37 | + </property> |
| 38 | + </item> |
| 39 | + </widget> |
| 40 | + </item> |
17 | 41 | <item row="2" column="0">
|
18 |
| - <widget class="QLabel" name="startLabel_3"> |
| 42 | + <widget class="QLabel" name="label"> |
19 | 43 | <property name="text">
|
20 |
| - <string>Start</string> |
| 44 | + <string>Steps:</string> |
21 | 45 | </property>
|
22 | 46 | </widget>
|
23 | 47 | </item>
|
24 | 48 | <item row="2" column="1">
|
25 |
| - <widget class="QDoubleSpinBox" name="start_3"> |
| 49 | + <widget class="QSpinBox" name="step_count"> |
| 50 | + <property name="enabled"> |
| 51 | + <bool>false</bool> |
| 52 | + </property> |
| 53 | + <property name="minimum"> |
| 54 | + <number>1</number> |
| 55 | + </property> |
| 56 | + <property name="maximum"> |
| 57 | + <number>100000000</number> |
| 58 | + </property> |
| 59 | + <property name="value"> |
| 60 | + <number>10</number> |
| 61 | + </property> |
| 62 | + </widget> |
| 63 | + </item> |
| 64 | + <item row="3" column="0"> |
| 65 | + <widget class="QLabel" name="startLabel_3"> |
| 66 | + <property name="text"> |
| 67 | + <string>Start:</string> |
| 68 | + </property> |
| 69 | + </widget> |
| 70 | + </item> |
| 71 | + <item row="3" column="1"> |
| 72 | + <widget class="QDoubleSpinBox" name="start"> |
26 | 73 | <property name="suffix">
|
27 |
| - <string> Hz</string> |
| 74 | + <string/> |
28 | 75 | </property>
|
29 | 76 | <property name="maximum">
|
30 | 77 | <double>100000.000000000000000</double>
|
|
34 | 81 | </property>
|
35 | 82 | </widget>
|
36 | 83 | </item>
|
37 |
| - <item row="3" column="0"> |
| 84 | + <item row="4" column="0"> |
38 | 85 | <widget class="QLabel" name="stopLabel_3">
|
39 | 86 | <property name="text">
|
40 |
| - <string>Stop</string> |
| 87 | + <string>Stop:</string> |
41 | 88 | </property>
|
42 | 89 | </widget>
|
43 | 90 | </item>
|
44 |
| - <item row="3" column="1"> |
45 |
| - <widget class="QDoubleSpinBox" name="stop_3"> |
| 91 | + <item row="4" column="1"> |
| 92 | + <widget class="QDoubleSpinBox" name="stop"> |
46 | 93 | <property name="suffix">
|
47 |
| - <string> Hz</string> |
| 94 | + <string/> |
48 | 95 | </property>
|
49 | 96 | <property name="maximum">
|
50 | 97 | <double>100000.000000000000000</double>
|
|
54 | 101 | </property>
|
55 | 102 | </widget>
|
56 | 103 | </item>
|
57 |
| - <item row="4" column="0"> |
| 104 | + <item row="5" column="0"> |
58 | 105 | <widget class="QLabel" name="stepLabel_3">
|
59 | 106 | <property name="text">
|
60 |
| - <string>Step</string> |
| 107 | + <string>Step size:</string> |
61 | 108 | </property>
|
62 | 109 | </widget>
|
63 | 110 | </item>
|
64 |
| - <item row="4" column="1"> |
65 |
| - <widget class="QDoubleSpinBox" name="step_3"> |
| 111 | + <item row="5" column="1"> |
| 112 | + <widget class="QDoubleSpinBox" name="step_size"> |
66 | 113 | <property name="suffix">
|
67 |
| - <string> Hz</string> |
| 114 | + <string/> |
68 | 115 | </property>
|
69 | 116 | <property name="maximum">
|
70 | 117 | <double>100000.000000000000000</double>
|
|
74 | 121 | </property>
|
75 | 122 | </widget>
|
76 | 123 | </item>
|
77 |
| - <item row="5" column="0"> |
| 124 | + <item row="6" column="0"> |
78 | 125 | <widget class="QLabel" name="waitLabel_3">
|
79 | 126 | <property name="text">
|
80 |
| - <string>Wait</string> |
| 127 | + <string>Wait:</string> |
81 | 128 | </property>
|
82 | 129 | </widget>
|
83 | 130 | </item>
|
84 |
| - <item row="5" column="1"> |
85 |
| - <widget class="QDoubleSpinBox" name="wait_3"> |
| 131 | + <item row="6" column="1"> |
| 132 | + <widget class="QDoubleSpinBox" name="wait"> |
86 | 133 | <property name="suffix">
|
87 | 134 | <string> s</string>
|
88 | 135 | </property>
|
|
97 | 144 | </property>
|
98 | 145 | </widget>
|
99 | 146 | </item>
|
100 |
| - <item row="6" column="0"> |
101 |
| - <widget class="QPushButton" name="Start"> |
| 147 | + <item row="7" column="0"> |
| 148 | + <widget class="QPushButton" name="start_stop"> |
102 | 149 | <property name="text">
|
103 | 150 | <string>Start</string>
|
104 | 151 | </property>
|
|
107 | 154 | </property>
|
108 | 155 | </widget>
|
109 | 156 | </item>
|
110 |
| - <item row="6" column="1"> |
| 157 | + <item row="7" column="1"> |
111 | 158 | <widget class="QProgressBar" name="progress_bar">
|
112 | 159 | <property name="maximum">
|
113 | 160 | <number>100</number>
|
|
117 | 164 | </property>
|
118 | 165 | </widget>
|
119 | 166 | </item>
|
120 |
| - <item row="1" column="0"> |
121 |
| - <widget class="QLabel" name="label"> |
122 |
| - <property name="text"> |
123 |
| - <string>Points</string> |
124 |
| - </property> |
125 |
| - </widget> |
126 |
| - </item> |
127 |
| - <item row="1" column="1"> |
128 |
| - <widget class="QSpinBox" name="spinBox"/> |
129 |
| - </item> |
130 |
| - <item row="0" column="0"> |
131 |
| - <widget class="QLabel" name="label_2"> |
132 |
| - <property name="text"> |
133 |
| - <string>Mode</string> |
134 |
| - </property> |
135 |
| - </widget> |
136 |
| - </item> |
137 |
| - <item row="0" column="1"> |
138 |
| - <widget class="QComboBox" name="comboBox"> |
139 |
| - <item> |
140 |
| - <property name="text"> |
141 |
| - <string>Points</string> |
142 |
| - </property> |
143 |
| - </item> |
144 |
| - <item> |
145 |
| - <property name="text"> |
146 |
| - <string>Steps</string> |
147 |
| - </property> |
148 |
| - </item> |
149 |
| - </widget> |
150 |
| - </item> |
151 | 167 | </layout>
|
152 | 168 | </widget>
|
153 | 169 | <resources/>
|
|
0 commit comments