Updating line numbers in uic3 auto-tests
[qt-netbsd.git] / tests / auto / uic3 / baseline / listboxeditor.ui.4
blob8de9fa79832d8e500edc20d147fc18f7349287cc
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0" stdsetdef="1">
3 <author></author>
4 <comment>*********************************************************************
5 **
6 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
7 ** All rights reserved.
8 ** Contact: Nokia Corporation (qt-info@nokia.com)
9 **
10 ** This file is part of the test suite of the Qt Toolkit.
12 ** $QT_BEGIN_LICENSE:LGPL$
13 ** No Commercial Usage
14 ** This file contains pre-release code and may not be distributed.
15 ** You may use this file in accordance with the terms and conditions
16 ** contained in the Technology Preview License Agreement accompanying
17 ** this package.
19 ** GNU Lesser General Public License Usage
20 ** Alternatively, this file may be used under the terms of the GNU Lesser
21 ** General Public License version 2.1 as published by the Free Software
22 ** Foundation and appearing in the file LICENSE.LGPL included in the
23 ** packaging of this file. Please review the following information to
24 ** ensure the GNU Lesser General Public License version 2.1 requirements
25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
27 ** In addition, as a special exception, Nokia gives you certain additional
28 ** rights. These rights are described in the Nokia Qt LGPL Exception
29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
31 ** If you have questions regarding the use of this file, please contact
32 ** Nokia at qt-info@nokia.com.
41 ** $QT_END_LICENSE$
43 *********************************************************************</comment>
44 <exportmacro></exportmacro>
45 <class>ListBoxEditorBase</class>
46 <widget class="QDialog" name="ListBoxEditorBase">
47 <property name="geometry">
48 <rect>
49 <x>0</x>
50 <y>0</y>
51 <width>482</width>
52 <height>229</height>
53 </rect>
54 </property>
55 <property name="windowTitle">
56 <string>Edit Listbox</string>
57 </property>
58 <property name="sizeGripEnabled">
59 <bool>true</bool>
60 </property>
61 <property name="whatsThis" stdset="0">
62 <string>&lt;b&gt;Edit Listbox&lt;/b&gt;&lt;p&gt;Add, edit or delete items in the listbox.&lt;/p&gt;&lt;p&gt;Click the &lt;b&gt;New Item&lt;/b&gt;-button to create a new listbox entry, then enter text and choose a pixmap.&lt;/p&gt;&lt;p&gt;Select an item from the list and click the &lt;b&gt;Delete Item&lt;/b&gt;-button to remove the item from the list.&lt;/p&gt;</string>
63 </property>
64 <layout class="QGridLayout">
65 <property name="margin">
66 <number>11</number>
67 </property>
68 <property name="spacing">
69 <number>6</number>
70 </property>
71 <item row="5" column="0" rowspan="1" colspan="3">
72 <layout class="QHBoxLayout">
73 <property name="margin">
74 <number>0</number>
75 </property>
76 <property name="spacing">
77 <number>6</number>
78 </property>
79 <item>
80 <widget class="QPushButton" name="helpButton">
81 <property name="text">
82 <string>&amp;Help</string>
83 </property>
84 <property name="autoDefault">
85 <bool>true</bool>
86 </property>
87 </widget>
88 </item>
89 <item>
90 <spacer name="Horizontal Spacing2">
91 <property name="sizeHint">
92 <size>
93 <width>20</width>
94 <height>20</height>
95 </size>
96 </property>
97 <property name="sizeType">
98 <enum>QSizePolicy::Expanding</enum>
99 </property>
100 <property name="orientation">
101 <enum>Qt::Horizontal</enum>
102 </property>
103 </spacer>
104 </item>
105 <item>
106 <widget class="QPushButton" name="buttonApply">
107 <property name="text">
108 <string>&amp;Apply</string>
109 </property>
110 <property name="autoDefault">
111 <bool>true</bool>
112 </property>
113 <property name="whatsThis" stdset="0">
114 <string>Apply all changes.</string>
115 </property>
116 </widget>
117 </item>
118 <item>
119 <widget class="QPushButton" name="buttonOk">
120 <property name="text">
121 <string>&amp;OK</string>
122 </property>
123 <property name="autoDefault">
124 <bool>true</bool>
125 </property>
126 <property name="default">
127 <bool>true</bool>
128 </property>
129 <property name="whatsThis" stdset="0">
130 <string>Close the dialog and apply all the changes.</string>
131 </property>
132 </widget>
133 </item>
134 <item>
135 <widget class="QPushButton" name="buttonCancel">
136 <property name="text">
137 <string>&amp;Cancel</string>
138 </property>
139 <property name="autoDefault">
140 <bool>true</bool>
141 </property>
142 <property name="whatsThis" stdset="0">
143 <string>Close the dialog and discard any changes.</string>
144 </property>
145 </widget>
146 </item>
147 </layout>
148 </item>
149 <item row="0" column="0" rowspan="5" colspan="1">
150 <widget class="Q3ListBox" name="preview">
151 <property name="toolTip" stdset="0">
152 <string>Item list</string>
153 </property>
154 <property name="whatsThis" stdset="0">
155 <string>The list of items.</string>
156 </property>
157 </widget>
158 </item>
159 <item row="0" column="2" rowspan="5" colspan="1">
160 <widget class="Q3GroupBox" name="GroupBox1">
161 <property name="title">
162 <string>&amp;Item Properties</string>
163 </property>
164 <layout class="QGridLayout">
165 <property name="margin">
166 <number>11</number>
167 </property>
168 <property name="spacing">
169 <number>6</number>
170 </property>
171 <item row="1" column="0">
172 <widget class="QLabel" name="Label2">
173 <property name="text">
174 <string>&amp;Pixmap:</string>
175 </property>
176 <property name="buddy" stdset="0">
177 <cstring>itemChoosePixmap</cstring>
178 </property>
179 <property name="wordWrap">
180 <bool>false</bool>
181 </property>
182 </widget>
183 </item>
184 <item row="1" column="1">
185 <widget class="QLabel" name="itemPixmap">
186 <property name="text">
187 <string>Label4</string>
188 </property>
189 <property name="wordWrap">
190 <bool>false</bool>
191 </property>
192 </widget>
193 </item>
194 <item row="1" column="2">
195 <widget class="QPushButton" name="itemDeletePixmap">
196 <property name="maximumSize">
197 <size>
198 <width>30</width>
199 <height>22</height>
200 </size>
201 </property>
202 <property name="text">
203 <string/>
204 </property>
205 <property name="icon">
206 <pixmap>designer_s_editcut.png</pixmap>
207 </property>
208 <property name="toolTip" stdset="0">
209 <string>Delete Pixmap</string>
210 </property>
211 <property name="whatsThis" stdset="0">
212 <string>Delete the selected item's pixmap.</string>
213 </property>
214 </widget>
215 </item>
216 <item row="1" column="3">
217 <widget class="QPushButton" name="itemChoosePixmap">
218 <property name="maximumSize">
219 <size>
220 <width>30</width>
221 <height>22</height>
222 </size>
223 </property>
224 <property name="text">
225 <string>...</string>
226 </property>
227 <property name="toolTip" stdset="0">
228 <string>Select a Pixmap</string>
229 </property>
230 <property name="whatsThis" stdset="0">
231 <string>Choose a pixmap file for the selected item.</string>
232 </property>
233 </widget>
234 </item>
235 <item row="0" column="0">
236 <widget class="QLabel" name="Label1">
237 <property name="text">
238 <string>&amp;Text:</string>
239 </property>
240 <property name="buddy" stdset="0">
241 <cstring>itemText</cstring>
242 </property>
243 <property name="wordWrap">
244 <bool>false</bool>
245 </property>
246 </widget>
247 </item>
248 <item row="0" column="1" rowspan="1" colspan="3">
249 <widget class="QLineEdit" name="itemText">
250 <property name="minimumSize">
251 <size>
252 <width>0</width>
253 <height>0</height>
254 </size>
255 </property>
256 <property name="toolTip" stdset="0">
257 <string>Change text</string>
258 </property>
259 <property name="whatsThis" stdset="0">
260 <string>Change the selected item's text.</string>
261 </property>
262 </widget>
263 </item>
264 </layout>
265 </widget>
266 </item>
267 <item row="0" column="1">
268 <widget class="QPushButton" name="itemNew">
269 <property name="text">
270 <string>&amp;New Item</string>
271 </property>
272 <property name="toolTip" stdset="0">
273 <string>Add an item</string>
274 </property>
275 <property name="whatsThis" stdset="0">
276 <string>&lt;b&gt;Add a new item.&lt;/b&gt;&lt;p&gt;New items are appended to the list.&lt;/p&gt;</string>
277 </property>
278 </widget>
279 </item>
280 <item row="1" column="1">
281 <widget class="QPushButton" name="itemDelete">
282 <property name="text">
283 <string>&amp;Delete Item</string>
284 </property>
285 <property name="toolTip" stdset="0">
286 <string>Delete Item</string>
287 </property>
288 <property name="whatsThis" stdset="0">
289 <string>Delete the selected item</string>
290 </property>
291 </widget>
292 </item>
293 <item row="2" column="1">
294 <spacer name="Vertical Spacing1">
295 <property name="sizeHint">
296 <size>
297 <width>20</width>
298 <height>20</height>
299 </size>
300 </property>
301 <property name="sizeType">
302 <enum>QSizePolicy::Expanding</enum>
303 </property>
304 <property name="orientation">
305 <enum>Qt::Vertical</enum>
306 </property>
307 </spacer>
308 </item>
309 <item row="3" column="1">
310 <widget class="QPushButton" name="itemUp">
311 <property name="text">
312 <string/>
313 </property>
314 <property name="icon">
315 <pixmap>designer_s_up.png</pixmap>
316 </property>
317 <property name="toolTip" stdset="0">
318 <string>Move up</string>
319 </property>
320 <property name="whatsThis" stdset="0">
321 <string>Moves the selected item up.</string>
322 </property>
323 </widget>
324 </item>
325 <item row="4" column="1">
326 <widget class="QPushButton" name="itemDown">
327 <property name="text">
328 <string/>
329 </property>
330 <property name="icon">
331 <pixmap>designer_s_down.png</pixmap>
332 </property>
333 <property name="toolTip" stdset="0">
334 <string>Move down</string>
335 </property>
336 <property name="whatsThis" stdset="0">
337 <string>Move the selected item down.</string>
338 </property>
339 </widget>
340 </item>
341 </layout>
342 </widget>
343 <layoutdefault spacing="6" margin="11"/>
344 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
345 <tabstops>
346 <tabstop>buttonOk</tabstop>
347 <tabstop>buttonCancel</tabstop>
348 <tabstop>preview</tabstop>
349 <tabstop>itemNew</tabstop>
350 <tabstop>itemDelete</tabstop>
351 <tabstop>itemUp</tabstop>
352 <tabstop>itemDown</tabstop>
353 <tabstop>itemText</tabstop>
354 <tabstop>itemDeletePixmap</tabstop>
355 <tabstop>itemChoosePixmap</tabstop>
356 <tabstop>helpButton</tabstop>
357 <tabstop>buttonApply</tabstop>
358 </tabstops>
359 <connections>
360 <connection>
361 <sender>itemNew</sender>
362 <signal>clicked()</signal>
363 <receiver>ListBoxEditorBase</receiver>
364 <slot>insertNewItem()</slot>
365 </connection>
366 <connection>
367 <sender>itemDelete</sender>
368 <signal>clicked()</signal>
369 <receiver>ListBoxEditorBase</receiver>
370 <slot>deleteCurrentItem()</slot>
371 </connection>
372 <connection>
373 <sender>itemText</sender>
374 <signal>textChanged(QString)</signal>
375 <receiver>ListBoxEditorBase</receiver>
376 <slot>currentTextChanged(QString)</slot>
377 </connection>
378 <connection>
379 <sender>buttonOk</sender>
380 <signal>clicked()</signal>
381 <receiver>ListBoxEditorBase</receiver>
382 <slot>okClicked()</slot>
383 </connection>
384 <connection>
385 <sender>buttonApply</sender>
386 <signal>clicked()</signal>
387 <receiver>ListBoxEditorBase</receiver>
388 <slot>applyClicked()</slot>
389 </connection>
390 <connection>
391 <sender>buttonCancel</sender>
392 <signal>clicked()</signal>
393 <receiver>ListBoxEditorBase</receiver>
394 <slot>cancelClicked()</slot>
395 </connection>
396 <connection>
397 <sender>itemChoosePixmap</sender>
398 <signal>clicked()</signal>
399 <receiver>ListBoxEditorBase</receiver>
400 <slot>choosePixmap()</slot>
401 </connection>
402 <connection>
403 <sender>itemDeletePixmap</sender>
404 <signal>clicked()</signal>
405 <receiver>ListBoxEditorBase</receiver>
406 <slot>deletePixmap()</slot>
407 </connection>
408 <connection>
409 <sender>itemUp</sender>
410 <signal>clicked()</signal>
411 <receiver>ListBoxEditorBase</receiver>
412 <slot>moveItemUp()</slot>
413 </connection>
414 <connection>
415 <sender>itemDown</sender>
416 <signal>clicked()</signal>
417 <receiver>ListBoxEditorBase</receiver>
418 <slot>moveItemDown()</slot>
419 </connection>
420 <connection>
421 <sender>preview</sender>
422 <signal>selectionChanged(Q3ListBoxItem*)</signal>
423 <receiver>ListBoxEditorBase</receiver>
424 <slot>currentItemChanged(Q3ListBoxItem*)</slot>
425 </connection>
426 <connection>
427 <sender>preview</sender>
428 <signal>currentChanged(Q3ListBoxItem*)</signal>
429 <receiver>ListBoxEditorBase</receiver>
430 <slot>currentItemChanged(Q3ListBoxItem*)</slot>
431 </connection>
432 </connections>
433 </ui>