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