author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Mon, 15 Mar 2010 12:43:09 +0200 | |
branch | RCL_3 |
changeset 6 | dee5afe5301f |
parent 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> |
2 |
<class>IconViewEditorBase</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>IconViewEditorBase</cstring> |
|
46 |
</property> |
|
47 |
<property name="geometry"> |
|
48 |
<rect> |
|
49 |
<x>0</x> |
|
50 |
<y>0</y> |
|
51 |
<width>567</width> |
|
52 |
<height>321</height> |
|
53 |
</rect> |
|
54 |
</property> |
|
55 |
<property name="caption"> |
|
56 |
<string>Edit Iconview</string> |
|
57 |
</property> |
|
58 |
<property name="sizeGripEnabled"> |
|
59 |
<bool>true</bool> |
|
60 |
</property> |
|
61 |
<property name="whatsThis" stdset="0"> |
|
62 |
<string><b>Edit Iconview</b><p>Add, edit or delete items in the icon view.</p><p>Click the <b>New Item</b>-button to create a new item, then enter text and choose a pixmap.</p><p>Select an item from the view and click the <b>Delete Item</b>-button to remove the item from the iconview.</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="QLayoutWidget"> |
|
75 |
<property name="name"> |
|
76 |
<cstring>Layout6</cstring> |
|
77 |
</property> |
|
78 |
<hbox> |
|
79 |
<property name="name"> |
|
80 |
<cstring>unnamed</cstring> |
|
81 |
</property> |
|
82 |
<property name="margin"> |
|
83 |
<number>0</number> |
|
84 |
</property> |
|
85 |
<property name="spacing"> |
|
86 |
<number>6</number> |
|
87 |
</property> |
|
88 |
<widget class="QIconView"> |
|
89 |
<property name="name"> |
|
90 |
<cstring>preview</cstring> |
|
91 |
</property> |
|
92 |
<property name="whatsThis" stdset="0"> |
|
93 |
<string>All items in the iconview.</string> |
|
94 |
</property> |
|
95 |
</widget> |
|
96 |
<widget class="QLayoutWidget"> |
|
97 |
<property name="name"> |
|
98 |
<cstring>Layout5</cstring> |
|
99 |
</property> |
|
100 |
<vbox> |
|
101 |
<property name="name"> |
|
102 |
<cstring>unnamed</cstring> |
|
103 |
</property> |
|
104 |
<property name="margin"> |
|
105 |
<number>0</number> |
|
106 |
</property> |
|
107 |
<property name="spacing"> |
|
108 |
<number>6</number> |
|
109 |
</property> |
|
110 |
<widget class="QPushButton"> |
|
111 |
<property name="name"> |
|
112 |
<cstring>itemNew</cstring> |
|
113 |
</property> |
|
114 |
<property name="text"> |
|
115 |
<string>&New Item</string> |
|
116 |
</property> |
|
117 |
<property name="toolTip" stdset="0"> |
|
118 |
<string>Add an item</string> |
|
119 |
</property> |
|
120 |
<property name="whatsThis" stdset="0"> |
|
121 |
<string>Create a new item for the iconview.</string> |
|
122 |
</property> |
|
123 |
</widget> |
|
124 |
<widget class="QPushButton"> |
|
125 |
<property name="name"> |
|
126 |
<cstring>itemDelete</cstring> |
|
127 |
</property> |
|
128 |
<property name="text"> |
|
129 |
<string>&Delete Item</string> |
|
130 |
</property> |
|
131 |
<property name="toolTip" stdset="0"> |
|
132 |
<string>Delete item</string> |
|
133 |
</property> |
|
134 |
<property name="whatsThis" stdset="0"> |
|
135 |
<string>Delete the selected item.</string> |
|
136 |
</property> |
|
137 |
</widget> |
|
138 |
<spacer> |
|
139 |
<property name="name"> |
|
140 |
<cstring>Vertical Spacing1</cstring> |
|
141 |
</property> |
|
142 |
<property name="orientation"> |
|
143 |
<enum>Vertical</enum> |
|
144 |
</property> |
|
145 |
<property name="sizeType"> |
|
146 |
<enum>Expanding</enum> |
|
147 |
</property> |
|
148 |
<property name="sizeHint"> |
|
149 |
<size> |
|
150 |
<width>20</width> |
|
151 |
<height>20</height> |
|
152 |
</size> |
|
153 |
</property> |
|
154 |
</spacer> |
|
155 |
</vbox> |
|
156 |
</widget> |
|
157 |
<widget class="QGroupBox"> |
|
158 |
<property name="name"> |
|
159 |
<cstring>GroupBox1</cstring> |
|
160 |
</property> |
|
161 |
<property name="sizePolicy"> |
|
162 |
<sizepolicy> |
|
163 |
<hsizetype>0</hsizetype> |
|
164 |
<vsizetype>5</vsizetype> |
|
165 |
<horstretch>0</horstretch> |
|
166 |
<verstretch>0</verstretch> |
|
167 |
</sizepolicy> |
|
168 |
</property> |
|
169 |
<property name="title"> |
|
170 |
<string>&Item Properties</string> |
|
171 |
</property> |
|
172 |
<grid> |
|
173 |
<property name="name"> |
|
174 |
<cstring>unnamed</cstring> |
|
175 |
</property> |
|
176 |
<property name="margin"> |
|
177 |
<number>11</number> |
|
178 |
</property> |
|
179 |
<property name="spacing"> |
|
180 |
<number>6</number> |
|
181 |
</property> |
|
182 |
<widget class="QLabel" row="0" column="0"> |
|
183 |
<property name="name"> |
|
184 |
<cstring>Label1</cstring> |
|
185 |
</property> |
|
186 |
<property name="text"> |
|
187 |
<string>&Text:</string> |
|
188 |
</property> |
|
189 |
<property name="buddy" stdset="0"> |
|
190 |
<cstring>itemText</cstring> |
|
191 |
</property> |
|
192 |
</widget> |
|
193 |
<widget class="QLineEdit" row="0" column="1"> |
|
194 |
<property name="name"> |
|
195 |
<cstring>itemText</cstring> |
|
196 |
</property> |
|
197 |
<property name="minimumSize"> |
|
198 |
<size> |
|
199 |
<width>0</width> |
|
200 |
<height>0</height> |
|
201 |
</size> |
|
202 |
</property> |
|
203 |
<property name="toolTip" stdset="0"> |
|
204 |
<string>Change text</string> |
|
205 |
</property> |
|
206 |
<property name="whatsThis" stdset="0"> |
|
207 |
<string>Change the text for the selected item.</string> |
|
208 |
</property> |
|
209 |
</widget> |
|
210 |
<widget class="QLabel" row="1" column="0"> |
|
211 |
<property name="name"> |
|
212 |
<cstring>Label2</cstring> |
|
213 |
</property> |
|
214 |
<property name="text"> |
|
215 |
<string>&Pixmap:</string> |
|
216 |
</property> |
|
217 |
<property name="buddy" stdset="0"> |
|
218 |
<cstring>itemChoosePixmap</cstring> |
|
219 |
</property> |
|
220 |
</widget> |
|
221 |
<widget class="QLayoutWidget" row="1" column="1"> |
|
222 |
<property name="name"> |
|
223 |
<cstring>Layout4</cstring> |
|
224 |
</property> |
|
225 |
<hbox> |
|
226 |
<property name="name"> |
|
227 |
<cstring>unnamed</cstring> |
|
228 |
</property> |
|
229 |
<property name="margin"> |
|
230 |
<number>0</number> |
|
231 |
</property> |
|
232 |
<property name="spacing"> |
|
233 |
<number>6</number> |
|
234 |
</property> |
|
235 |
<widget class="QLabel"> |
|
236 |
<property name="name"> |
|
237 |
<cstring>itemPixmap</cstring> |
|
238 |
</property> |
|
239 |
<property name="text"> |
|
240 |
<string>Label4</string> |
|
241 |
</property> |
|
242 |
</widget> |
|
243 |
<widget class="QPushButton"> |
|
244 |
<property name="name"> |
|
245 |
<cstring>itemDeletePixmap</cstring> |
|
246 |
</property> |
|
247 |
<property name="maximumSize"> |
|
248 |
<size> |
|
249 |
<width>30</width> |
|
250 |
<height>22</height> |
|
251 |
</size> |
|
252 |
</property> |
|
253 |
<property name="text"> |
|
254 |
<string></string> |
|
255 |
</property> |
|
256 |
<property name="pixmap"> |
|
257 |
<pixmap>designer_s_editcut.png</pixmap> |
|
258 |
</property> |
|
259 |
<property name="toolTip" stdset="0"> |
|
260 |
<string>Delete Pixmap</string> |
|
261 |
</property> |
|
262 |
<property name="whatsThis" stdset="0"> |
|
263 |
<string>Delete the selected item's pixmap.</string> |
|
264 |
</property> |
|
265 |
</widget> |
|
266 |
<widget class="QPushButton"> |
|
267 |
<property name="name"> |
|
268 |
<cstring>itemChoosePixmap</cstring> |
|
269 |
</property> |
|
270 |
<property name="maximumSize"> |
|
271 |
<size> |
|
272 |
<width>30</width> |
|
273 |
<height>22</height> |
|
274 |
</size> |
|
275 |
</property> |
|
276 |
<property name="text"> |
|
277 |
<string>...</string> |
|
278 |
</property> |
|
279 |
<property name="toolTip" stdset="0"> |
|
280 |
<string>Select a Pixmap</string> |
|
281 |
</property> |
|
282 |
<property name="whatsThis" stdset="0"> |
|
283 |
<string>Select a pixmap file for the current item.</string> |
|
284 |
</property> |
|
285 |
</widget> |
|
286 |
</hbox> |
|
287 |
</widget> |
|
288 |
</grid> |
|
289 |
</widget> |
|
290 |
</hbox> |
|
291 |
</widget> |
|
292 |
<widget class="QLayoutWidget"> |
|
293 |
<property name="name"> |
|
294 |
<cstring>Layout1</cstring> |
|
295 |
</property> |
|
296 |
<hbox> |
|
297 |
<property name="name"> |
|
298 |
<cstring>unnamed</cstring> |
|
299 |
</property> |
|
300 |
<property name="margin"> |
|
301 |
<number>0</number> |
|
302 |
</property> |
|
303 |
<property name="spacing"> |
|
304 |
<number>6</number> |
|
305 |
</property> |
|
306 |
<widget class="QPushButton"> |
|
307 |
<property name="name"> |
|
308 |
<cstring>buttonHelp</cstring> |
|
309 |
</property> |
|
310 |
<property name="text"> |
|
311 |
<string>&Help</string> |
|
312 |
</property> |
|
313 |
<property name="autoDefault"> |
|
314 |
<bool>true</bool> |
|
315 |
</property> |
|
316 |
</widget> |
|
317 |
<spacer> |
|
318 |
<property name="name"> |
|
319 |
<cstring>Horizontal Spacing2</cstring> |
|
320 |
</property> |
|
321 |
<property name="orientation"> |
|
322 |
<enum>Horizontal</enum> |
|
323 |
</property> |
|
324 |
<property name="sizeType"> |
|
325 |
<enum>Expanding</enum> |
|
326 |
</property> |
|
327 |
<property name="sizeHint"> |
|
328 |
<size> |
|
329 |
<width>20</width> |
|
330 |
<height>20</height> |
|
331 |
</size> |
|
332 |
</property> |
|
333 |
</spacer> |
|
334 |
<widget class="QPushButton"> |
|
335 |
<property name="name"> |
|
336 |
<cstring>buttonApply</cstring> |
|
337 |
</property> |
|
338 |
<property name="text"> |
|
339 |
<string>&Apply</string> |
|
340 |
</property> |
|
341 |
<property name="autoDefault"> |
|
342 |
<bool>true</bool> |
|
343 |
</property> |
|
344 |
<property name="whatsThis" stdset="0"> |
|
345 |
<string>Apply all changes.</string> |
|
346 |
</property> |
|
347 |
</widget> |
|
348 |
<widget class="QPushButton"> |
|
349 |
<property name="name"> |
|
350 |
<cstring>buttonOk</cstring> |
|
351 |
</property> |
|
352 |
<property name="text"> |
|
353 |
<string>&OK</string> |
|
354 |
</property> |
|
355 |
<property name="autoDefault"> |
|
356 |
<bool>true</bool> |
|
357 |
</property> |
|
358 |
<property name="default"> |
|
359 |
<bool>true</bool> |
|
360 |
</property> |
|
361 |
<property name="whatsThis" stdset="0"> |
|
362 |
<string>Close the dialog and apply all the changes.</string> |
|
363 |
</property> |
|
364 |
</widget> |
|
365 |
<widget class="QPushButton"> |
|
366 |
<property name="name"> |
|
367 |
<cstring>buttonCancel</cstring> |
|
368 |
</property> |
|
369 |
<property name="text"> |
|
370 |
<string>&Cancel</string> |
|
371 |
</property> |
|
372 |
<property name="autoDefault"> |
|
373 |
<bool>true</bool> |
|
374 |
</property> |
|
375 |
<property name="whatsThis" stdset="0"> |
|
376 |
<string>Close the dialog and discard any changes.</string> |
|
377 |
</property> |
|
378 |
</widget> |
|
379 |
</hbox> |
|
380 |
</widget> |
|
381 |
</vbox> |
|
382 |
</widget> |
|
383 |
<connections> |
|
384 |
<connection> |
|
385 |
<sender>itemNew</sender> |
|
386 |
<signal>clicked()</signal> |
|
387 |
<receiver>IconViewEditorBase</receiver> |
|
388 |
<slot>insertNewItem()</slot> |
|
389 |
</connection> |
|
390 |
<connection> |
|
391 |
<sender>itemDelete</sender> |
|
392 |
<signal>clicked()</signal> |
|
393 |
<receiver>IconViewEditorBase</receiver> |
|
394 |
<slot>deleteCurrentItem()</slot> |
|
395 |
</connection> |
|
396 |
<connection> |
|
397 |
<sender>itemText</sender> |
|
398 |
<signal>textChanged( const QString & )</signal> |
|
399 |
<receiver>IconViewEditorBase</receiver> |
|
400 |
<slot>currentTextChanged(const QString&)</slot> |
|
401 |
</connection> |
|
402 |
<connection> |
|
403 |
<sender>buttonOk</sender> |
|
404 |
<signal>clicked()</signal> |
|
405 |
<receiver>IconViewEditorBase</receiver> |
|
406 |
<slot>okClicked()</slot> |
|
407 |
</connection> |
|
408 |
<connection> |
|
409 |
<sender>buttonApply</sender> |
|
410 |
<signal>clicked()</signal> |
|
411 |
<receiver>IconViewEditorBase</receiver> |
|
412 |
<slot>applyClicked()</slot> |
|
413 |
</connection> |
|
414 |
<connection> |
|
415 |
<sender>buttonCancel</sender> |
|
416 |
<signal>clicked()</signal> |
|
417 |
<receiver>IconViewEditorBase</receiver> |
|
418 |
<slot>cancelClicked()</slot> |
|
419 |
</connection> |
|
420 |
<connection> |
|
421 |
<sender>itemChoosePixmap</sender> |
|
422 |
<signal>clicked()</signal> |
|
423 |
<receiver>IconViewEditorBase</receiver> |
|
424 |
<slot>choosePixmap()</slot> |
|
425 |
</connection> |
|
426 |
<connection> |
|
427 |
<sender>preview</sender> |
|
428 |
<signal>selectionChanged(QIconViewItem*)</signal> |
|
429 |
<receiver>IconViewEditorBase</receiver> |
|
430 |
<slot>currentItemChanged(QIconViewItem*)</slot> |
|
431 |
</connection> |
|
432 |
<connection> |
|
433 |
<sender>preview</sender> |
|
434 |
<signal>currentChanged(QIconViewItem*)</signal> |
|
435 |
<receiver>IconViewEditorBase</receiver> |
|
436 |
<slot>currentItemChanged(QIconViewItem*)</slot> |
|
437 |
</connection> |
|
438 |
<connection> |
|
439 |
<sender>itemDeletePixmap</sender> |
|
440 |
<signal>clicked()</signal> |
|
441 |
<receiver>IconViewEditorBase</receiver> |
|
442 |
<slot>deletePixmap()</slot> |
|
443 |
</connection> |
|
444 |
</connections> |
|
445 |
<tabstops> |
|
446 |
<tabstop>buttonOk</tabstop> |
|
447 |
<tabstop>buttonCancel</tabstop> |
|
448 |
<tabstop>preview</tabstop> |
|
449 |
<tabstop>itemNew</tabstop> |
|
450 |
<tabstop>itemDelete</tabstop> |
|
451 |
<tabstop>itemText</tabstop> |
|
452 |
<tabstop>itemDeletePixmap</tabstop> |
|
453 |
<tabstop>itemChoosePixmap</tabstop> |
|
454 |
<tabstop>buttonHelp</tabstop> |
|
455 |
<tabstop>buttonApply</tabstop> |
|
456 |
</tabstops> |
|
457 |
<slots> |
|
458 |
<slot access="protected">init()</slot> |
|
459 |
<slot access="protected">destroy()</slot> |
|
460 |
<slot access="protected">applyClicked()</slot> |
|
461 |
<slot access="protected">cancelClicked()</slot> |
|
462 |
<slot access="protected">choosePixmap()</slot> |
|
463 |
<slot access="protected">currentItemChanged( QIconViewItem * )</slot> |
|
464 |
<slot access="protected">currentTextChanged( const QString & )</slot> |
|
465 |
<slot access="protected">deleteCurrentItem()</slot> |
|
466 |
<slot access="protected">insertNewItem()</slot> |
|
467 |
<slot access="protected">deletePixmap()</slot> |
|
468 |
<slot access="protected">okClicked()</slot> |
|
469 |
</slots> |
|
470 |
<pixmapinproject/> |
|
471 |
<layoutdefaults spacing="6" margin="11"/> |
|
472 |
</UI> |