Move AddNode dialog layout code into separate ui file
[vlp.git] / src / lgconfig / ui / dialogs / AddNodeDialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>AddNodeDialog</class>
4  <widget class="QDialog" name="AddNodeDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>258</width>
10     <height>185</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>Virtual Processor Properties</string>
15   </property>
16   <layout class="QVBoxLayout" name="verticalLayout_3">
17    <item>
18     <layout class="QHBoxLayout" name="horizontalLayout">
19      <item>
20       <layout class="QVBoxLayout" name="verticalLayout">
21        <item>
22         <widget class="QLabel" name="label">
23          <property name="text">
24           <string>Node number</string>
25          </property>
26         </widget>
27        </item>
28        <item>
29         <widget class="QLabel" name="label_2">
30          <property name="text">
31           <string>IP Address</string>
32          </property>
33         </widget>
34        </item>
35        <item>
36         <widget class="QLabel" name="label_3">
37          <property name="text">
38           <string>Connection type</string>
39          </property>
40         </widget>
41        </item>
42        <item>
43         <widget class="QLabel" name="label_4">
44          <property name="text">
45           <string>Programs directory</string>
46          </property>
47         </widget>
48        </item>
49        <item>
50         <widget class="QLabel" name="label_5">
51          <property name="text">
52           <string>VLP directory</string>
53          </property>
54         </widget>
55        </item>
56       </layout>
57      </item>
58      <item>
59       <layout class="QVBoxLayout" name="verticalLayout_2">
60        <item>
61         <widget class="QSpinBox" name="nodeNumber">
62          <property name="minimumSize">
63           <size>
64            <width>300</width>
65            <height>0</height>
66           </size>
67          </property>
68         </widget>
69        </item>
70        <item>
71         <widget class="QLineEdit" name="ipAddress">
72          <property name="minimumSize">
73           <size>
74            <width>300</width>
75            <height>0</height>
76           </size>
77          </property>
78         </widget>
79        </item>
80        <item>
81         <widget class="QComboBox" name="connectionType">
82          <property name="minimumSize">
83           <size>
84            <width>300</width>
85            <height>0</height>
86           </size>
87          </property>
88         </widget>
89        </item>
90        <item>
91         <widget class="QLineEdit" name="programsDirectory">
92          <property name="minimumSize">
93           <size>
94            <width>300</width>
95            <height>0</height>
96           </size>
97          </property>
98         </widget>
99        </item>
100        <item>
101         <widget class="QLineEdit" name="vlpDirectory">
102          <property name="minimumSize">
103           <size>
104            <width>300</width>
105            <height>0</height>
106           </size>
107          </property>
108         </widget>
109        </item>
110       </layout>
111      </item>
112     </layout>
113    </item>
114    <item>
115     <widget class="QDialogButtonBox" name="buttonBox">
116      <property name="orientation">
117       <enum>Qt::Horizontal</enum>
118      </property>
119      <property name="standardButtons">
120       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
121      </property>
122     </widget>
123    </item>
124   </layout>
125  </widget>
126  <resources/>
127  <connections>
128   <connection>
129    <sender>buttonBox</sender>
130    <signal>accepted()</signal>
131    <receiver>AddNodeDialog</receiver>
132    <slot>accept()</slot>
133    <hints>
134     <hint type="sourcelabel">
135      <x>248</x>
136      <y>254</y>
137     </hint>
138     <hint type="destinationlabel">
139      <x>157</x>
140      <y>274</y>
141     </hint>
142    </hints>
143   </connection>
144   <connection>
145    <sender>buttonBox</sender>
146    <signal>rejected()</signal>
147    <receiver>AddNodeDialog</receiver>
148    <slot>reject()</slot>
149    <hints>
150     <hint type="sourcelabel">
151      <x>316</x>
152      <y>260</y>
153     </hint>
154     <hint type="destinationlabel">
155      <x>286</x>
156      <y>274</y>
157     </hint>
158    </hints>
159   </connection>
160  </connections>
161 </ui>