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.0" stdsetdef="1"> |
2 |
<class>PixmapCollectionEditor</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 autotests 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>PixmapCollectionEditor</cstring> |
|
46 |
</property> |
|
47 |
<property name="geometry"> |
|
48 |
<rect> |
|
49 |
<x>0</x> |
|
50 |
<y>0</y> |
|
51 |
<width>455</width> |
|
52 |
<height>260</height> |
|
53 |
</rect> |
|
54 |
</property> |
|
55 |
<property name="caption"> |
|
56 |
<string>Manage Image Collection</string> |
|
57 |
</property> |
|
58 |
<vbox> |
|
59 |
<property name="name"> |
|
60 |
<cstring>unnamed</cstring> |
|
61 |
</property> |
|
62 |
<property name="margin"> |
|
63 |
<number>11</number> |
|
64 |
</property> |
|
65 |
<property name="spacing"> |
|
66 |
<number>6</number> |
|
67 |
</property> |
|
68 |
<widget class="QIconView"> |
|
69 |
<property name="name"> |
|
70 |
<cstring>viewPixmaps</cstring> |
|
71 |
</property> |
|
72 |
<property name="resizeMode"> |
|
73 |
<enum>Adjust</enum> |
|
74 |
</property> |
|
75 |
<property name="itemsMovable"> |
|
76 |
<bool>false</bool> |
|
77 |
</property> |
|
78 |
</widget> |
|
79 |
<widget class="QLayoutWidget"> |
|
80 |
<property name="name"> |
|
81 |
<cstring>Layout2</cstring> |
|
82 |
</property> |
|
83 |
<hbox> |
|
84 |
<property name="name"> |
|
85 |
<cstring>unnamed</cstring> |
|
86 |
</property> |
|
87 |
<property name="margin"> |
|
88 |
<number>0</number> |
|
89 |
</property> |
|
90 |
<property name="spacing"> |
|
91 |
<number>6</number> |
|
92 |
</property> |
|
93 |
<widget class="QPushButton"> |
|
94 |
<property name="name"> |
|
95 |
<cstring>PushButton2</cstring> |
|
96 |
</property> |
|
97 |
<property name="text"> |
|
98 |
<string>&Add...</string> |
|
99 |
</property> |
|
100 |
</widget> |
|
101 |
<widget class="QPushButton"> |
|
102 |
<property name="name"> |
|
103 |
<cstring>PushButton3</cstring> |
|
104 |
</property> |
|
105 |
<property name="text"> |
|
106 |
<string>&Delete</string> |
|
107 |
</property> |
|
108 |
</widget> |
|
109 |
<spacer> |
|
110 |
<property name="name"> |
|
111 |
<cstring>Spacer2</cstring> |
|
112 |
</property> |
|
113 |
<property name="orientation"> |
|
114 |
<enum>Horizontal</enum> |
|
115 |
</property> |
|
116 |
<property name="sizeType"> |
|
117 |
<enum>Expanding</enum> |
|
118 |
</property> |
|
119 |
<property name="sizeHint"> |
|
120 |
<size> |
|
121 |
<width>20</width> |
|
122 |
<height>20</height> |
|
123 |
</size> |
|
124 |
</property> |
|
125 |
</spacer> |
|
126 |
<widget class="QPushButton"> |
|
127 |
<property name="name"> |
|
128 |
<cstring>buttonOk</cstring> |
|
129 |
</property> |
|
130 |
<property name="text"> |
|
131 |
<string>&OK</string> |
|
132 |
</property> |
|
133 |
<property name="default"> |
|
134 |
<bool>true</bool> |
|
135 |
</property> |
|
136 |
</widget> |
|
137 |
<widget class="QPushButton"> |
|
138 |
<property name="name"> |
|
139 |
<cstring>buttonCancel</cstring> |
|
140 |
</property> |
|
141 |
<property name="text"> |
|
142 |
<string>&Cancel</string> |
|
143 |
</property> |
|
144 |
</widget> |
|
145 |
<widget class="QPushButton"> |
|
146 |
<property name="name"> |
|
147 |
<cstring>buttonClose</cstring> |
|
148 |
</property> |
|
149 |
<property name="text"> |
|
150 |
<string>C&lose</string> |
|
151 |
</property> |
|
152 |
<property name="default"> |
|
153 |
<bool>true</bool> |
|
154 |
</property> |
|
155 |
</widget> |
|
156 |
</hbox> |
|
157 |
</widget> |
|
158 |
</vbox> |
|
159 |
</widget> |
|
160 |
<connections> |
|
161 |
<connection> |
|
162 |
<sender>PushButton2</sender> |
|
163 |
<signal>clicked()</signal> |
|
164 |
<receiver>PixmapCollectionEditor</receiver> |
|
165 |
<slot>addPixmap()</slot> |
|
166 |
</connection> |
|
167 |
<connection> |
|
168 |
<sender>PushButton3</sender> |
|
169 |
<signal>clicked()</signal> |
|
170 |
<receiver>PixmapCollectionEditor</receiver> |
|
171 |
<slot>removePixmap()</slot> |
|
172 |
</connection> |
|
173 |
<connection> |
|
174 |
<sender>viewPixmaps</sender> |
|
175 |
<signal>currentChanged(QIconViewItem*)</signal> |
|
176 |
<receiver>PixmapCollectionEditor</receiver> |
|
177 |
<slot>currentChanged(QIconViewItem*)</slot> |
|
178 |
</connection> |
|
179 |
<connection> |
|
180 |
<sender>buttonOk</sender> |
|
181 |
<signal>clicked()</signal> |
|
182 |
<receiver>PixmapCollectionEditor</receiver> |
|
183 |
<slot>accept()</slot> |
|
184 |
</connection> |
|
185 |
<connection> |
|
186 |
<sender>buttonCancel</sender> |
|
187 |
<signal>clicked()</signal> |
|
188 |
<receiver>PixmapCollectionEditor</receiver> |
|
189 |
<slot>reject()</slot> |
|
190 |
</connection> |
|
191 |
<connection> |
|
192 |
<sender>buttonClose</sender> |
|
193 |
<signal>clicked()</signal> |
|
194 |
<receiver>PixmapCollectionEditor</receiver> |
|
195 |
<slot>accept()</slot> |
|
196 |
</connection> |
|
197 |
</connections> |
|
198 |
<tabstops> |
|
199 |
<tabstop>PushButton2</tabstop> |
|
200 |
<tabstop>PushButton3</tabstop> |
|
201 |
<tabstop>viewPixmaps</tabstop> |
|
202 |
<tabstop>buttonClose</tabstop> |
|
203 |
</tabstops> |
|
204 |
<includes> |
|
205 |
<include location="local" impldecl="in implementation">pixmapcollection.h</include> |
|
206 |
<include location="local" impldecl="in implementation">pixmapchooser.h</include> |
|
207 |
<include location="local" impldecl="in implementation">project.h</include> |
|
208 |
<include location="global" impldecl="in implementation">qfileinfo.h</include> |
|
209 |
<include location="global" impldecl="in implementation">qimage.h</include> |
|
210 |
<include location="global" impldecl="in declaration">qpixmap.h</include> |
|
211 |
<include location="local" impldecl="in implementation">pixmapcollectioneditor.ui.h</include> |
|
212 |
</includes> |
|
213 |
<forwards> |
|
214 |
<forward>class Project;</forward> |
|
215 |
</forwards> |
|
216 |
<variables> |
|
217 |
<variable>Project *project;</variable> |
|
218 |
<variable>bool chooser;</variable> |
|
219 |
</variables> |
|
220 |
<slots> |
|
221 |
<slot>init()</slot> |
|
222 |
<slot>destroy()</slot> |
|
223 |
<slot>addPixmap()</slot> |
|
224 |
<slot>removePixmap()</slot> |
|
225 |
<slot>updateView()</slot> |
|
226 |
<slot>currentChanged(QIconViewItem * i)</slot> |
|
227 |
<slot>setChooserMode(bool c)</slot> |
|
228 |
<slot>setCurrentItem(const QString & name)</slot> |
|
229 |
<slot>setProject(Project * pro)</slot> |
|
230 |
<slot returnType="QPixmap">scaledPixmap(const QPixmap & p)</slot> |
|
231 |
</slots> |
|
232 |
<layoutdefaults spacing="6" margin="11"/> |
|
233 |
</UI> |