|
6 | 6 | <rect> |
7 | 7 | <x>0</x> |
8 | 8 | <y>0</y> |
9 | | - <width>240</width> |
| 9 | + <width>328</width> |
10 | 10 | <height>116</height> |
11 | 11 | </rect> |
12 | 12 | </property> |
13 | 13 | <property name="windowTitle"> |
14 | | - <string>Select Service Port</string> |
| 14 | + <string>Select Service IP Address and Port</string> |
15 | 15 | </property> |
16 | 16 | <layout class="QVBoxLayout" name="verticalLayout"> |
17 | 17 | <item> |
18 | | - <widget class="QLabel" name="label"> |
19 | | - <property name="text"> |
20 | | - <string>Modbus/TCP Service Port</string> |
| 18 | + <layout class="QFormLayout" name="formLayout"> |
| 19 | + <property name="labelAlignment"> |
| 20 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
21 | 21 | </property> |
22 | | - <property name="alignment"> |
23 | | - <set>Qt::AlignCenter</set> |
24 | | - </property> |
25 | | - </widget> |
26 | | - </item> |
27 | | - <item> |
28 | | - <layout class="QHBoxLayout" name="horizontalLayout"> |
29 | | - <item> |
30 | | - <spacer name="horizontalSpacer"> |
31 | | - <property name="orientation"> |
32 | | - <enum>Qt::Horizontal</enum> |
33 | | - </property> |
34 | | - <property name="sizeHint" stdset="0"> |
35 | | - <size> |
36 | | - <width>40</width> |
37 | | - <height>20</height> |
38 | | - </size> |
39 | | - </property> |
40 | | - </spacer> |
41 | | - </item> |
42 | | - <item> |
| 22 | + <item row="1" column="1"> |
43 | 23 | <widget class="NumericLineEdit" name="lineEditPort"> |
44 | 24 | <property name="sizePolicy"> |
45 | 25 | <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> |
|
58 | 38 | </property> |
59 | 39 | </widget> |
60 | 40 | </item> |
61 | | - <item> |
62 | | - <spacer name="horizontalSpacer_2"> |
63 | | - <property name="orientation"> |
64 | | - <enum>Qt::Horizontal</enum> |
| 41 | + <item row="1" column="0"> |
| 42 | + <widget class="QLabel" name="label"> |
| 43 | + <property name="text"> |
| 44 | + <string>Modbus/TCP Service Port</string> |
65 | 45 | </property> |
66 | | - <property name="sizeHint" stdset="0"> |
67 | | - <size> |
68 | | - <width>40</width> |
69 | | - <height>20</height> |
70 | | - </size> |
| 46 | + <property name="alignment"> |
| 47 | + <set>Qt::AlignCenter</set> |
71 | 48 | </property> |
72 | | - </spacer> |
| 49 | + </widget> |
| 50 | + </item> |
| 51 | + <item row="0" column="1"> |
| 52 | + <widget class="QComboBox" name="comboBoxIp"/> |
| 53 | + </item> |
| 54 | + <item row="0" column="0"> |
| 55 | + <widget class="QLabel" name="label_2"> |
| 56 | + <property name="text"> |
| 57 | + <string>Service IP Address</string> |
| 58 | + </property> |
| 59 | + </widget> |
73 | 60 | </item> |
74 | 61 | </layout> |
75 | 62 | </item> |
|
0 commit comments