Have fixed the saving..
[adress.git] / ui / mainwindowbase.ui
1 <!DOCTYPE UI><UI>
2 <class>CMainWindowBase</class>
3 <author>Michael Andreen</author>
4 <widget>
5     <class>QWidget</class>
6     <property stdset="1">
7         <name>name</name>
8         <cstring>unnamed</cstring>
9     </property>
10     <property stdset="1">
11         <name>geometry</name>
12         <rect>
13             <x>0</x>
14             <y>0</y>
15             <width>538</width>
16             <height>398</height>
17         </rect>
18     </property>
19     <property stdset="1">
20         <name>caption</name>
21         <string>Form1</string>
22     </property>
23     <grid>
24         <property stdset="1">
25             <name>margin</name>
26             <number>11</number>
27         </property>
28         <property stdset="1">
29             <name>spacing</name>
30             <number>6</number>
31         </property>
32         <widget row="0"  column="0" >
33             <class>QLayoutWidget</class>
34             <property stdset="1">
35                 <name>name</name>
36                 <cstring>Layout4</cstring>
37             </property>
38             <hbox>
39                 <property stdset="1">
40                     <name>margin</name>
41                     <number>0</number>
42                 </property>
43                 <property stdset="1">
44                     <name>spacing</name>
45                     <number>6</number>
46                 </property>
47                 <widget>
48                     <class>QListView</class>
49                     <column>
50                         <property>
51                             <name>text</name>
52                             <string>Num</string>
53                         </property>
54                         <property>
55                             <name>clickable</name>
56                             <bool>true</bool>
57                         </property>
58                         <property>
59                             <name>resizeable</name>
60                             <bool>true</bool>
61                         </property>
62                     </column>
63                     <column>
64                         <property>
65                             <name>text</name>
66                             <string>Efternamn</string>
67                         </property>
68                         <property>
69                             <name>clickable</name>
70                             <bool>true</bool>
71                         </property>
72                         <property>
73                             <name>resizeable</name>
74                             <bool>true</bool>
75                         </property>
76                     </column>
77                     <column>
78                         <property>
79                             <name>text</name>
80                             <string>Förnamn</string>
81                         </property>
82                         <property>
83                             <name>clickable</name>
84                             <bool>true</bool>
85                         </property>
86                         <property>
87                             <name>resizeable</name>
88                             <bool>true</bool>
89                         </property>
90                     </column>
91                     <column>
92                         <property>
93                             <name>text</name>
94                             <string>Adress</string>
95                         </property>
96                         <property>
97                             <name>clickable</name>
98                             <bool>true</bool>
99                         </property>
100                         <property>
101                             <name>resizeable</name>
102                             <bool>true</bool>
103                         </property>
104                     </column>
105                     <column>
106                         <property>
107                             <name>text</name>
108                             <string>Telefonnummer</string>
109                         </property>
110                         <property>
111                             <name>clickable</name>
112                             <bool>true</bool>
113                         </property>
114                         <property>
115                             <name>resizeable</name>
116                             <bool>true</bool>
117                         </property>
118                     </column>
119                     <property stdset="1">
120                         <name>name</name>
121                         <cstring>ContactView</cstring>
122                     </property>
123                     <property stdset="1">
124                         <name>frameShadow</name>
125                         <enum>Sunken</enum>
126                     </property>
127                     <property stdset="1">
128                         <name>frameShape</name>
129                         <enum>StyledPanel</enum>
130                     </property>
131                 </widget>
132                 <widget>
133                     <class>QLayoutWidget</class>
134                     <property stdset="1">
135                         <name>name</name>
136                         <cstring>Layout3</cstring>
137                     </property>
138                     <vbox>
139                         <property stdset="1">
140                             <name>margin</name>
141                             <number>0</number>
142                         </property>
143                         <property stdset="1">
144                             <name>spacing</name>
145                             <number>6</number>
146                         </property>
147                         <widget>
148                             <class>QPushButton</class>
149                             <property stdset="1">
150                                 <name>name</name>
151                                 <cstring>LoadButton</cstring>
152                             </property>
153                             <property stdset="1">
154                                 <name>text</name>
155                                 <string>&amp;Ladda fil</string>
156                             </property>
157                         </widget>
158                         <widget>
159                             <class>QPushButton</class>
160                             <property stdset="1">
161                                 <name>name</name>
162                                 <cstring>SaveButton</cstring>
163                             </property>
164                             <property stdset="1">
165                                 <name>text</name>
166                                 <string>&amp;Spara</string>
167                             </property>
168                         </widget>
169                         <spacer>
170                             <property>
171                                 <name>name</name>
172                                 <cstring>Spacer1</cstring>
173                             </property>
174                             <property stdset="1">
175                                 <name>orientation</name>
176                                 <enum>Vertical</enum>
177                             </property>
178                             <property stdset="1">
179                                 <name>sizeType</name>
180                                 <enum>Expanding</enum>
181                             </property>
182                             <property>
183                                 <name>sizeHint</name>
184                                 <size>
185                                     <width>20</width>
186                                     <height>20</height>
187                                 </size>
188                             </property>
189                         </spacer>
190                         <widget>
191                             <class>QPushButton</class>
192                             <property stdset="1">
193                                 <name>name</name>
194                                 <cstring>AddButton</cstring>
195                             </property>
196                             <property stdset="1">
197                                 <name>text</name>
198                                 <string>&amp;Ny kontakt</string>
199                             </property>
200                         </widget>
201                         <widget>
202                             <class>QPushButton</class>
203                             <property stdset="1">
204                                 <name>name</name>
205                                 <cstring>DelButton</cstring>
206                             </property>
207                             <property stdset="1">
208                                 <name>text</name>
209                                 <string>&amp;Ta bort</string>
210                             </property>
211                         </widget>
212                     </vbox>
213                 </widget>
214             </hbox>
215         </widget>
216         <widget row="1"  column="0" >
217             <class>QGroupBox</class>
218             <property stdset="1">
219                 <name>name</name>
220                 <cstring>GroupBox1</cstring>
221             </property>
222             <property stdset="1">
223                 <name>title</name>
224                 <string>GroupBox1</string>
225             </property>
226             <grid>
227                 <property stdset="1">
228                     <name>margin</name>
229                     <number>11</number>
230                 </property>
231                 <property stdset="1">
232                     <name>spacing</name>
233                     <number>6</number>
234                 </property>
235                 <widget row="0"  column="0" >
236                     <class>QLayoutWidget</class>
237                     <property stdset="1">
238                         <name>name</name>
239                         <cstring>Layout1</cstring>
240                     </property>
241                     <hbox>
242                         <property stdset="1">
243                             <name>margin</name>
244                             <number>0</number>
245                         </property>
246                         <property stdset="1">
247                             <name>spacing</name>
248                             <number>6</number>
249                         </property>
250                         <widget>
251                             <class>QLabel</class>
252                             <property stdset="1">
253                                 <name>name</name>
254                                 <cstring>TextLabel1</cstring>
255                             </property>
256                             <property stdset="1">
257                                 <name>text</name>
258                                 <string>Sök &amp;kategori:</string>
259                             </property>
260                             <property>
261                                 <name>buddy</name>
262                                 <cstring>SearchCombo</cstring>
263                             </property>
264                         </widget>
265                         <widget>
266                             <class>QComboBox</class>
267                             <item>
268                                 <property>
269                                     <name>text</name>
270                                     <string>Förnamn</string>
271                                 </property>
272                             </item>
273                             <item>
274                                 <property>
275                                     <name>text</name>
276                                     <string>Efternamn</string>
277                                 </property>
278                             </item>
279                             <item>
280                                 <property>
281                                     <name>text</name>
282                                     <string>Adress</string>
283                                 </property>
284                             </item>
285                             <item>
286                                 <property>
287                                     <name>text</name>
288                                     <string>Telefonnummer</string>
289                                 </property>
290                             </item>
291                             <property stdset="1">
292                                 <name>name</name>
293                                 <cstring>SearchCombo</cstring>
294                             </property>
295                         </widget>
296                         <widget>
297                             <class>QPushButton</class>
298                             <property stdset="1">
299                                 <name>name</name>
300                                 <cstring>SearchButton</cstring>
301                             </property>
302                             <property stdset="1">
303                                 <name>text</name>
304                                 <string>S&amp;ök</string>
305                             </property>
306                             <property stdset="1">
307                                 <name>default</name>
308                                 <bool>true</bool>
309                             </property>
310                         </widget>
311                     </hbox>
312                 </widget>
313                 <widget row="1"  column="0" >
314                     <class>QLayoutWidget</class>
315                     <property stdset="1">
316                         <name>name</name>
317                         <cstring>Layout2</cstring>
318                     </property>
319                     <hbox>
320                         <property stdset="1">
321                             <name>margin</name>
322                             <number>0</number>
323                         </property>
324                         <property stdset="1">
325                             <name>spacing</name>
326                             <number>6</number>
327                         </property>
328                         <widget>
329                             <class>QLabel</class>
330                             <property stdset="1">
331                                 <name>name</name>
332                                 <cstring>TextLabel2</cstring>
333                             </property>
334                             <property stdset="1">
335                                 <name>text</name>
336                                 <string>Sök&amp;ord</string>
337                             </property>
338                             <property>
339                                 <name>buddy</name>
340                                 <cstring>SearchLine</cstring>
341                             </property>
342                         </widget>
343                         <widget>
344                             <class>QLineEdit</class>
345                             <property stdset="1">
346                                 <name>name</name>
347                                 <cstring>SearchLine</cstring>
348                             </property>
349                         </widget>
350                     </hbox>
351                 </widget>
352             </grid>
353         </widget>
354     </grid>
355 </widget>
356 <connections>
357     <connection>
358         <sender>LoadButton</sender>
359         <signal>clicked()</signal>
360         <receiver>unnamed</receiver>
361         <slot>slotLoad()</slot>
362     </connection>
363     <connection>
364         <sender>SaveButton</sender>
365         <signal>clicked()</signal>
366         <receiver>unnamed</receiver>
367         <slot>slotSave()</slot>
368     </connection>
369     <connection>
370         <sender>AddButton</sender>
371         <signal>clicked()</signal>
372         <receiver>unnamed</receiver>
373         <slot>slotAdd()</slot>
374     </connection>
375     <connection>
376         <sender>DelButton</sender>
377         <signal>clicked()</signal>
378         <receiver>unnamed</receiver>
379         <slot>slotDel()</slot>
380     </connection>
381     <connection>
382         <sender>SearchButton</sender>
383         <signal>clicked()</signal>
384         <receiver>unnamed</receiver>
385         <slot>slotSearch()</slot>
386     </connection>
387     <connection>
388         <sender>ContactView</sender>
389         <signal>doubleClicked(QListViewItem*)</signal>
390         <receiver>unnamed</receiver>
391         <slot>slotModify(QListViewItem*)</slot>
392     </connection>
393     <slot access="public">slotAdd()</slot>
394     <slot access="public">slotDel()</slot>
395     <slot access="public">slotLoad()</slot>
396     <slot access="public">slotModify(QListViewItem*)</slot>
397     <slot access="public">slotSave()</slot>
398     <slot access="public">slotSearch()</slot>
399 </connections>
400 </UI>