]> Shamusworld >> Repos - architektonas/blob - src/forms/layerdialog.ui
Fixed problem with MDI activation.
[architektonas] / src / forms / layerdialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>LayerDialog</class>
4  <widget class="QDialog" name="LayerDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>253</width>
10     <height>203</height>
11    </rect>
12   </property>
13   <property name="baseSize">
14    <size>
15     <width>0</width>
16     <height>0</height>
17    </size>
18   </property>
19   <property name="windowTitle">
20    <string>Layer Settings</string>
21   </property>
22   <property name="sizeGripEnabled">
23    <bool>false</bool>
24   </property>
25   <layout class="QVBoxLayout">
26    <property name="spacing">
27     <number>6</number>
28    </property>
29    <property name="margin">
30     <number>11</number>
31    </property>
32    <item>
33     <layout class="QHBoxLayout">
34      <item>
35       <widget class="QLabel" name="lName">
36        <property name="frameShape">
37         <enum>QFrame::NoFrame</enum>
38        </property>
39        <property name="frameShadow">
40         <enum>QFrame::Plain</enum>
41        </property>
42        <property name="text">
43         <string>Layer Name:</string>
44        </property>
45        <property name="wordWrap">
46         <bool>false</bool>
47        </property>
48       </widget>
49      </item>
50      <item>
51       <spacer name="spacer87">
52        <property name="orientation">
53         <enum>Qt::Horizontal</enum>
54        </property>
55        <property name="sizeType">
56         <enum>QSizePolicy::Expanding</enum>
57        </property>
58        <property name="sizeHint" stdset="0">
59         <size>
60          <width>51</width>
61          <height>21</height>
62         </size>
63        </property>
64       </spacer>
65      </item>
66      <item>
67       <widget class="QLineEdit" name="leName">
68        <property name="text">
69         <string/>
70        </property>
71       </widget>
72      </item>
73     </layout>
74    </item>
75    <item>
76     <widget class="WidgetPen" name="wPen" native="true"/>
77    </item>
78    <item>
79     <layout class="QHBoxLayout">
80      <item>
81       <spacer name="spacer1">
82        <property name="orientation">
83         <enum>Qt::Horizontal</enum>
84        </property>
85        <property name="sizeType">
86         <enum>QSizePolicy::Expanding</enum>
87        </property>
88        <property name="sizeHint" stdset="0">
89         <size>
90          <width>79</width>
91          <height>20</height>
92         </size>
93        </property>
94       </spacer>
95      </item>
96      <item>
97       <widget class="QPushButton" name="bOk">
98        <property name="text">
99         <string>&amp;OK</string>
100        </property>
101        <property name="shortcut">
102         <string>Alt+O</string>
103        </property>
104        <property name="autoDefault">
105         <bool>true</bool>
106        </property>
107        <property name="default">
108         <bool>true</bool>
109        </property>
110       </widget>
111      </item>
112      <item>
113       <widget class="QPushButton" name="bCancel">
114        <property name="text">
115         <string>Cancel</string>
116        </property>
117        <property name="shortcut">
118         <string>Esc</string>
119        </property>
120        <property name="autoDefault">
121         <bool>true</bool>
122        </property>
123       </widget>
124      </item>
125     </layout>
126    </item>
127   </layout>
128  </widget>
129  <layoutdefault spacing="6" margin="11"/>
130  <customwidgets>
131   <customwidget>
132    <class>WidgetPen</class>
133    <extends>QWidget</extends>
134    <header>widgetpen.h</header>
135   </customwidget>
136  </customwidgets>
137  <resources/>
138  <connections>
139   <connection>
140    <sender>bCancel</sender>
141    <signal>clicked()</signal>
142    <receiver>LayerDialog</receiver>
143    <slot>reject()</slot>
144    <hints>
145     <hint type="sourcelabel">
146      <x>20</x>
147      <y>20</y>
148     </hint>
149     <hint type="destinationlabel">
150      <x>20</x>
151      <y>20</y>
152     </hint>
153    </hints>
154   </connection>
155   <connection>
156    <sender>bOk</sender>
157    <signal>clicked()</signal>
158    <receiver>LayerDialog</receiver>
159    <slot>validate()</slot>
160    <hints>
161     <hint type="sourcelabel">
162      <x>20</x>
163      <y>20</y>
164     </hint>
165     <hint type="destinationlabel">
166      <x>20</x>
167      <y>20</y>
168     </hint>
169    </hints>
170   </connection>
171  </connections>
172 </ui>