salome: vv.ui

File vv.ui, 5.9 KB (added by Leon Kos, 6 years ago)

Primer dialoga

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<ui version="4.0">
3 <class>VacuumVessel</class>
4 <widget class="QDialog" name="VacuumVessel">
5  <property name="geometry">
6   <rect>
7    <x>0</x>
8    <y>0</y>
9    <width>400</width>
10    <height>434</height>
11   </rect>
12  </property>
13  <property name="windowTitle">
14   <string>Vacuum Vessel</string>
15  </property>
16  <widget class="QDialogButtonBox" name="buttonBox">
17   <property name="geometry">
18    <rect>
19     <x>30</x>
20     <y>380</y>
21     <width>341</width>
22     <height>32</height>
23    </rect>
24   </property>
25   <property name="orientation">
26    <enum>Qt::Horizontal</enum>
27   </property>
28   <property name="standardButtons">
29    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
30   </property>
31  </widget>
32  <widget class="QGroupBox" name="groupBox">
33   <property name="geometry">
34    <rect>
35     <x>10</x>
36     <y>10</y>
37     <width>381</width>
38     <height>51</height>
39    </rect>
40   </property>
41   <property name="title">
42    <string>Result Name</string>
43   </property>
44   <widget class="QLineEdit" name="result_name">
45    <property name="geometry">
46     <rect>
47      <x>100</x>
48      <y>20</y>
49      <width>271</width>
50      <height>20</height>
51     </rect>
52    </property>
53    <property name="text">
54     <string>magnet_system</string>
55    </property>
56   </widget>
57   <widget class="QLabel" name="label">
58    <property name="geometry">
59     <rect>
60      <x>40</x>
61      <y>20</y>
62      <width>47</width>
63      <height>13</height>
64     </rect>
65    </property>
66    <property name="text">
67     <string>Name</string>
68    </property>
69    <property name="alignment">
70     <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
71    </property>
72   </widget>
73  </widget>
74  <widget class="QGroupBox" name="groupBox_2">
75   <property name="geometry">
76    <rect>
77     <x>10</x>
78     <y>70</y>
79     <width>121</width>
80     <height>151</height>
81    </rect>
82   </property>
83   <property name="title">
84    <string>Magnet groups</string>
85   </property>
86   <widget class="QCheckBox" name="checkBox_toroidal">
87    <property name="geometry">
88     <rect>
89      <x>10</x>
90      <y>30</y>
91      <width>70</width>
92      <height>17</height>
93     </rect>
94    </property>
95    <property name="text">
96     <string>Toroidal</string>
97    </property>
98    <property name="checkable">
99     <bool>true</bool>
100    </property>
101    <property name="checked">
102     <bool>true</bool>
103    </property>
104   </widget>
105   <widget class="QCheckBox" name="checkBox_poloidal">
106    <property name="geometry">
107     <rect>
108      <x>10</x>
109      <y>60</y>
110      <width>70</width>
111      <height>17</height>
112     </rect>
113    </property>
114    <property name="text">
115     <string>Poloidal</string>
116    </property>
117   </widget>
118   <widget class="QCheckBox" name="checkBox_control">
119    <property name="geometry">
120     <rect>
121      <x>10</x>
122      <y>90</y>
123      <width>70</width>
124      <height>17</height>
125     </rect>
126    </property>
127    <property name="text">
128     <string>Control</string>
129    </property>
130   </widget>
131  </widget>
132  <widget class="QComboBox" name="comboBox_lod">
133   <property name="geometry">
134    <rect>
135     <x>260</x>
136     <y>70</y>
137     <width>69</width>
138     <height>22</height>
139    </rect>
140   </property>
141   <item>
142    <property name="text">
143     <string>0</string>
144    </property>
145   </item>
146   <item>
147    <property name="text">
148     <string>1</string>
149    </property>
150   </item>
151   <item>
152    <property name="text">
153     <string>2</string>
154    </property>
155   </item>
156  </widget>
157  <widget class="QLabel" name="label_2">
158   <property name="geometry">
159    <rect>
160     <x>170</x>
161     <y>70</y>
162     <width>81</width>
163     <height>20</height>
164    </rect>
165   </property>
166   <property name="text">
167    <string>Level of Detail</string>
168   </property>
169   <property name="alignment">
170    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
171   </property>
172  </widget>
173  <widget class="QLabel" name="label_3">
174   <property name="geometry">
175    <rect>
176     <x>170</x>
177     <y>100</y>
178     <width>81</width>
179     <height>20</height>
180    </rect>
181   </property>
182   <property name="text">
183    <string>Angle</string>
184   </property>
185   <property name="alignment">
186    <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
187   </property>
188  </widget>
189  <widget class="QLineEdit" name="lineEdit_angle">
190   <property name="geometry">
191    <rect>
192     <x>260</x>
193     <y>100</y>
194     <width>71</width>
195     <height>20</height>
196    </rect>
197   </property>
198   <property name="text">
199    <string>90</string>
200   </property>
201  </widget>
202  <widget class="QLabel" name="label_4">
203   <property name="geometry">
204    <rect>
205     <x>150</x>
206     <y>130</y>
207     <width>211</width>
208     <height>221</height>
209    </rect>
210   </property>
211   <property name="text">
212    <string/>
213   </property>
214   <property name="pixmap">
215    <pixmap resource="ms.qrc">:/ms.png</pixmap>
216   </property>
217   <property name="scaledContents">
218    <bool>false</bool>
219   </property>
220  </widget>
221 </widget>
222 <resources>
223  <include location="ms.qrc"/>
224 </resources>
225 <connections>
226  <connection>
227   <sender>buttonBox</sender>
228   <signal>accepted()</signal>
229   <receiver>VacuumVessel</receiver>
230   <slot>accept()</slot>
231   <hints>
232    <hint type="sourcelabel">
233     <x>248</x>
234     <y>254</y>
235    </hint>
236    <hint type="destinationlabel">
237     <x>157</x>
238     <y>274</y>
239    </hint>
240   </hints>
241  </connection>
242  <connection>
243   <sender>buttonBox</sender>
244   <signal>rejected()</signal>
245   <receiver>VacuumVessel</receiver>
246   <slot>reject()</slot>
247   <hints>
248    <hint type="sourcelabel">
249     <x>316</x>
250     <y>260</y>
251    </hint>
252    <hint type="destinationlabel">
253     <x>286</x>
254     <y>274</y>
255    </hint>
256   </hints>
257  </connection>
258 </connections>
259</ui>