|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment>********************************************************************* |
|
5 ** |
|
6 ** Copyright (C) 2010 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 autotests of the Qt Toolkit. |
|
11 ** |
|
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. |
|
18 ** |
|
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. |
|
26 ** |
|
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. |
|
30 ** |
|
31 ** If you have questions regarding the use of this file, please contact |
|
32 ** Nokia at qt-info@nokia.com. |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** |
|
40 ** |
|
41 ** $QT_END_LICENSE$ |
|
42 ** |
|
43 *********************************************************************</comment> |
|
44 <exportmacro></exportmacro> |
|
45 <class>PixmapCollectionEditor</class> |
|
46 <widget class="QDialog" name="PixmapCollectionEditor"> |
|
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="windowTitle"> |
|
56 <string>Manage Image Collection</string> |
|
57 </property> |
|
58 <layout class="QVBoxLayout"> |
|
59 <property name="margin"> |
|
60 <number>11</number> |
|
61 </property> |
|
62 <property name="spacing"> |
|
63 <number>6</number> |
|
64 </property> |
|
65 <item> |
|
66 <widget class="Q3IconView" name="viewPixmaps"> |
|
67 <property name="resizeMode"> |
|
68 <enum>Q3IconView::Adjust</enum> |
|
69 </property> |
|
70 <property name="itemsMovable"> |
|
71 <bool>false</bool> |
|
72 </property> |
|
73 </widget> |
|
74 </item> |
|
75 <item> |
|
76 <layout class="QHBoxLayout"> |
|
77 <property name="margin"> |
|
78 <number>0</number> |
|
79 </property> |
|
80 <property name="spacing"> |
|
81 <number>6</number> |
|
82 </property> |
|
83 <item> |
|
84 <widget class="QPushButton" name="PushButton2"> |
|
85 <property name="text"> |
|
86 <string>&Add...</string> |
|
87 </property> |
|
88 </widget> |
|
89 </item> |
|
90 <item> |
|
91 <widget class="QPushButton" name="PushButton3"> |
|
92 <property name="text"> |
|
93 <string>&Delete</string> |
|
94 </property> |
|
95 </widget> |
|
96 </item> |
|
97 <item> |
|
98 <spacer name="Spacer2"> |
|
99 <property name="sizeHint"> |
|
100 <size> |
|
101 <width>20</width> |
|
102 <height>20</height> |
|
103 </size> |
|
104 </property> |
|
105 <property name="sizeType"> |
|
106 <enum>QSizePolicy::Expanding</enum> |
|
107 </property> |
|
108 <property name="orientation"> |
|
109 <enum>Qt::Horizontal</enum> |
|
110 </property> |
|
111 </spacer> |
|
112 </item> |
|
113 <item> |
|
114 <widget class="QPushButton" name="buttonOk"> |
|
115 <property name="text"> |
|
116 <string>&OK</string> |
|
117 </property> |
|
118 <property name="default"> |
|
119 <bool>true</bool> |
|
120 </property> |
|
121 </widget> |
|
122 </item> |
|
123 <item> |
|
124 <widget class="QPushButton" name="buttonCancel"> |
|
125 <property name="text"> |
|
126 <string>&Cancel</string> |
|
127 </property> |
|
128 </widget> |
|
129 </item> |
|
130 <item> |
|
131 <widget class="QPushButton" name="buttonClose"> |
|
132 <property name="text"> |
|
133 <string>C&lose</string> |
|
134 </property> |
|
135 <property name="default"> |
|
136 <bool>true</bool> |
|
137 </property> |
|
138 </widget> |
|
139 </item> |
|
140 </layout> |
|
141 </item> |
|
142 </layout> |
|
143 </widget> |
|
144 <layoutdefault spacing="6" margin="11"/> |
|
145 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
146 <tabstops> |
|
147 <tabstop>PushButton2</tabstop> |
|
148 <tabstop>PushButton3</tabstop> |
|
149 <tabstop>viewPixmaps</tabstop> |
|
150 <tabstop>buttonClose</tabstop> |
|
151 </tabstops> |
|
152 <includes> |
|
153 <include location="global">qpixmap.h</include> |
|
154 </includes> |
|
155 <connections> |
|
156 <connection> |
|
157 <sender>PushButton2</sender> |
|
158 <signal>clicked()</signal> |
|
159 <receiver>PixmapCollectionEditor</receiver> |
|
160 <slot>addPixmap()</slot> |
|
161 </connection> |
|
162 <connection> |
|
163 <sender>PushButton3</sender> |
|
164 <signal>clicked()</signal> |
|
165 <receiver>PixmapCollectionEditor</receiver> |
|
166 <slot>removePixmap()</slot> |
|
167 </connection> |
|
168 <connection> |
|
169 <sender>viewPixmaps</sender> |
|
170 <signal>currentChanged(Q3IconViewItem*)</signal> |
|
171 <receiver>PixmapCollectionEditor</receiver> |
|
172 <slot>currentChanged(Q3IconViewItem*)</slot> |
|
173 </connection> |
|
174 <connection> |
|
175 <sender>buttonOk</sender> |
|
176 <signal>clicked()</signal> |
|
177 <receiver>PixmapCollectionEditor</receiver> |
|
178 <slot>accept()</slot> |
|
179 </connection> |
|
180 <connection> |
|
181 <sender>buttonCancel</sender> |
|
182 <signal>clicked()</signal> |
|
183 <receiver>PixmapCollectionEditor</receiver> |
|
184 <slot>reject()</slot> |
|
185 </connection> |
|
186 <connection> |
|
187 <sender>buttonClose</sender> |
|
188 <signal>clicked()</signal> |
|
189 <receiver>PixmapCollectionEditor</receiver> |
|
190 <slot>accept()</slot> |
|
191 </connection> |
|
192 </connections> |
|
193 </ui> |