1 | <!DOCTYPE UI><UI version="3.1" stdsetdef="1">
|
---|
2 | <class>SqlEx</class>
|
---|
3 | <widget class="QWidget">
|
---|
4 | <property name="name">
|
---|
5 | <cstring>SqlEx</cstring>
|
---|
6 | </property>
|
---|
7 | <property name="geometry">
|
---|
8 | <rect>
|
---|
9 | <x>0</x>
|
---|
10 | <y>0</y>
|
---|
11 | <width>654</width>
|
---|
12 | <height>438</height>
|
---|
13 | </rect>
|
---|
14 | </property>
|
---|
15 | <property name="caption">
|
---|
16 | <string>Form1</string>
|
---|
17 | </property>
|
---|
18 | <vbox>
|
---|
19 | <property name="name">
|
---|
20 | <cstring>unnamed</cstring>
|
---|
21 | </property>
|
---|
22 | <property name="margin">
|
---|
23 | <number>11</number>
|
---|
24 | </property>
|
---|
25 | <property name="spacing">
|
---|
26 | <number>6</number>
|
---|
27 | </property>
|
---|
28 | <widget class="QSplitter">
|
---|
29 | <property name="name">
|
---|
30 | <cstring>vsplit</cstring>
|
---|
31 | </property>
|
---|
32 | <property name="orientation">
|
---|
33 | <enum>Vertical</enum>
|
---|
34 | </property>
|
---|
35 | <widget class="QSplitter">
|
---|
36 | <property name="name">
|
---|
37 | <cstring>hsplit</cstring>
|
---|
38 | </property>
|
---|
39 | <property name="orientation">
|
---|
40 | <enum>Horizontal</enum>
|
---|
41 | </property>
|
---|
42 | <widget class="QListView">
|
---|
43 | <column>
|
---|
44 | <property name="text">
|
---|
45 | <string>Tables</string>
|
---|
46 | </property>
|
---|
47 | <property name="clickable">
|
---|
48 | <bool>true</bool>
|
---|
49 | </property>
|
---|
50 | <property name="resizable">
|
---|
51 | <bool>true</bool>
|
---|
52 | </property>
|
---|
53 | </column>
|
---|
54 | <column>
|
---|
55 | <property name="text">
|
---|
56 | <string>Type</string>
|
---|
57 | </property>
|
---|
58 | <property name="clickable">
|
---|
59 | <bool>true</bool>
|
---|
60 | </property>
|
---|
61 | <property name="resizable">
|
---|
62 | <bool>true</bool>
|
---|
63 | </property>
|
---|
64 | </column>
|
---|
65 | <column>
|
---|
66 | <property name="text">
|
---|
67 | <string>Required</string>
|
---|
68 | </property>
|
---|
69 | <property name="clickable">
|
---|
70 | <bool>true</bool>
|
---|
71 | </property>
|
---|
72 | <property name="resizable">
|
---|
73 | <bool>true</bool>
|
---|
74 | </property>
|
---|
75 | </column>
|
---|
76 | <property name="name">
|
---|
77 | <cstring>lv</cstring>
|
---|
78 | </property>
|
---|
79 | <property name="margin">
|
---|
80 | <number>0</number>
|
---|
81 | </property>
|
---|
82 | <property name="allColumnsShowFocus">
|
---|
83 | <bool>true</bool>
|
---|
84 | </property>
|
---|
85 | <property name="rootIsDecorated">
|
---|
86 | <bool>true</bool>
|
---|
87 | </property>
|
---|
88 | <property name="resizeMode">
|
---|
89 | <enum>LastColumn</enum>
|
---|
90 | </property>
|
---|
91 | </widget>
|
---|
92 | <widget class="QDataTable">
|
---|
93 | <property name="name">
|
---|
94 | <cstring>dt</cstring>
|
---|
95 | </property>
|
---|
96 | <property name="frameworkCode" stdset="0">
|
---|
97 | <bool>false</bool>
|
---|
98 | </property>
|
---|
99 | </widget>
|
---|
100 | </widget>
|
---|
101 | <widget class="QGroupBox">
|
---|
102 | <property name="name">
|
---|
103 | <cstring>gb</cstring>
|
---|
104 | </property>
|
---|
105 | <property name="title">
|
---|
106 | <string>SQL Query</string>
|
---|
107 | </property>
|
---|
108 | <grid>
|
---|
109 | <property name="name">
|
---|
110 | <cstring>unnamed</cstring>
|
---|
111 | </property>
|
---|
112 | <property name="margin">
|
---|
113 | <number>11</number>
|
---|
114 | </property>
|
---|
115 | <property name="spacing">
|
---|
116 | <number>6</number>
|
---|
117 | </property>
|
---|
118 | <widget class="QLayoutWidget" row="0" column="0">
|
---|
119 | <property name="name">
|
---|
120 | <cstring>Layout22</cstring>
|
---|
121 | </property>
|
---|
122 | <vbox>
|
---|
123 | <property name="name">
|
---|
124 | <cstring>unnamed</cstring>
|
---|
125 | </property>
|
---|
126 | <property name="margin">
|
---|
127 | <number>0</number>
|
---|
128 | </property>
|
---|
129 | <property name="spacing">
|
---|
130 | <number>6</number>
|
---|
131 | </property>
|
---|
132 | <widget class="QTextEdit">
|
---|
133 | <property name="name">
|
---|
134 | <cstring>te</cstring>
|
---|
135 | </property>
|
---|
136 | </widget>
|
---|
137 | <widget class="QLayoutWidget">
|
---|
138 | <property name="name">
|
---|
139 | <cstring>Layout21</cstring>
|
---|
140 | </property>
|
---|
141 | <hbox>
|
---|
142 | <property name="name">
|
---|
143 | <cstring>unnamed</cstring>
|
---|
144 | </property>
|
---|
145 | <property name="margin">
|
---|
146 | <number>0</number>
|
---|
147 | </property>
|
---|
148 | <property name="spacing">
|
---|
149 | <number>6</number>
|
---|
150 | </property>
|
---|
151 | <spacer>
|
---|
152 | <property name="name">
|
---|
153 | <cstring>Spacer3</cstring>
|
---|
154 | </property>
|
---|
155 | <property name="orientation">
|
---|
156 | <enum>Horizontal</enum>
|
---|
157 | </property>
|
---|
158 | <property name="sizeType">
|
---|
159 | <enum>Expanding</enum>
|
---|
160 | </property>
|
---|
161 | <property name="sizeHint">
|
---|
162 | <size>
|
---|
163 | <width>20</width>
|
---|
164 | <height>20</height>
|
---|
165 | </size>
|
---|
166 | </property>
|
---|
167 | </spacer>
|
---|
168 | <widget class="QPushButton">
|
---|
169 | <property name="name">
|
---|
170 | <cstring>submitBtn</cstring>
|
---|
171 | </property>
|
---|
172 | <property name="sizePolicy">
|
---|
173 | <sizepolicy>
|
---|
174 | <hsizetype>5</hsizetype>
|
---|
175 | <vsizetype>0</vsizetype>
|
---|
176 | <horstretch>0</horstretch>
|
---|
177 | <verstretch>0</verstretch>
|
---|
178 | </sizepolicy>
|
---|
179 | </property>
|
---|
180 | <property name="minimumSize">
|
---|
181 | <size>
|
---|
182 | <width>80</width>
|
---|
183 | <height>0</height>
|
---|
184 | </size>
|
---|
185 | </property>
|
---|
186 | <property name="text">
|
---|
187 | <string>&Submit</string>
|
---|
188 | </property>
|
---|
189 | </widget>
|
---|
190 | <widget class="QPushButton">
|
---|
191 | <property name="name">
|
---|
192 | <cstring>clearBtn</cstring>
|
---|
193 | </property>
|
---|
194 | <property name="sizePolicy">
|
---|
195 | <sizepolicy>
|
---|
196 | <hsizetype>5</hsizetype>
|
---|
197 | <vsizetype>0</vsizetype>
|
---|
198 | <horstretch>0</horstretch>
|
---|
199 | <verstretch>0</verstretch>
|
---|
200 | </sizepolicy>
|
---|
201 | </property>
|
---|
202 | <property name="minimumSize">
|
---|
203 | <size>
|
---|
204 | <width>80</width>
|
---|
205 | <height>0</height>
|
---|
206 | </size>
|
---|
207 | </property>
|
---|
208 | <property name="text">
|
---|
209 | <string>C&lear</string>
|
---|
210 | </property>
|
---|
211 | </widget>
|
---|
212 | </hbox>
|
---|
213 | </widget>
|
---|
214 | </vbox>
|
---|
215 | </widget>
|
---|
216 | </grid>
|
---|
217 | </widget>
|
---|
218 | </widget>
|
---|
219 | <widget class="QLayoutWidget">
|
---|
220 | <property name="name">
|
---|
221 | <cstring>Layout23</cstring>
|
---|
222 | </property>
|
---|
223 | <hbox>
|
---|
224 | <property name="name">
|
---|
225 | <cstring>unnamed</cstring>
|
---|
226 | </property>
|
---|
227 | <property name="margin">
|
---|
228 | <number>0</number>
|
---|
229 | </property>
|
---|
230 | <property name="spacing">
|
---|
231 | <number>6</number>
|
---|
232 | </property>
|
---|
233 | <widget class="QLabel">
|
---|
234 | <property name="name">
|
---|
235 | <cstring>lbl</cstring>
|
---|
236 | </property>
|
---|
237 | <property name="text">
|
---|
238 | <string>Press "Connect" to open a database</string>
|
---|
239 | </property>
|
---|
240 | </widget>
|
---|
241 | <widget class="QPushButton">
|
---|
242 | <property name="name">
|
---|
243 | <cstring>conBtn</cstring>
|
---|
244 | </property>
|
---|
245 | <property name="sizePolicy">
|
---|
246 | <sizepolicy>
|
---|
247 | <hsizetype>0</hsizetype>
|
---|
248 | <vsizetype>0</vsizetype>
|
---|
249 | <horstretch>0</horstretch>
|
---|
250 | <verstretch>0</verstretch>
|
---|
251 | </sizepolicy>
|
---|
252 | </property>
|
---|
253 | <property name="minimumSize">
|
---|
254 | <size>
|
---|
255 | <width>80</width>
|
---|
256 | <height>0</height>
|
---|
257 | </size>
|
---|
258 | </property>
|
---|
259 | <property name="text">
|
---|
260 | <string>&Connect...</string>
|
---|
261 | </property>
|
---|
262 | </widget>
|
---|
263 | </hbox>
|
---|
264 | </widget>
|
---|
265 | </vbox>
|
---|
266 | </widget>
|
---|
267 | <connections>
|
---|
268 | <connection>
|
---|
269 | <sender>clearBtn</sender>
|
---|
270 | <signal>clicked()</signal>
|
---|
271 | <receiver>te</receiver>
|
---|
272 | <slot>clear()</slot>
|
---|
273 | </connection>
|
---|
274 | <connection>
|
---|
275 | <sender>conBtn</sender>
|
---|
276 | <signal>clicked()</signal>
|
---|
277 | <receiver>SqlEx</receiver>
|
---|
278 | <slot>dbConnect()</slot>
|
---|
279 | </connection>
|
---|
280 | <connection>
|
---|
281 | <sender>lv</sender>
|
---|
282 | <signal>returnPressed(QListViewItem*)</signal>
|
---|
283 | <receiver>SqlEx</receiver>
|
---|
284 | <slot>showTable(QListViewItem*)</slot>
|
---|
285 | </connection>
|
---|
286 | <connection>
|
---|
287 | <sender>lv</sender>
|
---|
288 | <signal>doubleClicked(QListViewItem*)</signal>
|
---|
289 | <receiver>SqlEx</receiver>
|
---|
290 | <slot>showTable(QListViewItem*)</slot>
|
---|
291 | </connection>
|
---|
292 | <connection>
|
---|
293 | <sender>submitBtn</sender>
|
---|
294 | <signal>clicked()</signal>
|
---|
295 | <receiver>SqlEx</receiver>
|
---|
296 | <slot>execQuery()</slot>
|
---|
297 | </connection>
|
---|
298 | </connections>
|
---|
299 | <includes>
|
---|
300 | <include location="local" impldecl="in implementation">sqlex.ui.h</include>
|
---|
301 | </includes>
|
---|
302 | <slots>
|
---|
303 | <slot>init()</slot>
|
---|
304 | <slot>dbConnect()</slot>
|
---|
305 | <slot>execQuery()</slot>
|
---|
306 | <slot>showTable( QListViewItem * item )</slot>
|
---|
307 | </slots>
|
---|
308 | <layoutdefaults spacing="6" margin="11"/>
|
---|
309 | </UI>
|
---|