Possibility to set directory by file dialog in lgconfig
[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>539</width>
10     <height>189</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         <layout class="QHBoxLayout" name="horizontalLayout_2">
92          <item>
93           <widget class="QLineEdit" name="programsDirectory">
94            <property name="minimumSize">
95             <size>
96              <width>300</width>
97              <height>0</height>
98             </size>
99            </property>
100           </widget>
101          </item>
102          <item>
103           <widget class="QPushButton" name="programsDirButton">
104            <property name="text">
105             <string>Choose</string>
106            </property>
107           </widget>
108          </item>
109         </layout>
110        </item>
111        <item>
112         <layout class="QHBoxLayout" name="horizontalLayout_3">
113          <item>
114           <widget class="QLineEdit" name="vlpDirectory">
115            <property name="minimumSize">
116             <size>
117              <width>300</width>
118              <height>0</height>
119             </size>
120            </property>
121           </widget>
122          </item>
123          <item>
124           <widget class="QPushButton" name="vlpDirButton">
125            <property name="text">
126             <string>Choose</string>
127            </property>
128           </widget>
129          </item>
130         </layout>
131        </item>
132       </layout>
133      </item>
134     </layout>
135    </item>
136    <item>
137     <widget class="QDialogButtonBox" name="buttonBox">
138      <property name="orientation">
139       <enum>Qt::Horizontal</enum>
140      </property>
141      <property name="standardButtons">
142       <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
143      </property>
144     </widget>
145    </item>
146   </layout>
147  </widget>
148  <resources/>
149  <connections>
150   <connection>
151    <sender>buttonBox</sender>
152    <signal>accepted()</signal>
153    <receiver>AddNodeDialog</receiver>
154    <slot>accept()</slot>
155    <hints>
156     <hint type="sourcelabel">
157      <x>248</x>
158      <y>254</y>
159     </hint>
160     <hint type="destinationlabel">
161      <x>157</x>
162      <y>274</y>
163     </hint>
164    </hints>
165   </connection>
166   <connection>
167    <sender>buttonBox</sender>
168    <signal>rejected()</signal>
169    <receiver>AddNodeDialog</receiver>
170    <slot>reject()</slot>
171    <hints>
172     <hint type="sourcelabel">
173      <x>316</x>
174      <y>260</y>
175     </hint>
176     <hint type="destinationlabel">
177      <x>286</x>
178      <y>274</y>
179     </hint>
180    </hints>
181   </connection>
182  </connections>
183 </ui>