]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgrotate2.ui
Final round of dialogs/forms needing to be converted from Qt3 to 4
[architektonas] / src / forms / dlgrotate2.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgRotate2</class>
4  <widget class="QDialog" name="DlgRotate2">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>364</width>
10     <height>222</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>300</width>
22     <height>190</height>
23    </size>
24   </property>
25   <property name="windowTitle">
26    <string>Rotate Two Options</string>
27   </property>
28   <layout class="QGridLayout">
29    <item row="1" column="0" colspan="2">
30     <layout class="QHBoxLayout">
31      <item>
32       <spacer name="spacer">
33        <property name="orientation">
34         <enum>Qt::Horizontal</enum>
35        </property>
36        <property name="sizeType">
37         <enum>QSizePolicy::Expanding</enum>
38        </property>
39        <property name="sizeHint" stdset="0">
40         <size>
41          <width>40</width>
42          <height>20</height>
43         </size>
44        </property>
45       </spacer>
46      </item>
47      <item>
48       <widget class="QPushButton" name="bOk">
49        <property name="text">
50         <string>&amp;OK</string>
51        </property>
52        <property name="default">
53         <bool>true</bool>
54        </property>
55       </widget>
56      </item>
57      <item>
58       <widget class="QPushButton" name="bCancel">
59        <property name="text">
60         <string>Cancel</string>
61        </property>
62        <property name="shortcut">
63         <string/>
64        </property>
65       </widget>
66      </item>
67     </layout>
68    </item>
69    <item row="0" column="0">
70     <widget class="QGroupBox" name="bgNumber">
71      <property name="title">
72       <string>Number of copies</string>
73      </property>
74      <layout class="QVBoxLayout">
75       <item>
76        <widget class="QRadioButton" name="rbMove">
77         <property name="sizePolicy">
78          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
79           <horstretch>0</horstretch>
80           <verstretch>0</verstretch>
81          </sizepolicy>
82         </property>
83         <property name="minimumSize">
84          <size>
85           <width>0</width>
86           <height>18</height>
87          </size>
88         </property>
89         <property name="text">
90          <string>&amp;Delete Original</string>
91         </property>
92        </widget>
93       </item>
94       <item>
95        <widget class="QRadioButton" name="rbCopy">
96         <property name="sizePolicy">
97          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
98           <horstretch>0</horstretch>
99           <verstretch>0</verstretch>
100          </sizepolicy>
101         </property>
102         <property name="minimumSize">
103          <size>
104           <width>0</width>
105           <height>18</height>
106          </size>
107         </property>
108         <property name="text">
109          <string>&amp;Keep Original</string>
110         </property>
111        </widget>
112       </item>
113       <item>
114        <widget class="QRadioButton" name="rbMultiCopy">
115         <property name="sizePolicy">
116          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
117           <horstretch>0</horstretch>
118           <verstretch>0</verstretch>
119          </sizepolicy>
120         </property>
121         <property name="minimumSize">
122          <size>
123           <width>0</width>
124           <height>18</height>
125          </size>
126         </property>
127         <property name="text">
128          <string>&amp;Multiple Copies</string>
129         </property>
130        </widget>
131       </item>
132       <item>
133        <widget class="QLineEdit" name="leNumber"/>
134       </item>
135       <item>
136        <spacer name="spacer7">
137         <property name="orientation">
138          <enum>Qt::Vertical</enum>
139         </property>
140         <property name="sizeType">
141          <enum>QSizePolicy::Expanding</enum>
142         </property>
143         <property name="sizeHint" stdset="0">
144          <size>
145           <width>20</width>
146           <height>21</height>
147          </size>
148         </property>
149        </spacer>
150       </item>
151      </layout>
152     </widget>
153    </item>
154    <item row="0" column="1">
155     <layout class="QVBoxLayout">
156      <item>
157       <widget class="QLabel" name="lHelp">
158        <property name="text">
159         <string/>
160        </property>
161        <property name="pixmap">
162         <pixmap resource="res/architektonas.qrc">:/res/qg_dlgmodifyrotate2.xpm</pixmap>
163        </property>
164        <property name="alignment">
165         <set>Qt::AlignCenter</set>
166        </property>
167        <property name="wordWrap">
168         <bool>false</bool>
169        </property>
170       </widget>
171      </item>
172      <item>
173       <layout class="QHBoxLayout">
174        <item>
175         <widget class="QLabel" name="lAngle1">
176          <property name="text">
177           <string>Angle (&amp;a):</string>
178          </property>
179          <property name="wordWrap">
180           <bool>false</bool>
181          </property>
182          <property name="buddy">
183           <cstring>leAngle1</cstring>
184          </property>
185         </widget>
186        </item>
187        <item>
188         <spacer name="spacer13_2">
189          <property name="orientation">
190           <enum>Qt::Horizontal</enum>
191          </property>
192          <property name="sizeType">
193           <enum>QSizePolicy::Expanding</enum>
194          </property>
195          <property name="sizeHint" stdset="0">
196           <size>
197            <width>41</width>
198            <height>20</height>
199           </size>
200          </property>
201         </spacer>
202        </item>
203        <item>
204         <widget class="QLineEdit" name="leAngle1"/>
205        </item>
206       </layout>
207      </item>
208      <item>
209       <layout class="QHBoxLayout">
210        <item>
211         <widget class="QLabel" name="lAngle2">
212          <property name="text">
213           <string>Angle (&amp;b):</string>
214          </property>
215          <property name="wordWrap">
216           <bool>false</bool>
217          </property>
218          <property name="buddy">
219           <cstring>leAngle2</cstring>
220          </property>
221         </widget>
222        </item>
223        <item>
224         <spacer name="spacer13">
225          <property name="orientation">
226           <enum>Qt::Horizontal</enum>
227          </property>
228          <property name="sizeType">
229           <enum>QSizePolicy::Expanding</enum>
230          </property>
231          <property name="sizeHint" stdset="0">
232           <size>
233            <width>41</width>
234            <height>20</height>
235           </size>
236          </property>
237         </spacer>
238        </item>
239        <item>
240         <widget class="QLineEdit" name="leAngle2"/>
241        </item>
242       </layout>
243      </item>
244      <item>
245       <widget class="QCheckBox" name="cbCurrentAttributes">
246        <property name="text">
247         <string>Use current &amp;attributes</string>
248        </property>
249       </widget>
250      </item>
251      <item>
252       <widget class="QCheckBox" name="cbCurrentLayer">
253        <property name="text">
254         <string>Use current &amp;layer</string>
255        </property>
256       </widget>
257      </item>
258     </layout>
259    </item>
260   </layout>
261  </widget>
262  <layoutdefault spacing="6" margin="11"/>
263  <resources>
264   <include location="res/architektonas.qrc"/>
265  </resources>
266  <connections>
267   <connection>
268    <sender>rbMove</sender>
269    <signal>toggled(bool)</signal>
270    <receiver>leNumber</receiver>
271    <slot>setDisabled(bool)</slot>
272    <hints>
273     <hint type="sourcelabel">
274      <x>20</x>
275      <y>20</y>
276     </hint>
277     <hint type="destinationlabel">
278      <x>20</x>
279      <y>20</y>
280     </hint>
281    </hints>
282   </connection>
283   <connection>
284    <sender>rbCopy</sender>
285    <signal>toggled(bool)</signal>
286    <receiver>leNumber</receiver>
287    <slot>setDisabled(bool)</slot>
288    <hints>
289     <hint type="sourcelabel">
290      <x>20</x>
291      <y>20</y>
292     </hint>
293     <hint type="destinationlabel">
294      <x>20</x>
295      <y>20</y>
296     </hint>
297    </hints>
298   </connection>
299   <connection>
300    <sender>rbMultiCopy</sender>
301    <signal>toggled(bool)</signal>
302    <receiver>leNumber</receiver>
303    <slot>setEnabled(bool)</slot>
304    <hints>
305     <hint type="sourcelabel">
306      <x>20</x>
307      <y>20</y>
308     </hint>
309     <hint type="destinationlabel">
310      <x>20</x>
311      <y>20</y>
312     </hint>
313    </hints>
314   </connection>
315   <connection>
316    <sender>bOk</sender>
317    <signal>clicked()</signal>
318    <receiver>DlgRotate2</receiver>
319    <slot>accept()</slot>
320    <hints>
321     <hint type="sourcelabel">
322      <x>20</x>
323      <y>20</y>
324     </hint>
325     <hint type="destinationlabel">
326      <x>20</x>
327      <y>20</y>
328     </hint>
329    </hints>
330   </connection>
331   <connection>
332    <sender>bCancel</sender>
333    <signal>clicked()</signal>
334    <receiver>DlgRotate2</receiver>
335    <slot>reject()</slot>
336    <hints>
337     <hint type="sourcelabel">
338      <x>20</x>
339      <y>20</y>
340     </hint>
341     <hint type="destinationlabel">
342      <x>20</x>
343      <y>20</y>
344     </hint>
345    </hints>
346   </connection>
347  </connections>
348 </ui>