]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgellipse.ui
Fixed problem with MDI activation.
[architektonas] / src / forms / dlgellipse.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgEllipse</class>
4  <widget class="QDialog" name="DlgEllipse">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>394</width>
10     <height>307</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>Ellipse</string>
27   </property>
28   <layout class="QVBoxLayout">
29    <item>
30     <layout class="QHBoxLayout">
31      <item>
32       <layout class="QVBoxLayout">
33        <item>
34         <layout class="QHBoxLayout">
35          <item>
36           <widget class="QLabel" name="lLayer">
37            <property name="sizePolicy">
38             <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
39              <horstretch>0</horstretch>
40              <verstretch>0</verstretch>
41             </sizepolicy>
42            </property>
43            <property name="text">
44             <string>Layer:</string>
45            </property>
46            <property name="wordWrap">
47             <bool>false</bool>
48            </property>
49           </widget>
50          </item>
51          <item>
52           <widget class="LayerBox" name="cbLayer" native="true"/>
53          </item>
54         </layout>
55        </item>
56        <item>
57         <widget class="WidgetPen" name="wPen" native="true">
58          <property name="sizePolicy">
59           <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
60            <horstretch>0</horstretch>
61            <verstretch>0</verstretch>
62           </sizepolicy>
63          </property>
64         </widget>
65        </item>
66       </layout>
67      </item>
68      <item>
69       <widget class="QGroupBox" name="buttonGroup8">
70        <property name="title">
71         <string>Geometry</string>
72        </property>
73        <layout class="QGridLayout">
74         <item row="1" column="0">
75          <widget class="QLabel" name="lCenterY">
76           <property name="text">
77            <string>Center (y):</string>
78           </property>
79           <property name="wordWrap">
80            <bool>false</bool>
81           </property>
82          </widget>
83         </item>
84         <item row="1" column="1">
85          <widget class="QLineEdit" name="leCenterY">
86           <property name="minimumSize">
87            <size>
88             <width>64</width>
89             <height>0</height>
90            </size>
91           </property>
92          </widget>
93         </item>
94         <item row="0" column="0">
95          <widget class="QLabel" name="lCenterX">
96           <property name="text">
97            <string>Center (x):</string>
98           </property>
99           <property name="wordWrap">
100            <bool>false</bool>
101           </property>
102          </widget>
103         </item>
104         <item row="0" column="1">
105          <widget class="QLineEdit" name="leCenterX">
106           <property name="minimumSize">
107            <size>
108             <width>64</width>
109             <height>0</height>
110            </size>
111           </property>
112          </widget>
113         </item>
114         <item row="8" column="0">
115          <spacer name="spacer58">
116           <property name="orientation">
117            <enum>Qt::Vertical</enum>
118           </property>
119           <property name="sizeType">
120            <enum>QSizePolicy::Expanding</enum>
121           </property>
122           <property name="sizeHint" stdset="0">
123            <size>
124             <width>20</width>
125             <height>20</height>
126            </size>
127           </property>
128          </spacer>
129         </item>
130         <item row="8" column="1">
131          <spacer name="spacer61">
132           <property name="orientation">
133            <enum>Qt::Vertical</enum>
134           </property>
135           <property name="sizeType">
136            <enum>QSizePolicy::Expanding</enum>
137           </property>
138           <property name="sizeHint" stdset="0">
139            <size>
140             <width>20</width>
141             <height>20</height>
142            </size>
143           </property>
144          </spacer>
145         </item>
146         <item row="6" column="0">
147          <widget class="QLabel" name="lAngle2">
148           <property name="text">
149            <string>End Angle:</string>
150           </property>
151           <property name="wordWrap">
152            <bool>false</bool>
153           </property>
154          </widget>
155         </item>
156         <item row="6" column="1">
157          <widget class="QLineEdit" name="leAngle2">
158           <property name="minimumSize">
159            <size>
160             <width>64</width>
161             <height>0</height>
162            </size>
163           </property>
164          </widget>
165         </item>
166         <item row="5" column="1">
167          <widget class="QLineEdit" name="leAngle1">
168           <property name="minimumSize">
169            <size>
170             <width>64</width>
171             <height>0</height>
172            </size>
173           </property>
174          </widget>
175         </item>
176         <item row="5" column="0">
177          <widget class="QLabel" name="lAngle1">
178           <property name="text">
179            <string>Start Angle:</string>
180           </property>
181           <property name="wordWrap">
182            <bool>false</bool>
183           </property>
184          </widget>
185         </item>
186         <item row="4" column="0">
187          <widget class="QLabel" name="lRotation">
188           <property name="text">
189            <string>Rotation:</string>
190           </property>
191           <property name="wordWrap">
192            <bool>false</bool>
193           </property>
194          </widget>
195         </item>
196         <item row="4" column="1">
197          <widget class="QLineEdit" name="leRotation">
198           <property name="minimumSize">
199            <size>
200             <width>64</width>
201             <height>0</height>
202            </size>
203           </property>
204          </widget>
205         </item>
206         <item row="3" column="1">
207          <widget class="QLineEdit" name="leMinor">
208           <property name="minimumSize">
209            <size>
210             <width>64</width>
211             <height>0</height>
212            </size>
213           </property>
214          </widget>
215         </item>
216         <item row="3" column="0">
217          <widget class="QLabel" name="lMinor">
218           <property name="text">
219            <string>Minor:</string>
220           </property>
221           <property name="wordWrap">
222            <bool>false</bool>
223           </property>
224          </widget>
225         </item>
226         <item row="2" column="0">
227          <widget class="QLabel" name="lMajor">
228           <property name="text">
229            <string>Major:</string>
230           </property>
231           <property name="wordWrap">
232            <bool>false</bool>
233           </property>
234          </widget>
235         </item>
236         <item row="2" column="1">
237          <widget class="QLineEdit" name="leMajor">
238           <property name="minimumSize">
239            <size>
240             <width>64</width>
241             <height>0</height>
242            </size>
243           </property>
244          </widget>
245         </item>
246         <item row="7" column="0" colspan="2">
247          <widget class="QCheckBox" name="cbReversed">
248           <property name="text">
249            <string>Reversed</string>
250           </property>
251          </widget>
252         </item>
253        </layout>
254       </widget>
255      </item>
256     </layout>
257    </item>
258    <item>
259     <layout class="QHBoxLayout">
260      <item>
261       <spacer name="spacer">
262        <property name="orientation">
263         <enum>Qt::Horizontal</enum>
264        </property>
265        <property name="sizeType">
266         <enum>QSizePolicy::Expanding</enum>
267        </property>
268        <property name="sizeHint" stdset="0">
269         <size>
270          <width>40</width>
271          <height>20</height>
272         </size>
273        </property>
274       </spacer>
275      </item>
276      <item>
277       <widget class="QPushButton" name="bOk">
278        <property name="text">
279         <string>&amp;OK</string>
280        </property>
281        <property name="shortcut">
282         <string>Alt+O</string>
283        </property>
284        <property name="default">
285         <bool>true</bool>
286        </property>
287       </widget>
288      </item>
289      <item>
290       <widget class="QPushButton" name="bCancel">
291        <property name="text">
292         <string>Cancel</string>
293        </property>
294        <property name="shortcut">
295         <string>Esc</string>
296        </property>
297       </widget>
298      </item>
299     </layout>
300    </item>
301   </layout>
302  </widget>
303  <layoutdefault spacing="6" margin="11"/>
304  <customwidgets>
305   <customwidget>
306    <class>LayerBox</class>
307    <extends>QWidget</extends>
308    <header>layerbox.h</header>
309   </customwidget>
310   <customwidget>
311    <class>WidgetPen</class>
312    <extends>QWidget</extends>
313    <header>widgetpen.h</header>
314   </customwidget>
315  </customwidgets>
316  <tabstops>
317   <tabstop>leCenterX</tabstop>
318   <tabstop>leCenterY</tabstop>
319   <tabstop>leMajor</tabstop>
320   <tabstop>leMinor</tabstop>
321   <tabstop>leRotation</tabstop>
322   <tabstop>leAngle1</tabstop>
323   <tabstop>leAngle2</tabstop>
324   <tabstop>cbReversed</tabstop>
325   <tabstop>bOk</tabstop>
326   <tabstop>bCancel</tabstop>
327  </tabstops>
328  <resources/>
329  <connections>
330   <connection>
331    <sender>bOk</sender>
332    <signal>clicked()</signal>
333    <receiver>DlgEllipse</receiver>
334    <slot>accept()</slot>
335    <hints>
336     <hint type="sourcelabel">
337      <x>20</x>
338      <y>20</y>
339     </hint>
340     <hint type="destinationlabel">
341      <x>20</x>
342      <y>20</y>
343     </hint>
344    </hints>
345   </connection>
346   <connection>
347    <sender>bCancel</sender>
348    <signal>clicked()</signal>
349    <receiver>DlgEllipse</receiver>
350    <slot>reject()</slot>
351    <hints>
352     <hint type="sourcelabel">
353      <x>20</x>
354      <y>20</y>
355     </hint>
356     <hint type="destinationlabel">
357      <x>20</x>
358      <y>20</y>
359     </hint>
360    </hints>
361   </connection>
362  </connections>
363 </ui>