]> Shamusworld >> Repos - architektonas/blob - src/forms/dlgline.ui
Final round of dialogs/forms needing to be converted from Qt3 to 4
[architektonas] / src / forms / dlgline.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>DlgLine</class>
4  <widget class="QDialog" name="DlgLine">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>457</width>
10     <height>195</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>Line</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="5" column="0">
75          <widget class="QLabel" name="lEndX">
76           <property name="text">
77            <string>End point (x):</string>
78           </property>
79           <property name="wordWrap">
80            <bool>false</bool>
81           </property>
82          </widget>
83         </item>
84         <item row="5" column="1">
85          <widget class="QLineEdit" name="leEndX">
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="7" column="1">
95          <widget class="QLineEdit" name="leEndY">
96           <property name="minimumSize">
97            <size>
98             <width>64</width>
99             <height>0</height>
100            </size>
101           </property>
102          </widget>
103         </item>
104         <item row="7" column="0">
105          <widget class="QLabel" name="lEndY">
106           <property name="text">
107            <string>End point (y):</string>
108           </property>
109           <property name="wordWrap">
110            <bool>false</bool>
111           </property>
112          </widget>
113         </item>
114         <item row="3" column="0">
115          <widget class="QLabel" name="lStartY">
116           <property name="text">
117            <string>Start point (y):</string>
118           </property>
119           <property name="wordWrap">
120            <bool>false</bool>
121           </property>
122          </widget>
123         </item>
124         <item row="3" column="1">
125          <widget class="QLineEdit" name="leStartY">
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="1" column="0">
135          <widget class="QLabel" name="lStartX">
136           <property name="text">
137            <string>Start point (x):</string>
138           </property>
139           <property name="wordWrap">
140            <bool>false</bool>
141           </property>
142          </widget>
143         </item>
144         <item row="1" column="1">
145          <widget class="QLineEdit" name="leStartX">
146           <property name="minimumSize">
147            <size>
148             <width>64</width>
149             <height>0</height>
150            </size>
151           </property>
152          </widget>
153         </item>
154         <item row="8" column="1">
155          <spacer name="spacer61">
156           <property name="orientation">
157            <enum>Qt::Vertical</enum>
158           </property>
159           <property name="sizeType">
160            <enum>QSizePolicy::Expanding</enum>
161           </property>
162           <property name="sizeHint" stdset="0">
163            <size>
164             <width>20</width>
165             <height>1</height>
166            </size>
167           </property>
168          </spacer>
169         </item>
170         <item row="8" column="0">
171          <spacer name="spacer58">
172           <property name="orientation">
173            <enum>Qt::Vertical</enum>
174           </property>
175           <property name="sizeType">
176            <enum>QSizePolicy::Expanding</enum>
177           </property>
178           <property name="sizeHint" stdset="0">
179            <size>
180             <width>20</width>
181             <height>1</height>
182            </size>
183           </property>
184          </spacer>
185         </item>
186        </layout>
187       </widget>
188      </item>
189     </layout>
190    </item>
191    <item>
192     <layout class="QHBoxLayout">
193      <item>
194       <spacer name="spacer">
195        <property name="orientation">
196         <enum>Qt::Horizontal</enum>
197        </property>
198        <property name="sizeType">
199         <enum>QSizePolicy::Expanding</enum>
200        </property>
201        <property name="sizeHint" stdset="0">
202         <size>
203          <width>40</width>
204          <height>20</height>
205         </size>
206        </property>
207       </spacer>
208      </item>
209      <item>
210       <widget class="QPushButton" name="bOk">
211        <property name="text">
212         <string>&amp;OK</string>
213        </property>
214        <property name="default">
215         <bool>true</bool>
216        </property>
217       </widget>
218      </item>
219      <item>
220       <widget class="QPushButton" name="bCancel">
221        <property name="text">
222         <string>Cancel</string>
223        </property>
224        <property name="shortcut">
225         <string>Esc</string>
226        </property>
227       </widget>
228      </item>
229     </layout>
230    </item>
231   </layout>
232  </widget>
233  <layoutdefault spacing="6" margin="11"/>
234  <customwidgets>
235   <customwidget>
236    <class>QG_LayerBox</class>
237    <extends>QWidget</extends>
238    <header>qg_layerbox.h</header>
239   </customwidget>
240   <customwidget>
241    <class>WidgetPen</class>
242    <extends>QWidget</extends>
243    <header>widgetpen.h</header>
244   </customwidget>
245  </customwidgets>
246  <tabstops>
247   <tabstop>leStartX</tabstop>
248   <tabstop>leStartY</tabstop>
249   <tabstop>leEndX</tabstop>
250   <tabstop>leEndY</tabstop>
251   <tabstop>bOk</tabstop>
252   <tabstop>bCancel</tabstop>
253  </tabstops>
254  <resources/>
255  <connections>
256   <connection>
257    <sender>bOk</sender>
258    <signal>clicked()</signal>
259    <receiver>DlgLine</receiver>
260    <slot>accept()</slot>
261    <hints>
262     <hint type="sourcelabel">
263      <x>20</x>
264      <y>20</y>
265     </hint>
266     <hint type="destinationlabel">
267      <x>20</x>
268      <y>20</y>
269     </hint>
270    </hints>
271   </connection>
272   <connection>
273    <sender>bCancel</sender>
274    <signal>clicked()</signal>
275    <receiver>DlgLine</receiver>
276    <slot>reject()</slot>
277    <hints>
278     <hint type="sourcelabel">
279      <x>20</x>
280      <y>20</y>
281     </hint>
282     <hint type="destinationlabel">
283      <x>20</x>
284      <y>20</y>
285     </hint>
286    </hints>
287   </connection>
288  </connections>
289 </ui>