|
17 | 17 | <item> |
18 | 18 | <layout class="QFormLayout" name="formLayout_2"> |
19 | 19 | <property name="labelAlignment"> |
20 | | - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 20 | + <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set> |
21 | 21 | </property> |
22 | 22 | <property name="formAlignment"> |
23 | | - <set>Qt::AlignHCenter|Qt::AlignTop</set> |
| 23 | + <set>Qt::AlignmentFlag::AlignHCenter|Qt::AlignmentFlag::AlignTop</set> |
24 | 24 | </property> |
25 | 25 | <property name="leftMargin"> |
26 | 26 | <number>40</number> |
|
89 | 89 | </property> |
90 | 90 | <layout class="QFormLayout" name="formLayout"> |
91 | 91 | <property name="labelAlignment"> |
92 | | - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 92 | + <set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set> |
| 93 | + </property> |
| 94 | + <property name="formAlignment"> |
| 95 | + <set>Qt::AlignmentFlag::AlignHCenter|Qt::AlignmentFlag::AlignTop</set> |
93 | 96 | </property> |
94 | 97 | <property name="verticalSpacing"> |
95 | 98 | <number>12</number> |
96 | 99 | </property> |
97 | 100 | <property name="leftMargin"> |
98 | | - <number>40</number> |
| 101 | + <number>9</number> |
99 | 102 | </property> |
100 | 103 | <item row="0" column="0"> |
101 | 104 | <widget class="QLabel" name="labelSlaveAddress"> |
|
186 | 189 | </widget> |
187 | 190 | </item> |
188 | 191 | <item row="2" column="1"> |
189 | | - <layout class="QHBoxLayout" name="horizontalLayout"> |
190 | | - <property name="spacing"> |
191 | | - <number>8</number> |
| 192 | + <widget class="NumericLineEdit" name="lineEditPointAddress"> |
| 193 | + <property name="sizePolicy"> |
| 194 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 195 | + <horstretch>0</horstretch> |
| 196 | + <verstretch>0</verstretch> |
| 197 | + </sizepolicy> |
| 198 | + </property> |
| 199 | + <property name="minimumSize"> |
| 200 | + <size> |
| 201 | + <width>0</width> |
| 202 | + <height>25</height> |
| 203 | + </size> |
192 | 204 | </property> |
193 | | - <item> |
194 | | - <widget class="NumericLineEdit" name="lineEditPointAddress"> |
195 | | - <property name="sizePolicy"> |
196 | | - <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
197 | | - <horstretch>0</horstretch> |
198 | | - <verstretch>0</verstretch> |
199 | | - </sizepolicy> |
200 | | - </property> |
201 | | - <property name="minimumSize"> |
202 | | - <size> |
203 | | - <width>0</width> |
204 | | - <height>25</height> |
205 | | - </size> |
206 | | - </property> |
207 | | - <property name="maximumSize"> |
208 | | - <size> |
209 | | - <width>60</width> |
210 | | - <height>16777215</height> |
211 | | - </size> |
212 | | - </property> |
213 | | - </widget> |
214 | | - </item> |
215 | | - <item> |
216 | | - <widget class="QLabel" name="labelAddressBase"> |
217 | | - <property name="text"> |
218 | | - <string>(1-based)</string> |
219 | | - </property> |
220 | | - </widget> |
221 | | - </item> |
222 | | - <item> |
223 | | - <spacer name="horizontalSpacer"> |
224 | | - <property name="orientation"> |
225 | | - <enum>Qt::Horizontal</enum> |
226 | | - </property> |
227 | | - <property name="sizeHint" stdset="0"> |
228 | | - <size> |
229 | | - <width>40</width> |
230 | | - <height>20</height> |
231 | | - </size> |
232 | | - </property> |
233 | | - </spacer> |
234 | | - </item> |
235 | | - </layout> |
| 205 | + <property name="maximumSize"> |
| 206 | + <size> |
| 207 | + <width>60</width> |
| 208 | + <height>16777215</height> |
| 209 | + </size> |
| 210 | + </property> |
| 211 | + </widget> |
| 212 | + </item> |
| 213 | + <item row="3" column="0"> |
| 214 | + <widget class="QLabel" name="labelAddressBase"> |
| 215 | + <property name="text"> |
| 216 | + <string>Address Base:</string> |
| 217 | + </property> |
| 218 | + </widget> |
| 219 | + </item> |
| 220 | + <item row="3" column="1"> |
| 221 | + <widget class="AddressBaseComboBox" name="comboBoxAddressBase"> |
| 222 | + <property name="sizePolicy"> |
| 223 | + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
| 224 | + <horstretch>0</horstretch> |
| 225 | + <verstretch>0</verstretch> |
| 226 | + </sizepolicy> |
| 227 | + </property> |
| 228 | + <property name="minimumSize"> |
| 229 | + <size> |
| 230 | + <width>100</width> |
| 231 | + <height>25</height> |
| 232 | + </size> |
| 233 | + </property> |
| 234 | + </widget> |
236 | 235 | </item> |
237 | 236 | </layout> |
238 | 237 | </widget> |
239 | 238 | </item> |
240 | 239 | <item> |
241 | 240 | <widget class="QDialogButtonBox" name="buttonBox"> |
242 | 241 | <property name="orientation"> |
243 | | - <enum>Qt::Horizontal</enum> |
| 242 | + <enum>Qt::Orientation::Horizontal</enum> |
244 | 243 | </property> |
245 | 244 | <property name="standardButtons"> |
246 | | - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 245 | + <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set> |
247 | 246 | </property> |
248 | 247 | <property name="centerButtons"> |
249 | 248 | <bool>true</bool> |
|
253 | 252 | </layout> |
254 | 253 | </widget> |
255 | 254 | <customwidgets> |
| 255 | + <customwidget> |
| 256 | + <class>NumericLineEdit</class> |
| 257 | + <extends>QLineEdit</extends> |
| 258 | + <header>numericlineedit.h</header> |
| 259 | + </customwidget> |
256 | 260 | <customwidget> |
257 | 261 | <class>PointTypeComboBox</class> |
258 | 262 | <extends>QComboBox</extends> |
259 | 263 | <header>pointtypecombobox.h</header> |
260 | 264 | </customwidget> |
261 | 265 | <customwidget> |
262 | | - <class>NumericLineEdit</class> |
263 | | - <extends>QLineEdit</extends> |
264 | | - <header>numericlineedit.h</header> |
| 266 | + <class>AddressBaseComboBox</class> |
| 267 | + <extends>QComboBox</extends> |
| 268 | + <header>addressbasecombobox.h</header> |
265 | 269 | </customwidget> |
266 | 270 | </customwidgets> |
267 | 271 | <tabstops> |
|
0 commit comments