summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abconfig.cpp8
-rw-r--r--core/pim/addressbook/configdlg_base.ui8
2 files changed, 8 insertions, 8 deletions
diff --git a/core/pim/addressbook/abconfig.cpp b/core/pim/addressbook/abconfig.cpp
index 2583327..9cc2668 100644
--- a/core/pim/addressbook/abconfig.cpp
+++ b/core/pim/addressbook/abconfig.cpp
@@ -1,229 +1,229 @@
1#include "abconfig.h" 1#include "abconfig.h"
2#include "version.h" 2#include "version.h"
3 3
4#include <qpe/config.h> 4#include <qpe/config.h>
5#include <qpe/recordfields.h> 5#include <qpe/recordfields.h>
6 6
7AbConfig::AbConfig( ): 7AbConfig::AbConfig( ):
8 m_useQtMail( true ), 8 m_useQtMail( false ),
9 m_useOpieMail( false ), 9 m_useOpieMail( true ),
10 m_useRegExp( false ), 10 m_useRegExp( false ),
11 m_beCaseSensitive( false ), 11 m_beCaseSensitive( false ),
12 m_fontSize( 1 ), 12 m_fontSize( 1 ),
13 m_barPos( QMainWindow::Top ), 13 m_barPos( QMainWindow::Top ),
14 m_fixedBars( true ), 14 m_fixedBars( true ),
15 m_lpSearchMode( LastName ), 15 m_lpSearchMode( LastName ),
16 m_changed( false ) 16 m_changed( false )
17{ 17{
18} 18}
19 19
20AbConfig::~AbConfig() 20AbConfig::~AbConfig()
21{ 21{
22} 22}
23 23
24bool AbConfig::useRegExp() const 24bool AbConfig::useRegExp() const
25{ 25{
26 return m_useRegExp; 26 return m_useRegExp;
27} 27}
28bool AbConfig::useWildCards() const 28bool AbConfig::useWildCards() const
29{ 29{
30 return !m_useRegExp; 30 return !m_useRegExp;
31} 31}
32bool AbConfig::useQtMail() const 32bool AbConfig::useQtMail() const
33{ 33{
34 return m_useQtMail; 34 return m_useQtMail;
35} 35}
36bool AbConfig::useOpieMail() const 36bool AbConfig::useOpieMail() const
37{ 37{
38 return m_useOpieMail; 38 return m_useOpieMail;
39} 39}
40bool AbConfig::beCaseSensitive() const 40bool AbConfig::beCaseSensitive() const
41{ 41{
42 return m_beCaseSensitive; 42 return m_beCaseSensitive;
43} 43}
44int AbConfig::fontSize() const 44int AbConfig::fontSize() const
45{ 45{
46 return m_fontSize; 46 return m_fontSize;
47} 47}
48 48
49QValueList<int> AbConfig::orderList() const 49QValueList<int> AbConfig::orderList() const
50{ 50{
51 return m_ordered; 51 return m_ordered;
52} 52}
53 53
54QMainWindow::ToolBarDock AbConfig::getToolBarPos() const 54QMainWindow::ToolBarDock AbConfig::getToolBarPos() const
55{ 55{
56 return (QMainWindow::ToolBarDock) m_barPos; 56 return (QMainWindow::ToolBarDock) m_barPos;
57} 57}
58 58
59bool AbConfig::fixedBars() const 59bool AbConfig::fixedBars() const
60{ 60{
61 return m_fixedBars; 61 return m_fixedBars;
62} 62}
63 63
64AbConfig::LPSearchMode AbConfig::letterPickerSearch() const 64AbConfig::LPSearchMode AbConfig::letterPickerSearch() const
65{ 65{
66 return ( AbConfig::LPSearchMode ) m_lpSearchMode; 66 return ( AbConfig::LPSearchMode ) m_lpSearchMode;
67} 67}
68 68
69const QString &AbConfig::category() const 69const QString &AbConfig::category() const
70{ 70{
71 return m_category; 71 return m_category;
72} 72}
73 73
74void AbConfig::setUseRegExp( bool v ) 74void AbConfig::setUseRegExp( bool v )
75{ 75{
76 m_useRegExp = v ; 76 m_useRegExp = v ;
77 m_changed = true; 77 m_changed = true;
78} 78}
79void AbConfig::setUseWildCards( bool v ) 79void AbConfig::setUseWildCards( bool v )
80{ 80{
81 m_useRegExp = !v; 81 m_useRegExp = !v;
82 m_changed = true; 82 m_changed = true;
83} 83}
84void AbConfig::setBeCaseSensitive( bool v ) 84void AbConfig::setBeCaseSensitive( bool v )
85{ 85{
86 m_beCaseSensitive = v; 86 m_beCaseSensitive = v;
87 m_changed = true; 87 m_changed = true;
88} 88}
89void AbConfig::setUseQtMail( bool v ) 89void AbConfig::setUseQtMail( bool v )
90{ 90{
91 m_useQtMail = v; 91 m_useQtMail = v;
92 m_changed = true; 92 m_changed = true;
93} 93}
94void AbConfig::setUseOpieMail( bool v ) 94void AbConfig::setUseOpieMail( bool v )
95{ 95{
96 m_useOpieMail = v; 96 m_useOpieMail = v;
97 m_changed = true; 97 m_changed = true;
98} 98}
99void AbConfig::setFontSize( int v ) 99void AbConfig::setFontSize( int v )
100{ 100{
101 m_fontSize = v; 101 m_fontSize = v;
102 m_changed = true; 102 m_changed = true;
103} 103}
104 104
105void AbConfig::setOrderList( const QValueList<int>& list ) 105void AbConfig::setOrderList( const QValueList<int>& list )
106{ 106{
107 m_ordered = list; 107 m_ordered = list;
108 m_changed = true; 108 m_changed = true;
109} 109}
110 110
111void AbConfig::setToolBarDock( const QMainWindow::ToolBarDock v ) 111void AbConfig::setToolBarDock( const QMainWindow::ToolBarDock v )
112{ 112{
113 m_barPos = v; 113 m_barPos = v;
114 m_changed = true; 114 m_changed = true;
115} 115}
116 116
117void AbConfig::setFixedBars( const bool fixed ) 117void AbConfig::setFixedBars( const bool fixed )
118{ 118{
119 m_fixedBars = fixed; 119 m_fixedBars = fixed;
120 m_changed = true; 120 m_changed = true;
121} 121}
122 122
123void AbConfig::setLetterPickerSearch( const AbConfig::LPSearchMode mode ) 123void AbConfig::setLetterPickerSearch( const AbConfig::LPSearchMode mode )
124{ 124{
125 m_lpSearchMode = mode; 125 m_lpSearchMode = mode;
126 m_changed = true; 126 m_changed = true;
127} 127}
128 128
129void AbConfig::setCategory( const QString &cat ) 129void AbConfig::setCategory( const QString &cat )
130{ 130{
131 m_category = cat; 131 m_category = cat;
132} 132}
133 133
134void AbConfig::load() 134void AbConfig::load()
135{ 135{
136 // Read Config settings 136 // Read Config settings
137 Config cfg("AddressBook"); 137 Config cfg("AddressBook");
138 138
139 cfg.setGroup( "View" ); 139 cfg.setGroup( "View" );
140 m_category = cfg.readEntry( "Category", "All" ); 140 m_category = cfg.readEntry( "Category", "All" );
141 141
142 cfg.setGroup("Font"); 142 cfg.setGroup("Font");
143 m_fontSize = cfg.readNumEntry( "fontSize", 1 ); 143 m_fontSize = cfg.readNumEntry( "fontSize", 1 );
144 144
145 cfg.setGroup("Search"); 145 cfg.setGroup("Search");
146 m_useRegExp = cfg.readBoolEntry( "useRegExp", false ); 146 m_useRegExp = cfg.readBoolEntry( "useRegExp", false );
147 m_beCaseSensitive = cfg.readBoolEntry( "caseSensitive", false ); 147 m_beCaseSensitive = cfg.readBoolEntry( "caseSensitive", false );
148 m_lpSearchMode = cfg.readNumEntry( "lpSearchMode", FileAs ); 148 m_lpSearchMode = cfg.readNumEntry( "lpSearchMode", FileAs );
149 149
150 cfg.setGroup("Mail"); 150 cfg.setGroup("Mail");
151 m_useQtMail = cfg.readBoolEntry( "useQtMail", true ); 151 m_useQtMail = cfg.readBoolEntry( "useQtMail", false );
152 m_useOpieMail=cfg.readBoolEntry( "useOpieMail" ); 152 m_useOpieMail = cfg.readBoolEntry( "useOpieMail", true );
153 153
154 cfg.setGroup("ContactOrder"); 154 cfg.setGroup("ContactOrder");
155 int ID = 0; 155 int ID = 0;
156 int i = 0; 156 int i = 0;
157 ID = cfg.readNumEntry( "ContactID_"+QString::number(i++), 0 ); 157 ID = cfg.readNumEntry( "ContactID_"+QString::number(i++), 0 );
158 while ( ID != 0 ){ 158 while ( ID != 0 ){
159 m_ordered.append( ID ); 159 m_ordered.append( ID );
160 ID = cfg.readNumEntry( "ContactID_"+QString::number(i++), 0 ); 160 ID = cfg.readNumEntry( "ContactID_"+QString::number(i++), 0 );
161 } 161 }
162 162
163 // If no contact order is defined, we set the default 163 // If no contact order is defined, we set the default
164 if ( m_ordered.count() == 0 ) { 164 if ( m_ordered.count() == 0 ) {
165 m_ordered.append( Qtopia::DefaultEmail ); 165 m_ordered.append( Qtopia::DefaultEmail );
166 m_ordered.append( Qtopia::HomePhone); 166 m_ordered.append( Qtopia::HomePhone);
167 m_ordered.append( Qtopia::HomeMobile); 167 m_ordered.append( Qtopia::HomeMobile);
168 m_ordered.append( Qtopia::BusinessPhone); 168 m_ordered.append( Qtopia::BusinessPhone);
169 } 169 }
170 170
171 cfg.setGroup("ToolBar"); 171 cfg.setGroup("ToolBar");
172 m_barPos = cfg.readNumEntry( "Position", QMainWindow::Top ); 172 m_barPos = cfg.readNumEntry( "Position", QMainWindow::Top );
173 m_fixedBars= cfg.readBoolEntry( "fixedBars", true ); 173 m_fixedBars= cfg.readBoolEntry( "fixedBars", true );
174 174
175 m_changed = false; 175 m_changed = false;
176} 176}
177 177
178void AbConfig::save() 178void AbConfig::save()
179{ 179{
180 if ( m_changed ){ 180 if ( m_changed ){
181 Config cfg("AddressBook"); 181 Config cfg("AddressBook");
182 cfg.setGroup( "View" ); 182 cfg.setGroup( "View" );
183 cfg.writeEntry( "Category", m_category ); 183 cfg.writeEntry( "Category", m_category );
184 184
185 cfg.setGroup("Font"); 185 cfg.setGroup("Font");
186 cfg.writeEntry("fontSize", m_fontSize); 186 cfg.writeEntry("fontSize", m_fontSize);
187 187
188 cfg.setGroup("Search"); 188 cfg.setGroup("Search");
189 cfg.writeEntry("useRegExp", m_useRegExp); 189 cfg.writeEntry("useRegExp", m_useRegExp);
190 cfg.writeEntry("caseSensitive", m_beCaseSensitive); 190 cfg.writeEntry("caseSensitive", m_beCaseSensitive);
191 cfg.writeEntry("lpSearchMode", m_lpSearchMode ); 191 cfg.writeEntry("lpSearchMode", m_lpSearchMode );
192 192
193 cfg.setGroup("Mail"); 193 cfg.setGroup("Mail");
194 cfg.writeEntry( "useQtMail", m_useQtMail ); 194 cfg.writeEntry( "useQtMail", m_useQtMail );
195 cfg.writeEntry( "useOpieMail", m_useOpieMail); 195 cfg.writeEntry( "useOpieMail", m_useOpieMail);
196 196
197 cfg.setGroup("ContactOrder"); 197 cfg.setGroup("ContactOrder");
198 cfg.clearGroup(); 198 cfg.clearGroup();
199 for ( uint i = 0; i < m_ordered.count(); i++ ){ 199 for ( uint i = 0; i < m_ordered.count(); i++ ){
200 cfg.writeEntry( "ContactID_"+QString::number(i), m_ordered[i] ); 200 cfg.writeEntry( "ContactID_"+QString::number(i), m_ordered[i] );
201 } 201 }
202 202
203 cfg.setGroup("ToolBar"); 203 cfg.setGroup("ToolBar");
204 cfg.writeEntry( "Position", m_barPos ); 204 cfg.writeEntry( "Position", m_barPos );
205 cfg.writeEntry( "fixedBars", m_fixedBars ); 205 cfg.writeEntry( "fixedBars", m_fixedBars );
206 206
207 cfg.setGroup("Version"); 207 cfg.setGroup("Version");
208 cfg.writeEntry( "AppName", APPNAME + QString(" V" ) + MAINVERSION + QString(".") + SUBVERSION + QString(".") + PATCHVERSION); 208 cfg.writeEntry( "AppName", APPNAME + QString(" V" ) + MAINVERSION + QString(".") + SUBVERSION + QString(".") + PATCHVERSION);
209 cfg.writeEntry( "Mainversion", MAINVERSION ); 209 cfg.writeEntry( "Mainversion", MAINVERSION );
210 cfg.writeEntry( "SubVersion", SUBVERSION ); 210 cfg.writeEntry( "SubVersion", SUBVERSION );
211 cfg.writeEntry( "PatchVersion", PATCHVERSION ); 211 cfg.writeEntry( "PatchVersion", PATCHVERSION );
212 212
213 } 213 }
214 214
215} 215}
216 216
217void AbConfig::operator= ( const AbConfig& cnf ) 217void AbConfig::operator= ( const AbConfig& cnf )
218{ 218{
219 m_useQtMail = cnf.m_useQtMail; 219 m_useQtMail = cnf.m_useQtMail;
220 m_useOpieMail = cnf.m_useOpieMail; 220 m_useOpieMail = cnf.m_useOpieMail;
221 m_useRegExp = cnf.m_useRegExp; 221 m_useRegExp = cnf.m_useRegExp;
222 m_beCaseSensitive = cnf.m_beCaseSensitive; 222 m_beCaseSensitive = cnf.m_beCaseSensitive;
223 m_fontSize = cnf.m_fontSize; 223 m_fontSize = cnf.m_fontSize;
224 m_ordered = cnf.m_ordered; 224 m_ordered = cnf.m_ordered;
225 m_barPos = cnf.m_barPos; 225 m_barPos = cnf.m_barPos;
226 m_fixedBars = cnf.m_fixedBars; 226 m_fixedBars = cnf.m_fixedBars;
227 m_lpSearchMode = cnf.m_lpSearchMode; 227 m_lpSearchMode = cnf.m_lpSearchMode;
228} 228}
229 229
diff --git a/core/pim/addressbook/configdlg_base.ui b/core/pim/addressbook/configdlg_base.ui
index f892d08..3f629ed 100644
--- a/core/pim/addressbook/configdlg_base.ui
+++ b/core/pim/addressbook/configdlg_base.ui
@@ -296,211 +296,211 @@
296 <name>whatsThis</name> 296 <name>whatsThis</name>
297 <string>Switch to fixed menu-/toolbars after restarting application !</string> 297 <string>Switch to fixed menu-/toolbars after restarting application !</string>
298 </property> 298 </property>
299 </widget> 299 </widget>
300 <widget> 300 <widget>
301 <class>QRadioButton</class> 301 <class>QRadioButton</class>
302 <property stdset="1"> 302 <property stdset="1">
303 <name>name</name> 303 <name>name</name>
304 <cstring>m_moveBars</cstring> 304 <cstring>m_moveBars</cstring>
305 </property> 305 </property>
306 <property stdset="1"> 306 <property stdset="1">
307 <name>text</name> 307 <name>text</name>
308 <string>Moveable</string> 308 <string>Moveable</string>
309 </property> 309 </property>
310 <property> 310 <property>
311 <name>whatsThis</name> 311 <name>whatsThis</name>
312 <string>Switch to moveable menu-/toolbars after restarting application !</string> 312 <string>Switch to moveable menu-/toolbars after restarting application !</string>
313 </property> 313 </property>
314 </widget> 314 </widget>
315 </hbox> 315 </hbox>
316 </widget> 316 </widget>
317 <spacer> 317 <spacer>
318 <property> 318 <property>
319 <name>name</name> 319 <name>name</name>
320 <cstring>Spacer3</cstring> 320 <cstring>Spacer3</cstring>
321 </property> 321 </property>
322 <property stdset="1"> 322 <property stdset="1">
323 <name>orientation</name> 323 <name>orientation</name>
324 <enum>Vertical</enum> 324 <enum>Vertical</enum>
325 </property> 325 </property>
326 <property stdset="1"> 326 <property stdset="1">
327 <name>sizeType</name> 327 <name>sizeType</name>
328 <enum>Expanding</enum> 328 <enum>Expanding</enum>
329 </property> 329 </property>
330 <property> 330 <property>
331 <name>sizeHint</name> 331 <name>sizeHint</name>
332 <size> 332 <size>
333 <width>20</width> 333 <width>20</width>
334 <height>20</height> 334 <height>20</height>
335 </size> 335 </size>
336 </property> 336 </property>
337 </spacer> 337 </spacer>
338 </vbox> 338 </vbox>
339 </widget> 339 </widget>
340 <widget> 340 <widget>
341 <class>QWidget</class> 341 <class>QWidget</class>
342 <property stdset="1"> 342 <property stdset="1">
343 <name>name</name> 343 <name>name</name>
344 <cstring>tab</cstring> 344 <cstring>tab</cstring>
345 </property> 345 </property>
346 <attribute> 346 <attribute>
347 <name>title</name> 347 <name>title</name>
348 <string>Mail</string> 348 <string>Mail</string>
349 </attribute> 349 </attribute>
350 <vbox> 350 <vbox>
351 <property stdset="1"> 351 <property stdset="1">
352 <name>margin</name> 352 <name>margin</name>
353 <number>5</number> 353 <number>5</number>
354 </property> 354 </property>
355 <property stdset="1"> 355 <property stdset="1">
356 <name>spacing</name> 356 <name>spacing</name>
357 <number>6</number> 357 <number>6</number>
358 </property> 358 </property>
359 <widget> 359 <widget>
360 <class>QButtonGroup</class> 360 <class>QButtonGroup</class>
361 <property stdset="1"> 361 <property stdset="1">
362 <name>name</name> 362 <name>name</name>
363 <cstring>ButtonGroup2</cstring> 363 <cstring>ButtonGroup2</cstring>
364 </property> 364 </property>
365 <property stdset="1"> 365 <property stdset="1">
366 <name>title</name> 366 <name>title</name>
367 <string>Mail</string> 367 <string>Mail</string>
368 </property> 368 </property>
369 <property> 369 <property>
370 <name>whatsThis</name> 370 <name>whatsThis</name>
371 <string>Fontsettings for list and card view</string> 371 <string>Fontsettings for list and card view</string>
372 </property> 372 </property>
373 <vbox> 373 <vbox>
374 <property stdset="1"> 374 <property stdset="1">
375 <name>margin</name> 375 <name>margin</name>
376 <number>11</number> 376 <number>11</number>
377 </property> 377 </property>
378 <property stdset="1"> 378 <property stdset="1">
379 <name>spacing</name> 379 <name>spacing</name>
380 <number>6</number> 380 <number>6</number>
381 </property> 381 </property>
382 <widget> 382 <widget>
383 <class>QRadioButton</class> 383 <class>QRadioButton</class>
384 <property stdset="1"> 384 <property stdset="1">
385 <name>name</name> 385 <name>name</name>
386 <cstring>m_useQtMail</cstring> 386 <cstring>m_useQtMail</cstring>
387 </property> 387 </property>
388 <property stdset="1"> 388 <property stdset="1">
389 <name>text</name> 389 <name>text</name>
390 <string>Prefer QT-Mail </string> 390 <string>Prefer QT-Mail </string>
391 </property> 391 </property>
392 <property stdset="1">
393 <name>checked</name>
394 <bool>true</bool>
395 </property>
396 <property> 392 <property>
397 <name>whatsThis</name> 393 <name>whatsThis</name>
398 <string>Use Sharp's mail application if available</string> 394 <string>Use Sharp's mail application if available</string>
399 </property> 395 </property>
400 </widget> 396 </widget>
401 <widget> 397 <widget>
402 <class>QRadioButton</class> 398 <class>QRadioButton</class>
403 <property stdset="1"> 399 <property stdset="1">
404 <name>name</name> 400 <name>name</name>
405 <cstring>m_useOpieMail</cstring> 401 <cstring>m_useOpieMail</cstring>
406 </property> 402 </property>
407 <property stdset="1"> 403 <property stdset="1">
408 <name>text</name> 404 <name>text</name>
409 <string>Prefer Opie-Mail</string> 405 <string>Prefer Opie-Mail</string>
410 </property> 406 </property>
407 <property stdset="1">
408 <name>checked</name>
409 <bool>true</bool>
410 </property>
411 <property> 411 <property>
412 <name>whatsThis</name> 412 <name>whatsThis</name>
413 <string>Use OPIE mail if installed</string> 413 <string>Use OPIE mail if installed</string>
414 </property> 414 </property>
415 </widget> 415 </widget>
416 <widget> 416 <widget>
417 <class>QLabel</class> 417 <class>QLabel</class>
418 <property stdset="1"> 418 <property stdset="1">
419 <name>name</name> 419 <name>name</name>
420 <cstring>TextLabel1</cstring> 420 <cstring>TextLabel1</cstring>
421 </property> 421 </property>
422 <property stdset="1"> 422 <property stdset="1">
423 <name>text</name> 423 <name>text</name>
424 <string>Notice: QT-Mail is just 424 <string>Notice: QT-Mail is just
425provided in the SHARP 425provided in the SHARP
426default ROM. Opie-Mail 426default ROM. Opie-Mail
427is provided free !</string> 427is provided free !</string>
428 </property> 428 </property>
429 </widget> 429 </widget>
430 </vbox> 430 </vbox>
431 </widget> 431 </widget>
432 <spacer> 432 <spacer>
433 <property> 433 <property>
434 <name>name</name> 434 <name>name</name>
435 <cstring>Spacer2</cstring> 435 <cstring>Spacer2</cstring>
436 </property> 436 </property>
437 <property stdset="1"> 437 <property stdset="1">
438 <name>orientation</name> 438 <name>orientation</name>
439 <enum>Vertical</enum> 439 <enum>Vertical</enum>
440 </property> 440 </property>
441 <property stdset="1"> 441 <property stdset="1">
442 <name>sizeType</name> 442 <name>sizeType</name>
443 <enum>Expanding</enum> 443 <enum>Expanding</enum>
444 </property> 444 </property>
445 <property> 445 <property>
446 <name>sizeHint</name> 446 <name>sizeHint</name>
447 <size> 447 <size>
448 <width>20</width> 448 <width>20</width>
449 <height>20</height> 449 <height>20</height>
450 </size> 450 </size>
451 </property> 451 </property>
452 </spacer> 452 </spacer>
453 </vbox> 453 </vbox>
454 </widget> 454 </widget>
455 <widget> 455 <widget>
456 <class>QWidget</class> 456 <class>QWidget</class>
457 <property stdset="1"> 457 <property stdset="1">
458 <name>name</name> 458 <name>name</name>
459 <cstring>tab</cstring> 459 <cstring>tab</cstring>
460 </property> 460 </property>
461 <attribute> 461 <attribute>
462 <name>title</name> 462 <name>title</name>
463 <string>Order</string> 463 <string>Order</string>
464 </attribute> 464 </attribute>
465 <vbox> 465 <vbox>
466 <property stdset="1"> 466 <property stdset="1">
467 <name>margin</name> 467 <name>margin</name>
468 <number>2</number> 468 <number>2</number>
469 </property> 469 </property>
470 <property stdset="1"> 470 <property stdset="1">
471 <name>spacing</name> 471 <name>spacing</name>
472 <number>2</number> 472 <number>2</number>
473 </property> 473 </property>
474 <widget> 474 <widget>
475 <class>QGroupBox</class> 475 <class>QGroupBox</class>
476 <property stdset="1"> 476 <property stdset="1">
477 <name>name</name> 477 <name>name</name>
478 <cstring>GroupBox9</cstring> 478 <cstring>GroupBox9</cstring>
479 </property> 479 </property>
480 <property stdset="1"> 480 <property stdset="1">
481 <name>title</name> 481 <name>title</name>
482 <string>Select Contact Order:</string> 482 <string>Select Contact Order:</string>
483 </property> 483 </property>
484 <grid> 484 <grid>
485 <property stdset="1"> 485 <property stdset="1">
486 <name>margin</name> 486 <name>margin</name>
487 <number>11</number> 487 <number>11</number>
488 </property> 488 </property>
489 <property stdset="1"> 489 <property stdset="1">
490 <name>spacing</name> 490 <name>spacing</name>
491 <number>6</number> 491 <number>6</number>
492 </property> 492 </property>
493 <widget row="0" column="2" > 493 <widget row="0" column="2" >
494 <class>QPushButton</class> 494 <class>QPushButton</class>
495 <property stdset="1"> 495 <property stdset="1">
496 <name>name</name> 496 <name>name</name>
497 <cstring>m_upButton</cstring> 497 <cstring>m_upButton</cstring>
498 </property> 498 </property>
499 <property stdset="1"> 499 <property stdset="1">
500 <name>sizePolicy</name> 500 <name>sizePolicy</name>
501 <sizepolicy> 501 <sizepolicy>
502 <hsizetype>1</hsizetype> 502 <hsizetype>1</hsizetype>
503 <vsizetype>0</vsizetype> 503 <vsizetype>0</vsizetype>
504 </sizepolicy> 504 </sizepolicy>
505 </property> 505 </property>
506 <property stdset="1"> 506 <property stdset="1">