]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgcircle.ui
Final round of dialogs/forms needing to be converted from Qt3 to 4
[architektonas] / src / forms / dlgcircle.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgCircle</class>
4  <widget class="QDialog" name="DlgCircle">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>380</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>Circle</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="QG_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="2" column="0">
75          <widget class="QLabel" name="lEndX">
76           <property name="text">
77            <string>Radius:</string>
78           </property>
79           <property name="wordWrap">
80            <bool>false</bool>
81           </property>
82          </widget>
83         </item>
84         <item row="2" column="1">
85          <widget class="QLineEdit" name="leRadius">
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="1" column="0">
95          <widget class="QLabel" name="lCenterY">
96           <property name="text">
97            <string>Center (y):</string>
98           </property>
99           <property name="wordWrap">
100            <bool>false</bool>
101           </property>
102          </widget>
103         </item>
104         <item row="1" column="1">
105          <widget class="QLineEdit" name="leCenterY">
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="0" column="0">
115          <widget class="QLabel" name="lCenterX">
116           <property name="text">
117            <string>Center (x):</string>
118           </property>
119           <property name="wordWrap">
120            <bool>false</bool>
121           </property>
122          </widget>
123         </item>
124         <item row="0" column="1">
125          <widget class="QLineEdit" name="leCenterX">
126           <property name="minimumSize">
127            <size>
128             <width>64</width>
129             <height>0</height>
130            </size>
131           </property>
132          </widget>
133         </item>
134         <item row="3" column="0">
135          <spacer name="spacer58">
136           <property name="orientation">
137            <enum>Qt::Vertical</enum>
138           </property>
139           <property name="sizeType">
140            <enum>QSizePolicy::Expanding</enum>
141           </property>
142           <property name="sizeHint" stdset="0">
143            <size>
144             <width>20</width>
145             <height>20</height>
146            </size>
147           </property>
148          </spacer>
149         </item>
150         <item row="3" column="1">
151          <spacer name="spacer61">
152           <property name="orientation">
153            <enum>Qt::Vertical</enum>
154           </property>
155           <property name="sizeType">
156            <enum>QSizePolicy::Expanding</enum>
157           </property>
158           <property name="sizeHint" stdset="0">
159            <size>
160             <width>20</width>
161             <height>20</height>
162            </size>
163           </property>
164          </spacer>
165         </item>
166        </layout>
167       </widget>
168      </item>
169     </layout>
170    </item>
171    <item>
172     <layout class="QHBoxLayout">
173      <item>
174       <spacer name="spacer">
175        <property name="orientation">
176         <enum>Qt::Horizontal</enum>
177        </property>
178        <property name="sizeType">
179         <enum>QSizePolicy::Expanding</enum>
180        </property>
181        <property name="sizeHint" stdset="0">
182         <size>
183          <width>40</width>
184          <height>20</height>
185         </size>
186        </property>
187       </spacer>
188      </item>
189      <item>
190       <widget class="QPushButton" name="bOk">
191        <property name="text">
192         <string>&amp;OK</string>
193        </property>
194        <property name="shortcut">
195         <string>Alt+O</string>
196        </property>
197        <property name="default">
198         <bool>true</bool>
199        </property>
200       </widget>
201      </item>
202      <item>
203       <widget class="QPushButton" name="bCancel">
204        <property name="text">
205         <string>Cancel</string>
206        </property>
207        <property name="shortcut">
208         <string>Esc</string>
209        </property>
210       </widget>
211      </item>
212     </layout>
213    </item>
214   </layout>
215  </widget>
216  <layoutdefault spacing="6" margin="11"/>
217  <customwidgets>
218   <customwidget>
219    <class>QG_LayerBox</class>
220    <extends>QWidget</extends>
221    <header>qg_layerbox.h</header>
222   </customwidget>
223   <customwidget>
224    <class>WidgetPen</class>
225    <extends>QWidget</extends>
226    <header>widgetpen.h</header>
227   </customwidget>
228  </customwidgets>
229  <tabstops>
230   <tabstop>leCenterX</tabstop>
231   <tabstop>leCenterY</tabstop>
232   <tabstop>leRadius</tabstop>
233   <tabstop>bOk</tabstop>
234   <tabstop>bCancel</tabstop>
235  </tabstops>
236  <resources/>
237  <connections>
238   <connection>
239    <sender>bOk</sender>
240    <signal>clicked()</signal>
241    <receiver>DlgCircle</receiver>
242    <slot>accept()</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>bCancel</sender>
256    <signal>clicked()</signal>
257    <receiver>DlgCircle</receiver>
258    <slot>reject()</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  </connections>
271 </ui>