]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgmove.ui
Fixed problem with MDI activation.
[architektonas] / src / forms / dlgmove.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgMove</class>
4  <widget class="QDialog" name="DlgMove">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>326</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>Moving Options</string>
27   </property>
28   <layout class="QGridLayout">
29    <item row="0" column="1">
30     <widget class="QLabel" name="lHelp">
31      <property name="text">
32       <string/>
33      </property>
34      <property name="pixmap">
35       <pixmap resource="res/architektonas.qrc">:/res/qg_dlgmodifymove.xpm</pixmap>
36      </property>
37      <property name="alignment">
38       <set>Qt::AlignCenter</set>
39      </property>
40      <property name="wordWrap">
41       <bool>false</bool>
42      </property>
43     </widget>
44    </item>
45    <item row="0" column="0" rowspan="3">
46     <widget class="QGroupBox" name="bgNumber">
47      <property name="title">
48       <string>Number of copies</string>
49      </property>
50      <layout class="QVBoxLayout">
51       <item>
52        <widget class="QRadioButton" name="rbMove">
53         <property name="sizePolicy">
54          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
55           <horstretch>0</horstretch>
56           <verstretch>0</verstretch>
57          </sizepolicy>
58         </property>
59         <property name="minimumSize">
60          <size>
61           <width>0</width>
62           <height>18</height>
63          </size>
64         </property>
65         <property name="text">
66          <string>&amp;Delete Original</string>
67         </property>
68        </widget>
69       </item>
70       <item>
71        <widget class="QRadioButton" name="rbCopy">
72         <property name="sizePolicy">
73          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
74           <horstretch>0</horstretch>
75           <verstretch>0</verstretch>
76          </sizepolicy>
77         </property>
78         <property name="minimumSize">
79          <size>
80           <width>0</width>
81           <height>18</height>
82          </size>
83         </property>
84         <property name="text">
85          <string>&amp;Keep Original</string>
86         </property>
87        </widget>
88       </item>
89       <item>
90        <widget class="QRadioButton" name="rbMultiCopy">
91         <property name="sizePolicy">
92          <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
93           <horstretch>0</horstretch>
94           <verstretch>0</verstretch>
95          </sizepolicy>
96         </property>
97         <property name="minimumSize">
98          <size>
99           <width>0</width>
100           <height>18</height>
101          </size>
102         </property>
103         <property name="text">
104          <string>&amp;Multiple Copies</string>
105         </property>
106        </widget>
107       </item>
108       <item>
109        <widget class="QLineEdit" name="leNumber"/>
110       </item>
111       <item>
112        <spacer name="spacer7">
113         <property name="orientation">
114          <enum>Qt::Vertical</enum>
115         </property>
116         <property name="sizeType">
117          <enum>QSizePolicy::Expanding</enum>
118         </property>
119         <property name="sizeHint" stdset="0">
120          <size>
121           <width>20</width>
122           <height>130</height>
123          </size>
124         </property>
125        </spacer>
126       </item>
127      </layout>
128     </widget>
129    </item>
130    <item row="1" column="1">
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 row="2" column="1">
138     <widget class="QCheckBox" name="cbCurrentLayer">
139      <property name="text">
140       <string>Use current &amp;layer</string>
141      </property>
142     </widget>
143    </item>
144    <item row="3" column="0" colspan="2">
145     <layout class="QHBoxLayout">
146      <item>
147       <spacer name="spacer">
148        <property name="orientation">
149         <enum>Qt::Horizontal</enum>
150        </property>
151        <property name="sizeType">
152         <enum>QSizePolicy::Expanding</enum>
153        </property>
154        <property name="sizeHint" stdset="0">
155         <size>
156          <width>40</width>
157          <height>20</height>
158         </size>
159        </property>
160       </spacer>
161      </item>
162      <item>
163       <widget class="QPushButton" name="bOk">
164        <property name="text">
165         <string>&amp;OK</string>
166        </property>
167        <property name="shortcut">
168         <string>Alt+O</string>
169        </property>
170        <property name="default">
171         <bool>true</bool>
172        </property>
173       </widget>
174      </item>
175      <item>
176       <widget class="QPushButton" name="bCancel">
177        <property name="text">
178         <string>Cancel</string>
179        </property>
180        <property name="shortcut">
181         <string>Esc</string>
182        </property>
183       </widget>
184      </item>
185     </layout>
186    </item>
187   </layout>
188  </widget>
189  <layoutdefault spacing="6" margin="11"/>
190  <resources>
191   <include location="res/architektonas.qrc"/>
192  </resources>
193  <connections>
194   <connection>
195    <sender>rbMove</sender>
196    <signal>toggled(bool)</signal>
197    <receiver>leNumber</receiver>
198    <slot>setDisabled(bool)</slot>
199    <hints>
200     <hint type="sourcelabel">
201      <x>20</x>
202      <y>20</y>
203     </hint>
204     <hint type="destinationlabel">
205      <x>20</x>
206      <y>20</y>
207     </hint>
208    </hints>
209   </connection>
210   <connection>
211    <sender>rbCopy</sender>
212    <signal>toggled(bool)</signal>
213    <receiver>leNumber</receiver>
214    <slot>setDisabled(bool)</slot>
215    <hints>
216     <hint type="sourcelabel">
217      <x>20</x>
218      <y>20</y>
219     </hint>
220     <hint type="destinationlabel">
221      <x>20</x>
222      <y>20</y>
223     </hint>
224    </hints>
225   </connection>
226   <connection>
227    <sender>rbMultiCopy</sender>
228    <signal>toggled(bool)</signal>
229    <receiver>leNumber</receiver>
230    <slot>setEnabled(bool)</slot>
231    <hints>
232     <hint type="sourcelabel">
233      <x>20</x>
234      <y>20</y>
235     </hint>
236     <hint type="destinationlabel">
237      <x>20</x>
238      <y>20</y>
239     </hint>
240    </hints>
241   </connection>
242   <connection>
243    <sender>bOk</sender>
244    <signal>clicked()</signal>
245    <receiver>DlgMove</receiver>
246    <slot>accept()</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>bCancel</sender>
260    <signal>clicked()</signal>
261    <receiver>DlgMove</receiver>
262    <slot>reject()</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  </connections>
275 </ui>