1
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
2
<class>ListEditor</class>
3
<comment>*********************************************************************
4
** Copyright (C) 2001 Trolltech AS. All rights reserved.
6
** This file is part of Qt Designer.
8
** This file may be distributed and/or modified under the terms of the
9
** GNU General Public License version 2 as published by the Free Software
10
** Foundation and appearing in the file LICENSE.GPL included in the
11
** packaging of this file.
13
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
14
** licenses may use this file in accordance with the Qt Commercial License
15
** Agreement provided with the Software.
17
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
18
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20
** See http://www.trolltech.com/gpl/ for GPL licensing information.
21
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
22
** information about Qt Commercial License Agreements.
24
** Contact info@trolltech.com if any conditions of this licensing are
27
*********************************************************************</comment>
28
<widget class="QDialog">
29
<property name="name">
30
<cstring>ListEditor</cstring>
32
<property name="geometry">
40
<property name="caption">
44
<property name="name">
45
<cstring>unnamed</cstring>
47
<property name="margin">
50
<property name="spacing">
53
<widget class="QListView" row="0" column="0" rowspan="5" colspan="1">
55
<property name="text">
56
<string>Column 1</string>
58
<property name="clickable">
61
<property name="resizeable">
65
<property name="name">
66
<cstring>listview</cstring>
68
<property name="selectionMode">
71
<property name="resizeMode">
72
<enum>AllColumns</enum>
75
<widget class="QPushButton" row="0" column="1">
76
<property name="name">
77
<cstring>PushButton1</cstring>
79
<property name="text">
80
<string>&Add</string>
83
<widget class="QPushButton" row="1" column="1">
84
<property name="name">
85
<cstring>PushButton2</cstring>
87
<property name="text">
88
<string>&Remove</string>
91
<widget class="QPushButton" row="2" column="1">
92
<property name="name">
93
<cstring>PushButton3</cstring>
95
<property name="text">
96
<string>Re&name</string>
99
<widget class="QPushButton" row="4" column="1">
100
<property name="name">
101
<cstring>PushButton4</cstring>
103
<property name="text">
104
<string>&Close</string>
107
<spacer row="3" column="1">
108
<property name="name">
109
<cstring>Spacer1</cstring>
111
<property name="orientation">
112
<enum>Vertical</enum>
114
<property name="sizeType">
115
<enum>Expanding</enum>
117
<property name="sizeHint">
128
<sender>PushButton1</sender>
129
<signal>clicked()</signal>
130
<receiver>ListEditor</receiver>
131
<slot>addItem()</slot>
134
<sender>PushButton2</sender>
135
<signal>clicked()</signal>
136
<receiver>ListEditor</receiver>
137
<slot>removeItems()</slot>
140
<sender>PushButton4</sender>
141
<signal>clicked()</signal>
142
<receiver>ListEditor</receiver>
143
<slot>accept()</slot>
146
<sender>listview</sender>
147
<signal>itemRenamed(QListViewItem*,int)</signal>
148
<receiver>ListEditor</receiver>
149
<slot>renamed(QListViewItem*)</slot>
152
<sender>PushButton3</sender>
153
<signal>clicked()</signal>
154
<receiver>ListEditor</receiver>
155
<slot>renameItem()</slot>
159
<include location="local" impldecl="in implementation">listeditor.ui.h</include>
162
<forward>class QStringList;</forward>
166
<slot>setList( const QStringList & l )</slot>
167
<slot>addItem()</slot>
168
<slot>renamed( QListViewItem * i )</slot>
169
<slot>removeItems()</slot>
170
<slot returnType="QStringList">items()</slot>
171
<slot>renameItem()</slot>
174
<include location="local" impldecl="in implementation">myiconloader.h</include>
176
<pixmapfunction>BarIcon2</pixmapfunction>
178
<layoutdefaults spacing="6" margin="11"/>