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