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