author | Eckhart Koeppen <eckhart.koppen@nokia.com> |
Thu, 22 Apr 2010 16:15:11 +0300 | |
branch | RCL_3 |
changeset 14 | 8c4229025c0b |
parent 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> |
2 |
<class>EditFunctionsBase</class> |
|
3 |
<comment>********************************************************************* |
|
4 |
** |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
5 |
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 6 |
** All rights reserved. |
7 |
** Contact: Nokia Corporation (qt-info@nokia.com) |
|
8 |
** |
|
9 |
** This file is part of the test suite of the Qt Toolkit. |
|
10 |
** |
|
11 |
** $QT_BEGIN_LICENSE:LGPL$ |
|
12 |
** No Commercial Usage |
|
13 |
** This file contains pre-release code and may not be distributed. |
|
14 |
** You may use this file in accordance with the terms and conditions |
|
15 |
** contained in the Technology Preview License Agreement accompanying |
|
16 |
** this package. |
|
17 |
** |
|
18 |
** GNU Lesser General Public License Usage |
|
19 |
** Alternatively, this file may be used under the terms of the GNU Lesser |
|
20 |
** General Public License version 2.1 as published by the Free Software |
|
21 |
** Foundation and appearing in the file LICENSE.LGPL included in the |
|
22 |
** packaging of this file. Please review the following information to |
|
23 |
** ensure the GNU Lesser General Public License version 2.1 requirements |
|
24 |
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
25 |
** |
|
26 |
** In addition, as a special exception, Nokia gives you certain additional |
|
27 |
** rights. These rights are described in the Nokia Qt LGPL Exception |
|
28 |
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
29 |
** |
|
30 |
** If you have questions regarding the use of this file, please contact |
|
31 |
** Nokia at qt-info@nokia.com. |
|
32 |
** |
|
33 |
** |
|
34 |
** |
|
35 |
** |
|
36 |
** |
|
37 |
** |
|
38 |
** |
|
39 |
** |
|
40 |
** $QT_END_LICENSE$ |
|
41 |
** |
|
42 |
*********************************************************************</comment> |
|
43 |
<widget class="QDialog"> |
|
44 |
<property name="name"> |
|
45 |
<cstring>EditFunctionsBase</cstring> |
|
46 |
</property> |
|
47 |
<property name="geometry"> |
|
48 |
<rect> |
|
49 |
<x>0</x> |
|
50 |
<y>0</y> |
|
51 |
<width>600</width> |
|
52 |
<height>371</height> |
|
53 |
</rect> |
|
54 |
</property> |
|
55 |
<property name="caption"> |
|
56 |
<string>Edit Functions</string> |
|
57 |
</property> |
|
58 |
<property name="sizeGripEnabled"> |
|
59 |
<bool>true</bool> |
|
60 |
</property> |
|
61 |
<property name="whatsThis" stdset="0"> |
|
62 |
<string><b>Edit Functions</b><p>Add, edit or delete the current form's slots or functions.</p><p>Click the <b>Add Function</b>-button to create a new function; enter a name, choose an access mode and specify if it should be a slot or normal function.</p><p>Select an entry from the list and click the <b>Delete Function</b>-button to remove a function; in case of a slot all connections using this slot will also be removed.</p></string> |
|
63 |
</property> |
|
64 |
<vbox> |
|
65 |
<property name="name"> |
|
66 |
<cstring>unnamed</cstring> |
|
67 |
</property> |
|
68 |
<property name="margin"> |
|
69 |
<number>11</number> |
|
70 |
</property> |
|
71 |
<property name="spacing"> |
|
72 |
<number>6</number> |
|
73 |
</property> |
|
74 |
<widget class="QListView"> |
|
75 |
<column> |
|
76 |
<property name="text"> |
|
77 |
<string>Function</string> |
|
78 |
</property> |
|
79 |
<property name="clickable"> |
|
80 |
<bool>true</bool> |
|
81 |
</property> |
|
82 |
<property name="resizable"> |
|
83 |
<bool>true</bool> |
|
84 |
</property> |
|
85 |
</column> |
|
86 |
<column> |
|
87 |
<property name="text"> |
|
88 |
<string>Return Type</string> |
|
89 |
</property> |
|
90 |
<property name="clickable"> |
|
91 |
<bool>true</bool> |
|
92 |
</property> |
|
93 |
<property name="resizable"> |
|
94 |
<bool>true</bool> |
|
95 |
</property> |
|
96 |
</column> |
|
97 |
<column> |
|
98 |
<property name="text"> |
|
99 |
<string>Specifier</string> |
|
100 |
</property> |
|
101 |
<property name="clickable"> |
|
102 |
<bool>true</bool> |
|
103 |
</property> |
|
104 |
<property name="resizable"> |
|
105 |
<bool>true</bool> |
|
106 |
</property> |
|
107 |
</column> |
|
108 |
<column> |
|
109 |
<property name="text"> |
|
110 |
<string>Access</string> |
|
111 |
</property> |
|
112 |
<property name="clickable"> |
|
113 |
<bool>true</bool> |
|
114 |
</property> |
|
115 |
<property name="resizable"> |
|
116 |
<bool>true</bool> |
|
117 |
</property> |
|
118 |
</column> |
|
119 |
<column> |
|
120 |
<property name="text"> |
|
121 |
<string>Type</string> |
|
122 |
</property> |
|
123 |
<property name="clickable"> |
|
124 |
<bool>true</bool> |
|
125 |
</property> |
|
126 |
<property name="resizable"> |
|
127 |
<bool>true</bool> |
|
128 |
</property> |
|
129 |
</column> |
|
130 |
<column> |
|
131 |
<property name="text"> |
|
132 |
<string>In Use</string> |
|
133 |
</property> |
|
134 |
<property name="clickable"> |
|
135 |
<bool>true</bool> |
|
136 |
</property> |
|
137 |
<property name="resizable"> |
|
138 |
<bool>true</bool> |
|
139 |
</property> |
|
140 |
</column> |
|
141 |
<property name="name"> |
|
142 |
<cstring>functionListView</cstring> |
|
143 |
</property> |
|
144 |
<property name="sizePolicy"> |
|
145 |
<sizepolicy> |
|
146 |
<hsizetype>7</hsizetype> |
|
147 |
<vsizetype>7</vsizetype> |
|
148 |
<horstretch>0</horstretch> |
|
149 |
<verstretch>0</verstretch> |
|
150 |
</sizepolicy> |
|
151 |
</property> |
|
152 |
<property name="frameShape"> |
|
153 |
<enum>StyledPanel</enum> |
|
154 |
</property> |
|
155 |
<property name="frameShadow"> |
|
156 |
<enum>Sunken</enum> |
|
157 |
</property> |
|
158 |
<property name="allColumnsShowFocus"> |
|
159 |
<bool>true</bool> |
|
160 |
</property> |
|
161 |
<property name="showSortIndicator"> |
|
162 |
<bool>true</bool> |
|
163 |
</property> |
|
164 |
<property name="whatsThis" stdset="0"> |
|
165 |
<string><b>This form's functions.</b><p>Select the function you want to change or delete.</p></string> |
|
166 |
</property> |
|
167 |
</widget> |
|
168 |
<widget class="QLayoutWidget"> |
|
169 |
<property name="name"> |
|
170 |
<cstring>Layout11</cstring> |
|
171 |
</property> |
|
172 |
<hbox> |
|
173 |
<property name="name"> |
|
174 |
<cstring>unnamed</cstring> |
|
175 |
</property> |
|
176 |
<property name="margin"> |
|
177 |
<number>6</number> |
|
178 |
</property> |
|
179 |
<widget class="QCheckBox"> |
|
180 |
<property name="name"> |
|
181 |
<cstring>showOnlySlots</cstring> |
|
182 |
</property> |
|
183 |
<property name="focusPolicy"> |
|
184 |
<enum>StrongFocus</enum> |
|
185 |
</property> |
|
186 |
<property name="text"> |
|
187 |
<string>Only d&isplay slots</string> |
|
188 |
</property> |
|
189 |
<property name="toolTip" stdset="0"> |
|
190 |
<string>Change displaying mode for functions</string> |
|
191 |
</property> |
|
192 |
<property name="whatsThis" stdset="0"> |
|
193 |
<string><b>Check this button if only the slots should be displayed</b><p>Otherwise all functions, i.e. normal C++ functions and slots are displayed.</p> |
|
194 |
</string> |
|
195 |
</property> |
|
196 |
</widget> |
|
197 |
<spacer> |
|
198 |
<property name="name"> |
|
199 |
<cstring>Vertical Spacing1</cstring> |
|
200 |
</property> |
|
201 |
<property name="orientation"> |
|
202 |
<enum>Horizontal</enum> |
|
203 |
</property> |
|
204 |
<property name="sizeType"> |
|
205 |
<enum>Expanding</enum> |
|
206 |
</property> |
|
207 |
<property name="sizeHint"> |
|
208 |
<size> |
|
209 |
<width>20</width> |
|
210 |
<height>20</height> |
|
211 |
</size> |
|
212 |
</property> |
|
213 |
</spacer> |
|
214 |
<widget class="QPushButton"> |
|
215 |
<property name="name"> |
|
216 |
<cstring>addFunction</cstring> |
|
217 |
</property> |
|
218 |
<property name="text"> |
|
219 |
<string>&New Function</string> |
|
220 |
</property> |
|
221 |
<property name="toolTip" stdset="0"> |
|
222 |
<string>Add new function</string> |
|
223 |
</property> |
|
224 |
<property name="whatsThis" stdset="0"> |
|
225 |
<string><b>Add a new function.</b><p>New functions have a default name and public access.</p></string> |
|
226 |
</property> |
|
227 |
</widget> |
|
228 |
<widget class="QPushButton"> |
|
229 |
<property name="name"> |
|
230 |
<cstring>deleteFunction</cstring> |
|
231 |
</property> |
|
232 |
<property name="text"> |
|
233 |
<string>&Delete Function</string> |
|
234 |
</property> |
|
235 |
<property name="toolTip" stdset="0"> |
|
236 |
<string>Delete function</string> |
|
237 |
</property> |
|
238 |
<property name="whatsThis" stdset="0"> |
|
239 |
<string><b>Delete the selected function.</b><p>All connections using this function are also removed.</p></string> |
|
240 |
</property> |
|
241 |
</widget> |
|
242 |
</hbox> |
|
243 |
</widget> |
|
244 |
<widget class="QGroupBox"> |
|
245 |
<property name="name"> |
|
246 |
<cstring>boxProperties</cstring> |
|
247 |
</property> |
|
248 |
<property name="sizePolicy"> |
|
249 |
<sizepolicy> |
|
250 |
<hsizetype>5</hsizetype> |
|
251 |
<vsizetype>5</vsizetype> |
|
252 |
<horstretch>0</horstretch> |
|
253 |
<verstretch>0</verstretch> |
|
254 |
</sizepolicy> |
|
255 |
</property> |
|
256 |
<property name="title"> |
|
257 |
<string>Function Properties</string> |
|
258 |
</property> |
|
259 |
<vbox> |
|
260 |
<property name="name"> |
|
261 |
<cstring>unnamed</cstring> |
|
262 |
</property> |
|
263 |
<property name="margin"> |
|
264 |
<number>11</number> |
|
265 |
</property> |
|
266 |
<property name="spacing"> |
|
267 |
<number>6</number> |
|
268 |
</property> |
|
269 |
<widget class="QLayoutWidget"> |
|
270 |
<property name="name"> |
|
271 |
<cstring>Layout14</cstring> |
|
272 |
</property> |
|
273 |
<vbox> |
|
274 |
<property name="name"> |
|
275 |
<cstring>unnamed</cstring> |
|
276 |
</property> |
|
277 |
<property name="margin"> |
|
278 |
<number>0</number> |
|
279 |
</property> |
|
280 |
<widget class="QLayoutWidget"> |
|
281 |
<property name="name"> |
|
282 |
<cstring>Layout5</cstring> |
|
283 |
</property> |
|
284 |
<hbox> |
|
285 |
<property name="name"> |
|
286 |
<cstring>unnamed</cstring> |
|
287 |
</property> |
|
288 |
<property name="margin"> |
|
289 |
<number>0</number> |
|
290 |
</property> |
|
291 |
<property name="spacing"> |
|
292 |
<number>6</number> |
|
293 |
</property> |
|
294 |
<widget class="QLabel"> |
|
295 |
<property name="name"> |
|
296 |
<cstring>Label8</cstring> |
|
297 |
</property> |
|
298 |
<property name="text"> |
|
299 |
<string>&Function:</string> |
|
300 |
</property> |
|
301 |
<property name="alignment"> |
|
302 |
<set>AlignVCenter|AlignRight</set> |
|
303 |
</property> |
|
304 |
<property name="buddy" stdset="0"> |
|
305 |
<cstring>functionName</cstring> |
|
306 |
</property> |
|
307 |
</widget> |
|
308 |
<widget class="QLineEdit"> |
|
309 |
<property name="name"> |
|
310 |
<cstring>functionName</cstring> |
|
311 |
</property> |
|
312 |
<property name="sizePolicy"> |
|
313 |
<sizepolicy> |
|
314 |
<hsizetype>7</hsizetype> |
|
315 |
<vsizetype>0</vsizetype> |
|
316 |
<horstretch>0</horstretch> |
|
317 |
<verstretch>0</verstretch> |
|
318 |
</sizepolicy> |
|
319 |
</property> |
|
320 |
<property name="toolTip" stdset="0"> |
|
321 |
<string>Change function name</string> |
|
322 |
</property> |
|
323 |
<property name="whatsThis" stdset="0"> |
|
324 |
<string><b>Change the name of the selected function.</b><p>The name should include the argument list and must be syntactically correct.</p></string> |
|
325 |
</property> |
|
326 |
</widget> |
|
327 |
<widget class="QLabel"> |
|
328 |
<property name="name"> |
|
329 |
<cstring>labelType</cstring> |
|
330 |
</property> |
|
331 |
<property name="text"> |
|
332 |
<string>&Return type:</string> |
|
333 |
</property> |
|
334 |
<property name="alignment"> |
|
335 |
<set>AlignVCenter|AlignRight</set> |
|
336 |
</property> |
|
337 |
<property name="buddy" stdset="0"> |
|
338 |
<cstring>editType</cstring> |
|
339 |
</property> |
|
340 |
</widget> |
|
341 |
<widget class="QLineEdit"> |
|
342 |
<property name="name"> |
|
343 |
<cstring>editType</cstring> |
|
344 |
</property> |
|
345 |
<property name="sizePolicy"> |
|
346 |
<sizepolicy> |
|
347 |
<hsizetype>5</hsizetype> |
|
348 |
<vsizetype>0</vsizetype> |
|
349 |
<horstretch>0</horstretch> |
|
350 |
<verstretch>0</verstretch> |
|
351 |
</sizepolicy> |
|
352 |
</property> |
|
353 |
<property name="toolTip" stdset="0"> |
|
354 |
<string>Change the return type of the function</string> |
|
355 |
</property> |
|
356 |
<property name="whatsThis" stdset="0"> |
|
357 |
<string><b>Change the return type of the selected function.</b><p>Specifiy here the datatype which should be returned by the function.</p></string> |
|
358 |
</property> |
|
359 |
</widget> |
|
360 |
</hbox> |
|
361 |
</widget> |
|
362 |
<spacer> |
|
363 |
<property name="name"> |
|
364 |
<cstring>Spacer6_2</cstring> |
|
365 |
</property> |
|
366 |
<property name="orientation"> |
|
367 |
<enum>Vertical</enum> |
|
368 |
</property> |
|
369 |
<property name="sizeType"> |
|
370 |
<enum>Fixed</enum> |
|
371 |
</property> |
|
372 |
<property name="sizeHint"> |
|
373 |
<size> |
|
374 |
<width>20</width> |
|
375 |
<height>16</height> |
|
376 |
</size> |
|
377 |
</property> |
|
378 |
</spacer> |
|
379 |
<widget class="QLayoutWidget"> |
|
380 |
<property name="name"> |
|
381 |
<cstring>Layout13</cstring> |
|
382 |
</property> |
|
383 |
<hbox> |
|
384 |
<property name="name"> |
|
385 |
<cstring>unnamed</cstring> |
|
386 |
</property> |
|
387 |
<property name="margin"> |
|
388 |
<number>0</number> |
|
389 |
</property> |
|
390 |
<widget class="QLabel"> |
|
391 |
<property name="name"> |
|
392 |
<cstring>Label9_2</cstring> |
|
393 |
</property> |
|
394 |
<property name="text"> |
|
395 |
<string>S&pecifier:</string> |
|
396 |
</property> |
|
397 |
<property name="alignment"> |
|
398 |
<set>AlignVCenter|AlignRight</set> |
|
399 |
</property> |
|
400 |
<property name="buddy" stdset="0"> |
|
401 |
<cstring>functionSpecifier</cstring> |
|
402 |
</property> |
|
403 |
</widget> |
|
404 |
<widget class="QComboBox"> |
|
405 |
<item> |
|
406 |
<property name="text"> |
|
407 |
<string>non virtual</string> |
|
408 |
</property> |
|
409 |
</item> |
|
410 |
<item> |
|
411 |
<property name="text"> |
|
412 |
<string>virtual</string> |
|
413 |
</property> |
|
414 |
</item> |
|
415 |
<item> |
|
416 |
<property name="text"> |
|
417 |
<string>pure virtual</string> |
|
418 |
</property> |
|
419 |
</item> |
|
420 |
<item> |
|
421 |
<property name="text"> |
|
422 |
<string>static</string> |
|
423 |
</property> |
|
424 |
</item> |
|
425 |
<property name="name"> |
|
426 |
<cstring>functionSpecifier</cstring> |
|
427 |
</property> |
|
428 |
<property name="sizePolicy"> |
|
429 |
<sizepolicy> |
|
430 |
<hsizetype>1</hsizetype> |
|
431 |
<vsizetype>0</vsizetype> |
|
432 |
<horstretch>0</horstretch> |
|
433 |
<verstretch>0</verstretch> |
|
434 |
</sizepolicy> |
|
435 |
</property> |
|
436 |
<property name="toolTip" stdset="0"> |
|
437 |
<string>Change function access</string> |
|
438 |
</property> |
|
439 |
<property name="whatsThis" stdset="0"> |
|
440 |
<string><b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p></string> |
|
441 |
</property> |
|
442 |
</widget> |
|
443 |
<widget class="QLabel"> |
|
444 |
<property name="name"> |
|
445 |
<cstring>TextLabel1</cstring> |
|
446 |
</property> |
|
447 |
<property name="text"> |
|
448 |
<string>&Access:</string> |
|
449 |
</property> |
|
450 |
<property name="alignment"> |
|
451 |
<set>WordBreak|AlignVCenter|AlignRight</set> |
|
452 |
</property> |
|
453 |
<property name="buddy" stdset="0"> |
|
454 |
<cstring>functionAccess</cstring> |
|
455 |
</property> |
|
456 |
</widget> |
|
457 |
<widget class="QComboBox"> |
|
458 |
<item> |
|
459 |
<property name="text"> |
|
460 |
<string>public</string> |
|
461 |
</property> |
|
462 |
</item> |
|
463 |
<item> |
|
464 |
<property name="text"> |
|
465 |
<string>protected</string> |
|
466 |
</property> |
|
467 |
</item> |
|
468 |
<item> |
|
469 |
<property name="text"> |
|
470 |
<string>private</string> |
|
471 |
</property> |
|
472 |
</item> |
|
473 |
<property name="name"> |
|
474 |
<cstring>functionAccess</cstring> |
|
475 |
</property> |
|
476 |
<property name="sizePolicy"> |
|
477 |
<sizepolicy> |
|
478 |
<hsizetype>1</hsizetype> |
|
479 |
<vsizetype>0</vsizetype> |
|
480 |
<horstretch>0</horstretch> |
|
481 |
<verstretch>0</verstretch> |
|
482 |
</sizepolicy> |
|
483 |
</property> |
|
484 |
<property name="toolTip" stdset="0"> |
|
485 |
<string>Change function access</string> |
|
486 |
</property> |
|
487 |
<property name="whatsThis" stdset="0"> |
|
488 |
<string><b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p></string> |
|
489 |
</property> |
|
490 |
</widget> |
|
491 |
<widget class="QLabel"> |
|
492 |
<property name="name"> |
|
493 |
<cstring>TextLabel1_2</cstring> |
|
494 |
</property> |
|
495 |
<property name="text"> |
|
496 |
<string>&Type:</string> |
|
497 |
</property> |
|
498 |
<property name="alignment"> |
|
499 |
<set>AlignVCenter|AlignRight</set> |
|
500 |
</property> |
|
501 |
<property name="buddy" stdset="0"> |
|
502 |
<cstring>functionType</cstring> |
|
503 |
</property> |
|
504 |
</widget> |
|
505 |
<widget class="QComboBox"> |
|
506 |
<item> |
|
507 |
<property name="text"> |
|
508 |
<string>slot</string> |
|
509 |
</property> |
|
510 |
</item> |
|
511 |
<item> |
|
512 |
<property name="text"> |
|
513 |
<string>function</string> |
|
514 |
</property> |
|
515 |
</item> |
|
516 |
<property name="name"> |
|
517 |
<cstring>functionType</cstring> |
|
518 |
</property> |
|
519 |
<property name="toolTip" stdset="0"> |
|
520 |
<string>Change function type</string> |
|
521 |
</property> |
|
522 |
<property name="whatsThis" stdset="0"> |
|
523 |
<string><b>Change the type of the function.</b><p>The type specifies if the function is either a slot or a normal C++ function.</p></string> |
|
524 |
</property> |
|
525 |
</widget> |
|
526 |
<spacer> |
|
527 |
<property name="name"> |
|
528 |
<cstring>Spacer5</cstring> |
|
529 |
</property> |
|
530 |
<property name="orientation"> |
|
531 |
<enum>Horizontal</enum> |
|
532 |
</property> |
|
533 |
<property name="sizeType"> |
|
534 |
<enum>Expanding</enum> |
|
535 |
</property> |
|
536 |
<property name="sizeHint"> |
|
537 |
<size> |
|
538 |
<width>20</width> |
|
539 |
<height>20</height> |
|
540 |
</size> |
|
541 |
</property> |
|
542 |
</spacer> |
|
543 |
</hbox> |
|
544 |
</widget> |
|
545 |
</vbox> |
|
546 |
</widget> |
|
547 |
</vbox> |
|
548 |
</widget> |
|
549 |
<widget class="QLayoutWidget"> |
|
550 |
<property name="name"> |
|
551 |
<cstring>Layout1</cstring> |
|
552 |
</property> |
|
553 |
<hbox> |
|
554 |
<property name="name"> |
|
555 |
<cstring>unnamed</cstring> |
|
556 |
</property> |
|
557 |
<property name="margin"> |
|
558 |
<number>0</number> |
|
559 |
</property> |
|
560 |
<property name="spacing"> |
|
561 |
<number>6</number> |
|
562 |
</property> |
|
563 |
<widget class="QPushButton"> |
|
564 |
<property name="name"> |
|
565 |
<cstring>helpButton</cstring> |
|
566 |
</property> |
|
567 |
<property name="text"> |
|
568 |
<string>&Help</string> |
|
569 |
</property> |
|
570 |
<property name="autoDefault"> |
|
571 |
<bool>true</bool> |
|
572 |
</property> |
|
573 |
</widget> |
|
574 |
<spacer> |
|
575 |
<property name="name"> |
|
576 |
<cstring>Horizontal Spacing2</cstring> |
|
577 |
</property> |
|
578 |
<property name="orientation"> |
|
579 |
<enum>Horizontal</enum> |
|
580 |
</property> |
|
581 |
<property name="sizeType"> |
|
582 |
<enum>Expanding</enum> |
|
583 |
</property> |
|
584 |
<property name="sizeHint"> |
|
585 |
<size> |
|
586 |
<width>20</width> |
|
587 |
<height>20</height> |
|
588 |
</size> |
|
589 |
</property> |
|
590 |
</spacer> |
|
591 |
<widget class="QPushButton"> |
|
592 |
<property name="name"> |
|
593 |
<cstring>okButton</cstring> |
|
594 |
</property> |
|
595 |
<property name="text"> |
|
596 |
<string>&OK</string> |
|
597 |
</property> |
|
598 |
<property name="autoDefault"> |
|
599 |
<bool>true</bool> |
|
600 |
</property> |
|
601 |
<property name="default"> |
|
602 |
<bool>true</bool> |
|
603 |
</property> |
|
604 |
<property name="whatsThis" stdset="0"> |
|
605 |
<string>Close the dialog and apply all the changes.</string> |
|
606 |
</property> |
|
607 |
</widget> |
|
608 |
<widget class="QPushButton"> |
|
609 |
<property name="name"> |
|
610 |
<cstring>cancelButton</cstring> |
|
611 |
</property> |
|
612 |
<property name="text"> |
|
613 |
<string>&Cancel</string> |
|
614 |
</property> |
|
615 |
<property name="autoDefault"> |
|
616 |
<bool>true</bool> |
|
617 |
</property> |
|
618 |
<property name="whatsThis" stdset="0"> |
|
619 |
<string>Close the dialog and discard any changes.</string> |
|
620 |
</property> |
|
621 |
</widget> |
|
622 |
</hbox> |
|
623 |
</widget> |
|
624 |
</vbox> |
|
625 |
</widget> |
|
626 |
<connections> |
|
627 |
<connection> |
|
628 |
<sender>cancelButton</sender> |
|
629 |
<signal>clicked()</signal> |
|
630 |
<receiver>EditFunctionsBase</receiver> |
|
631 |
<slot>reject()</slot> |
|
632 |
</connection> |
|
633 |
<connection> |
|
634 |
<sender>okButton</sender> |
|
635 |
<signal>clicked()</signal> |
|
636 |
<receiver>EditFunctionsBase</receiver> |
|
637 |
<slot>okClicked()</slot> |
|
638 |
</connection> |
|
639 |
<connection> |
|
640 |
<sender>deleteFunction</sender> |
|
641 |
<signal>clicked()</signal> |
|
642 |
<receiver>EditFunctionsBase</receiver> |
|
643 |
<slot>functionRemove()</slot> |
|
644 |
</connection> |
|
645 |
<connection> |
|
646 |
<sender>addFunction</sender> |
|
647 |
<signal>clicked()</signal> |
|
648 |
<receiver>EditFunctionsBase</receiver> |
|
649 |
<slot>functionAdd()</slot> |
|
650 |
</connection> |
|
651 |
<connection> |
|
652 |
<sender>functionName</sender> |
|
653 |
<signal>textChanged(const QString&)</signal> |
|
654 |
<receiver>EditFunctionsBase</receiver> |
|
655 |
<slot>currentTextChanged(const QString&)</slot> |
|
656 |
</connection> |
|
657 |
<connection> |
|
658 |
<sender>functionListView</sender> |
|
659 |
<signal>selectionChanged(QListViewItem*)</signal> |
|
660 |
<receiver>EditFunctionsBase</receiver> |
|
661 |
<slot>currentItemChanged(QListViewItem*)</slot> |
|
662 |
</connection> |
|
663 |
<connection> |
|
664 |
<sender>functionListView</sender> |
|
665 |
<signal>currentChanged(QListViewItem*)</signal> |
|
666 |
<receiver>EditFunctionsBase</receiver> |
|
667 |
<slot>currentItemChanged(QListViewItem*)</slot> |
|
668 |
</connection> |
|
669 |
<connection> |
|
670 |
<sender>editType</sender> |
|
671 |
<signal>textChanged(const QString&)</signal> |
|
672 |
<receiver>EditFunctionsBase</receiver> |
|
673 |
<slot>currentReturnTypeChanged(const QString&)</slot> |
|
674 |
</connection> |
|
675 |
<connection> |
|
676 |
<sender>functionSpecifier</sender> |
|
677 |
<signal>activated(const QString&)</signal> |
|
678 |
<receiver>EditFunctionsBase</receiver> |
|
679 |
<slot>currentSpecifierChanged(const QString&)</slot> |
|
680 |
</connection> |
|
681 |
<connection> |
|
682 |
<sender>functionAccess</sender> |
|
683 |
<signal>activated(const QString&)</signal> |
|
684 |
<receiver>EditFunctionsBase</receiver> |
|
685 |
<slot>currentAccessChanged(const QString&)</slot> |
|
686 |
</connection> |
|
687 |
<connection> |
|
688 |
<sender>functionType</sender> |
|
689 |
<signal>activated(const QString&)</signal> |
|
690 |
<receiver>EditFunctionsBase</receiver> |
|
691 |
<slot>currentTypeChanged(const QString&)</slot> |
|
692 |
</connection> |
|
693 |
<connection> |
|
694 |
<sender>showOnlySlots</sender> |
|
695 |
<signal>toggled(bool)</signal> |
|
696 |
<receiver>EditFunctionsBase</receiver> |
|
697 |
<slot>displaySlots(bool)</slot> |
|
698 |
</connection> |
|
699 |
</connections> |
|
700 |
<tabstops> |
|
701 |
<tabstop>functionName</tabstop> |
|
702 |
<tabstop>editType</tabstop> |
|
703 |
<tabstop>functionSpecifier</tabstop> |
|
704 |
<tabstop>functionAccess</tabstop> |
|
705 |
<tabstop>functionType</tabstop> |
|
706 |
<tabstop>helpButton</tabstop> |
|
707 |
<tabstop>okButton</tabstop> |
|
708 |
<tabstop>cancelButton</tabstop> |
|
709 |
<tabstop>functionListView</tabstop> |
|
710 |
<tabstop>showOnlySlots</tabstop> |
|
711 |
<tabstop>addFunction</tabstop> |
|
712 |
<tabstop>deleteFunction</tabstop> |
|
713 |
</tabstops> |
|
714 |
<slots> |
|
715 |
<slot access="protected">currentItemChanged( QListViewItem * )</slot> |
|
716 |
<slot access="protected">currentSpecifierChanged( const QString & )</slot> |
|
717 |
<slot access="protected">currentTextChanged( const QString & )</slot> |
|
718 |
<slot access="protected">currentReturnTypeChanged( const QString & )</slot> |
|
719 |
<slot access="protected">destroy()</slot> |
|
720 |
<slot access="protected">init()</slot> |
|
721 |
<slot access="protected">currentAccessChanged( const QString & )</slot> |
|
722 |
<slot access="protected">currentTypeChanged( const QString & )</slot> |
|
723 |
<slot access="protected">okClicked()</slot> |
|
724 |
<slot access="protected">functionAdd()</slot> |
|
725 |
<slot access="protected">functionRemove()</slot> |
|
726 |
<slot access="protected">displaySlots( bool )</slot> |
|
727 |
</slots> |
|
728 |
<layoutdefaults spacing="6" margin="11"/> |
|
729 |
</UI> |