]> Shamusworld >> Repos - architektonas/blob - src/forms/blockdialog.ui
Fixed problem with MDI activation.
[architektonas] / src / forms / blockdialog.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>BlockDialog</class>
4  <widget class="QDialog" name="BlockDialog">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>253</width>
10     <height>79</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>Block 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>Block 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>29</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     <layout class="QHBoxLayout">
77      <item>
78       <spacer name="spacer1">
79        <property name="orientation">
80         <enum>Qt::Horizontal</enum>
81        </property>
82        <property name="sizeType">
83         <enum>QSizePolicy::Expanding</enum>
84        </property>
85        <property name="sizeHint" stdset="0">
86         <size>
87          <width>79</width>
88          <height>20</height>
89         </size>
90        </property>
91       </spacer>
92      </item>
93      <item>
94       <widget class="QPushButton" name="bOk">
95        <property name="text">
96         <string>&amp;OK</string>
97        </property>
98        <property name="shortcut">
99         <string>Alt+O</string>
100        </property>
101        <property name="autoDefault">
102         <bool>true</bool>
103        </property>
104        <property name="default">
105         <bool>true</bool>
106        </property>
107       </widget>
108      </item>
109      <item>
110       <widget class="QPushButton" name="bCancel">
111        <property name="text">
112         <string>Cancel</string>
113        </property>
114        <property name="shortcut">
115         <string>Esc</string>
116        </property>
117        <property name="autoDefault">
118         <bool>true</bool>
119        </property>
120       </widget>
121      </item>
122     </layout>
123    </item>
124   </layout>
125  </widget>
126  <layoutdefault spacing="6" margin="11"/>
127  <resources/>
128  <connections>
129   <connection>
130    <sender>bCancel</sender>
131    <signal>clicked()</signal>
132    <receiver>BlockDialog</receiver>
133    <slot>reject()</slot>
134    <hints>
135     <hint type="sourcelabel">
136      <x>20</x>
137      <y>20</y>
138     </hint>
139     <hint type="destinationlabel">
140      <x>20</x>
141      <y>20</y>
142     </hint>
143    </hints>
144   </connection>
145   <connection>
146    <sender>bOk</sender>
147    <signal>clicked()</signal>
148    <receiver>BlockDialog</receiver>
149    <slot>validate()</slot>
150    <hints>
151     <hint type="sourcelabel">
152      <x>20</x>
153      <y>20</y>
154     </hint>
155     <hint type="destinationlabel">
156      <x>20</x>
157      <y>20</y>
158     </hint>
159    </hints>
160   </connection>
161  </connections>
162 </ui>