|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment></comment> |
|
5 <exportmacro></exportmacro> |
|
6 <class>AddressBook</class> |
|
7 <widget class="Q3MainWindow" name="AddressBook"> |
|
8 <property name="geometry"> |
|
9 <rect> |
|
10 <x>0</x> |
|
11 <y>0</y> |
|
12 <width>600</width> |
|
13 <height>480</height> |
|
14 </rect> |
|
15 </property> |
|
16 <property name="windowTitle"> |
|
17 <string>Address Book</string> |
|
18 </property> |
|
19 <widget class="QWidget"> |
|
20 <layout class="QHBoxLayout"> |
|
21 <property name="margin"> |
|
22 <number>11</number> |
|
23 </property> |
|
24 <property name="spacing"> |
|
25 <number>6</number> |
|
26 </property> |
|
27 <item> |
|
28 <widget class="Q3ListView" name="addressView"> |
|
29 <property name="selectionMode"> |
|
30 <enum>Q3ListView::Extended</enum> |
|
31 </property> |
|
32 <property name="allColumnsShowFocus"> |
|
33 <bool>true</bool> |
|
34 </property> |
|
35 <column> |
|
36 <property name="text"> |
|
37 <string>Last Name</string> |
|
38 </property> |
|
39 <property name="clickable"> |
|
40 <bool>true</bool> |
|
41 </property> |
|
42 <property name="resizeable"> |
|
43 <bool>true</bool> |
|
44 </property> |
|
45 </column> |
|
46 <column> |
|
47 <property name="text"> |
|
48 <string>First Name</string> |
|
49 </property> |
|
50 <property name="clickable"> |
|
51 <bool>true</bool> |
|
52 </property> |
|
53 <property name="resizeable"> |
|
54 <bool>true</bool> |
|
55 </property> |
|
56 </column> |
|
57 <column> |
|
58 <property name="text"> |
|
59 <string>Phone Number</string> |
|
60 </property> |
|
61 <property name="clickable"> |
|
62 <bool>true</bool> |
|
63 </property> |
|
64 <property name="resizeable"> |
|
65 <bool>true</bool> |
|
66 </property> |
|
67 </column> |
|
68 <column> |
|
69 <property name="text"> |
|
70 <string>Street </string> |
|
71 </property> |
|
72 <property name="clickable"> |
|
73 <bool>true</bool> |
|
74 </property> |
|
75 <property name="resizeable"> |
|
76 <bool>true</bool> |
|
77 </property> |
|
78 </column> |
|
79 <column> |
|
80 <property name="text"> |
|
81 <string>City</string> |
|
82 </property> |
|
83 <property name="clickable"> |
|
84 <bool>true</bool> |
|
85 </property> |
|
86 <property name="resizeable"> |
|
87 <bool>true</bool> |
|
88 </property> |
|
89 </column> |
|
90 <column> |
|
91 <property name="text"> |
|
92 <string>Country</string> |
|
93 </property> |
|
94 <property name="clickable"> |
|
95 <bool>true</bool> |
|
96 </property> |
|
97 <property name="resizeable"> |
|
98 <bool>true</bool> |
|
99 </property> |
|
100 </column> |
|
101 <column> |
|
102 <property name="text"> |
|
103 <string>Zip Code</string> |
|
104 </property> |
|
105 <property name="clickable"> |
|
106 <bool>true</bool> |
|
107 </property> |
|
108 <property name="resizeable"> |
|
109 <bool>true</bool> |
|
110 </property> |
|
111 </column> |
|
112 </widget> |
|
113 </item> |
|
114 </layout> |
|
115 </widget> |
|
116 <widget class="Q3ToolBar" name="toolBar"> |
|
117 <property name="label"> |
|
118 <string>Tools</string> |
|
119 </property> |
|
120 <addaction name="fileNewAction"/> |
|
121 <addaction name="fileOpenAction"/> |
|
122 <addaction name="fileSaveAction"/> |
|
123 <addaction name="separator"/> |
|
124 <addaction name="actionDeleteAddress"/> |
|
125 <addaction name="editFindAction"/> |
|
126 </widget> |
|
127 <widget class="QMenuBar" name="menubar"> |
|
128 <widget class="QMenu" name="fileMenu"> |
|
129 <property name="title"> |
|
130 <string>&File</string> |
|
131 </property> |
|
132 <addaction name="fileNewAction"/> |
|
133 <addaction name="fileOpenAction"/> |
|
134 <addaction name="fileSaveAction"/> |
|
135 <addaction name="fileSaveAsAction"/> |
|
136 <addaction name="separator"/> |
|
137 <addaction name="fileExitAction"/> |
|
138 </widget> |
|
139 <widget class="QMenu" name="editMenu"> |
|
140 <property name="title"> |
|
141 <string>&Edit</string> |
|
142 </property> |
|
143 <addaction name="actionDeleteAddress"/> |
|
144 <addaction name="separator"/> |
|
145 <addaction name="editFindAction"/> |
|
146 </widget> |
|
147 <addaction name="fileMenu"/> |
|
148 <addaction name="editMenu"/> |
|
149 </widget> |
|
150 <action name="fileNewAction"> |
|
151 <property name="name"> |
|
152 <cstring>fileNewAction</cstring> |
|
153 </property> |
|
154 <property name="icon"> |
|
155 <iconset>filenew.png</iconset> |
|
156 </property> |
|
157 <property name="iconText"> |
|
158 <string>New</string> |
|
159 </property> |
|
160 <property name="text"> |
|
161 <string>&New</string> |
|
162 </property> |
|
163 <property name="shortcut"> |
|
164 <number>4194382</number> |
|
165 </property> |
|
166 </action> |
|
167 <action name="fileOpenAction"> |
|
168 <property name="name"> |
|
169 <cstring>fileOpenAction</cstring> |
|
170 </property> |
|
171 <property name="icon"> |
|
172 <iconset>fileopen.png</iconset> |
|
173 </property> |
|
174 <property name="iconText"> |
|
175 <string>Open</string> |
|
176 </property> |
|
177 <property name="text"> |
|
178 <string>&Open...</string> |
|
179 </property> |
|
180 <property name="shortcut"> |
|
181 <number>4194383</number> |
|
182 </property> |
|
183 </action> |
|
184 <action name="fileSaveAction"> |
|
185 <property name="name"> |
|
186 <cstring>fileSaveAction</cstring> |
|
187 </property> |
|
188 <property name="icon"> |
|
189 <iconset>filesave.png</iconset> |
|
190 </property> |
|
191 <property name="iconText"> |
|
192 <string>Save</string> |
|
193 </property> |
|
194 <property name="text"> |
|
195 <string>&Save</string> |
|
196 </property> |
|
197 <property name="shortcut"> |
|
198 <number>4194387</number> |
|
199 </property> |
|
200 </action> |
|
201 <action name="fileSaveAsAction"> |
|
202 <property name="name"> |
|
203 <cstring>fileSaveAsAction</cstring> |
|
204 </property> |
|
205 <property name="iconText"> |
|
206 <string>Save As</string> |
|
207 </property> |
|
208 <property name="text"> |
|
209 <string>Save &As...</string> |
|
210 </property> |
|
211 <property name="shortcut"> |
|
212 <number>0</number> |
|
213 </property> |
|
214 </action> |
|
215 <action name="fileExitAction"> |
|
216 <property name="name"> |
|
217 <cstring>fileExitAction</cstring> |
|
218 </property> |
|
219 <property name="iconText"> |
|
220 <string>Exit</string> |
|
221 </property> |
|
222 <property name="text"> |
|
223 <string>E&xit</string> |
|
224 </property> |
|
225 <property name="shortcut"> |
|
226 <number>0</number> |
|
227 </property> |
|
228 </action> |
|
229 <action name="editFindAction"> |
|
230 <property name="name"> |
|
231 <cstring>editFindAction</cstring> |
|
232 </property> |
|
233 <property name="icon"> |
|
234 <iconset>searchfind.png</iconset> |
|
235 </property> |
|
236 <property name="iconText"> |
|
237 <string>Find</string> |
|
238 </property> |
|
239 <property name="text"> |
|
240 <string>&Find...</string> |
|
241 </property> |
|
242 <property name="shortcut"> |
|
243 <number>4194374</number> |
|
244 </property> |
|
245 </action> |
|
246 <action name="actionDeleteAddress"> |
|
247 <property name="name"> |
|
248 <cstring>actionDeleteAddress</cstring> |
|
249 </property> |
|
250 <property name="icon"> |
|
251 <iconset>editcut.png</iconset> |
|
252 </property> |
|
253 <property name="iconText"> |
|
254 <string>Delete</string> |
|
255 </property> |
|
256 </action> |
|
257 </widget> |
|
258 <layoutdefault spacing="6" margin="11"/> |
|
259 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
260 <connections> |
|
261 <connection> |
|
262 <sender>fileNewAction</sender> |
|
263 <signal>activated()</signal> |
|
264 <receiver>AddressBook</receiver> |
|
265 <slot>fileNew()</slot> |
|
266 </connection> |
|
267 <connection> |
|
268 <sender>fileOpenAction</sender> |
|
269 <signal>activated()</signal> |
|
270 <receiver>AddressBook</receiver> |
|
271 <slot>fileOpen()</slot> |
|
272 </connection> |
|
273 <connection> |
|
274 <sender>fileSaveAction</sender> |
|
275 <signal>activated()</signal> |
|
276 <receiver>AddressBook</receiver> |
|
277 <slot>fileSave()</slot> |
|
278 </connection> |
|
279 <connection> |
|
280 <sender>fileSaveAsAction</sender> |
|
281 <signal>activated()</signal> |
|
282 <receiver>AddressBook</receiver> |
|
283 <slot>fileSaveAs()</slot> |
|
284 </connection> |
|
285 <connection> |
|
286 <sender>fileExitAction</sender> |
|
287 <signal>activated()</signal> |
|
288 <receiver>AddressBook</receiver> |
|
289 <slot>fileExit()</slot> |
|
290 </connection> |
|
291 <connection> |
|
292 <sender>editFindAction</sender> |
|
293 <signal>activated()</signal> |
|
294 <receiver>AddressBook</receiver> |
|
295 <slot>editFind()</slot> |
|
296 </connection> |
|
297 <connection> |
|
298 <sender>actionDeleteAddress</sender> |
|
299 <signal>activated()</signal> |
|
300 <receiver>AddressBook</receiver> |
|
301 <slot>deleteAddress()</slot> |
|
302 </connection> |
|
303 </connections> |
|
304 </ui> |