]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgrotate.ui
Final round of dialogs/forms needing to be converted from Qt3 to 4
[architektonas] / src / forms / dlgrotate.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgRotate</class>
4  <widget class="QDialog" name="DlgRotate">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>338</width>
10     <height>192</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>Rotation 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>&amp;Cancel</string>
61        </property>
62        <property name="shortcut">
63         <string>Esc</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>146</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="sizePolicy">
159         <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
160          <horstretch>0</horstretch>
161          <verstretch>0</verstretch>
162         </sizepolicy>
163        </property>
164        <property name="minimumSize">
165         <size>
166          <width>0</width>
167          <height>0</height>
168         </size>
169        </property>
170        <property name="text">
171         <string/>
172        </property>
173        <property name="pixmap">
174         <pixmap resource="res/architektonas.qrc">:/res/qg_dlgmodifyrotate.xpm</pixmap>
175        </property>
176        <property name="alignment">
177         <set>Qt::AlignCenter</set>
178        </property>
179        <property name="wordWrap">
180         <bool>false</bool>
181        </property>
182       </widget>
183      </item>
184      <item>
185       <layout class="QHBoxLayout">
186        <item>
187         <widget class="QLabel" name="lAngle">
188          <property name="text">
189           <string>&amp;Angle (a):</string>
190          </property>
191          <property name="wordWrap">
192           <bool>false</bool>
193          </property>
194          <property name="buddy">
195           <cstring>leAngle</cstring>
196          </property>
197         </widget>
198        </item>
199        <item>
200         <spacer name="spacer12">
201          <property name="orientation">
202           <enum>Qt::Horizontal</enum>
203          </property>
204          <property name="sizeType">
205           <enum>QSizePolicy::Expanding</enum>
206          </property>
207          <property name="sizeHint" stdset="0">
208           <size>
209            <width>31</width>
210            <height>20</height>
211           </size>
212          </property>
213         </spacer>
214        </item>
215        <item>
216         <widget class="QLineEdit" name="leAngle">
217          <property name="sizePolicy">
218           <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
219            <horstretch>0</horstretch>
220            <verstretch>0</verstretch>
221           </sizepolicy>
222          </property>
223         </widget>
224        </item>
225       </layout>
226      </item>
227      <item>
228       <widget class="QCheckBox" name="cbCurrentAttributes">
229        <property name="text">
230         <string>Use current &amp;attributes</string>
231        </property>
232       </widget>
233      </item>
234      <item>
235       <widget class="QCheckBox" name="cbCurrentLayer">
236        <property name="text">
237         <string>Use current &amp;layer</string>
238        </property>
239       </widget>
240      </item>
241     </layout>
242    </item>
243   </layout>
244  </widget>
245  <layoutdefault spacing="6" margin="11"/>
246  <resources>
247   <include location="res/architektonas.qrc"/>
248  </resources>
249  <connections>
250   <connection>
251    <sender>rbMove</sender>
252    <signal>toggled(bool)</signal>
253    <receiver>leNumber</receiver>
254    <slot>setDisabled(bool)</slot>
255    <hints>
256     <hint type="sourcelabel">
257      <x>20</x>
258      <y>20</y>
259     </hint>
260     <hint type="destinationlabel">
261      <x>20</x>
262      <y>20</y>
263     </hint>
264    </hints>
265   </connection>
266   <connection>
267    <sender>rbCopy</sender>
268    <signal>toggled(bool)</signal>
269    <receiver>leNumber</receiver>
270    <slot>setDisabled(bool)</slot>
271    <hints>
272     <hint type="sourcelabel">
273      <x>20</x>
274      <y>20</y>
275     </hint>
276     <hint type="destinationlabel">
277      <x>20</x>
278      <y>20</y>
279     </hint>
280    </hints>
281   </connection>
282   <connection>
283    <sender>rbMultiCopy</sender>
284    <signal>toggled(bool)</signal>
285    <receiver>leNumber</receiver>
286    <slot>setEnabled(bool)</slot>
287    <hints>
288     <hint type="sourcelabel">
289      <x>20</x>
290      <y>20</y>
291     </hint>
292     <hint type="destinationlabel">
293      <x>20</x>
294      <y>20</y>
295     </hint>
296    </hints>
297   </connection>
298   <connection>
299    <sender>bOk</sender>
300    <signal>clicked()</signal>
301    <receiver>DlgRotate</receiver>
302    <slot>accept()</slot>
303    <hints>
304     <hint type="sourcelabel">
305      <x>20</x>
306      <y>20</y>
307     </hint>
308     <hint type="destinationlabel">
309      <x>20</x>
310      <y>20</y>
311     </hint>
312    </hints>
313   </connection>
314   <connection>
315    <sender>bCancel</sender>
316    <signal>clicked()</signal>
317    <receiver>DlgRotate</receiver>
318    <slot>reject()</slot>
319    <hints>
320     <hint type="sourcelabel">
321      <x>20</x>
322      <y>20</y>
323     </hint>
324     <hint type="destinationlabel">
325      <x>20</x>
326      <y>20</y>
327     </hint>
328    </hints>
329   </connection>
330  </connections>
331 </ui>