]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgmoverotate.ui
Fixed problem with MDI activation.
[architektonas] / src / forms / dlgmoverotate.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgMoveRotate</class>
4  <widget class="QDialog" name="DlgMoveRotate">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>338</width>
10     <height>219</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>Move/Rotate 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>Esc</string>
64        </property>
65       </widget>
66      </item>
67     </layout>
68    </item>
69    <item row="0" column="1">
70     <layout class="QVBoxLayout">
71      <item>
72       <widget class="QLabel" name="lHelp">
73        <property name="text">
74         <string/>
75        </property>
76        <property name="pixmap">
77         <pixmap resource="res/architektonas.qrc">:/res/qg_dlgmodifymoverotate.xpm</pixmap>
78        </property>
79        <property name="alignment">
80         <set>Qt::AlignCenter</set>
81        </property>
82        <property name="wordWrap">
83         <bool>false</bool>
84        </property>
85       </widget>
86      </item>
87      <item>
88       <layout class="QHBoxLayout">
89        <item>
90         <widget class="QLabel" name="lAngle">
91          <property name="text">
92           <string>&amp;Angle (a):</string>
93          </property>
94          <property name="wordWrap">
95           <bool>false</bool>
96          </property>
97          <property name="buddy">
98           <cstring>leAngle</cstring>
99          </property>
100         </widget>
101        </item>
102        <item>
103         <spacer name="spacer13">
104          <property name="orientation">
105           <enum>Qt::Horizontal</enum>
106          </property>
107          <property name="sizeType">
108           <enum>QSizePolicy::Expanding</enum>
109          </property>
110          <property name="sizeHint" stdset="0">
111           <size>
112            <width>41</width>
113            <height>20</height>
114           </size>
115          </property>
116         </spacer>
117        </item>
118        <item>
119         <widget class="QLineEdit" name="leAngle"/>
120        </item>
121       </layout>
122      </item>
123      <item>
124       <widget class="QCheckBox" name="cbCurrentAttributes">
125        <property name="text">
126         <string>Use current &amp;attributes</string>
127        </property>
128       </widget>
129      </item>
130      <item>
131       <widget class="QCheckBox" name="cbCurrentLayer">
132        <property name="text">
133         <string>Use current &amp;layer</string>
134        </property>
135       </widget>
136      </item>
137     </layout>
138    </item>
139    <item row="0" column="0">
140     <widget class="QGroupBox" name="bgNumber">
141      <property name="title">
142       <string>Number of copies</string>
143      </property>
144      <layout class="QVBoxLayout">
145       <item>
146        <widget class="QRadioButton" name="rbMove">
147         <property name="sizePolicy">
148          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
149           <horstretch>0</horstretch>
150           <verstretch>0</verstretch>
151          </sizepolicy>
152         </property>
153         <property name="minimumSize">
154          <size>
155           <width>0</width>
156           <height>18</height>
157          </size>
158         </property>
159         <property name="text">
160          <string>&amp;Delete Original</string>
161         </property>
162        </widget>
163       </item>
164       <item>
165        <widget class="QRadioButton" name="rbCopy">
166         <property name="sizePolicy">
167          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
168           <horstretch>0</horstretch>
169           <verstretch>0</verstretch>
170          </sizepolicy>
171         </property>
172         <property name="minimumSize">
173          <size>
174           <width>0</width>
175           <height>18</height>
176          </size>
177         </property>
178         <property name="text">
179          <string>&amp;Keep Original</string>
180         </property>
181        </widget>
182       </item>
183       <item>
184        <widget class="QRadioButton" name="rbMultiCopy">
185         <property name="sizePolicy">
186          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
187           <horstretch>0</horstretch>
188           <verstretch>0</verstretch>
189          </sizepolicy>
190         </property>
191         <property name="minimumSize">
192          <size>
193           <width>0</width>
194           <height>18</height>
195          </size>
196         </property>
197         <property name="text">
198          <string>&amp;Multiple Copies</string>
199         </property>
200        </widget>
201       </item>
202       <item>
203        <widget class="QLineEdit" name="leNumber"/>
204       </item>
205       <item>
206        <spacer name="spacer7">
207         <property name="orientation">
208          <enum>Qt::Vertical</enum>
209         </property>
210         <property name="sizeType">
211          <enum>QSizePolicy::Expanding</enum>
212         </property>
213         <property name="sizeHint" stdset="0">
214          <size>
215           <width>20</width>
216           <height>21</height>
217          </size>
218         </property>
219        </spacer>
220       </item>
221      </layout>
222     </widget>
223    </item>
224   </layout>
225  </widget>
226  <layoutdefault spacing="6" margin="11"/>
227  <tabstops>
228   <tabstop>rbMove</tabstop>
229   <tabstop>rbCopy</tabstop>
230   <tabstop>rbMultiCopy</tabstop>
231   <tabstop>leNumber</tabstop>
232   <tabstop>leAngle</tabstop>
233   <tabstop>cbCurrentAttributes</tabstop>
234   <tabstop>cbCurrentLayer</tabstop>
235   <tabstop>bOk</tabstop>
236   <tabstop>bCancel</tabstop>
237  </tabstops>
238  <resources>
239   <include location="res/architektonas.qrc"/>
240  </resources>
241  <connections>
242   <connection>
243    <sender>rbMove</sender>
244    <signal>toggled(bool)</signal>
245    <receiver>leNumber</receiver>
246    <slot>setDisabled(bool)</slot>
247    <hints>
248     <hint type="sourcelabel">
249      <x>20</x>
250      <y>20</y>
251     </hint>
252     <hint type="destinationlabel">
253      <x>20</x>
254      <y>20</y>
255     </hint>
256    </hints>
257   </connection>
258   <connection>
259    <sender>rbCopy</sender>
260    <signal>toggled(bool)</signal>
261    <receiver>leNumber</receiver>
262    <slot>setDisabled(bool)</slot>
263    <hints>
264     <hint type="sourcelabel">
265      <x>20</x>
266      <y>20</y>
267     </hint>
268     <hint type="destinationlabel">
269      <x>20</x>
270      <y>20</y>
271     </hint>
272    </hints>
273   </connection>
274   <connection>
275    <sender>rbMultiCopy</sender>
276    <signal>toggled(bool)</signal>
277    <receiver>leNumber</receiver>
278    <slot>setEnabled(bool)</slot>
279    <hints>
280     <hint type="sourcelabel">
281      <x>20</x>
282      <y>20</y>
283     </hint>
284     <hint type="destinationlabel">
285      <x>20</x>
286      <y>20</y>
287     </hint>
288    </hints>
289   </connection>
290   <connection>
291    <sender>bOk</sender>
292    <signal>clicked()</signal>
293    <receiver>DlgMoveRotate</receiver>
294    <slot>accept()</slot>
295    <hints>
296     <hint type="sourcelabel">
297      <x>20</x>
298      <y>20</y>
299     </hint>
300     <hint type="destinationlabel">
301      <x>20</x>
302      <y>20</y>
303     </hint>
304    </hints>
305   </connection>
306   <connection>
307    <sender>bCancel</sender>
308    <signal>clicked()</signal>
309    <receiver>DlgMoveRotate</receiver>
310    <slot>reject()</slot>
311    <hints>
312     <hint type="sourcelabel">
313      <x>20</x>
314      <y>20</y>
315     </hint>
316     <hint type="destinationlabel">
317      <x>20</x>
318      <y>20</y>
319     </hint>
320    </hints>
321   </connection>
322  </connections>
323 </ui>