-rw-r--r-- | noncore/settings/appearance2/appearance.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp index 054b645..e2c639f 100644 --- a/noncore/settings/appearance2/appearance.cpp +++ b/noncore/settings/appearance2/appearance.cpp | |||
@@ -388,58 +388,58 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) | |||
388 | else | 388 | else |
389 | { | 389 | { |
390 | rot = (ODirection)rotDirection; | 390 | rot = (ODirection)rotDirection; |
391 | } | 391 | } |
392 | 392 | ||
393 | m_rotdir_cw-> setChecked ( rot == CW ); | 393 | m_rotdir_cw-> setChecked ( rot == CW ); |
394 | m_rotdir_ccw-> setChecked ( rot == CCW ); | 394 | m_rotdir_ccw-> setChecked ( rot == CCW ); |
395 | m_rotdir_flip-> setChecked ( rot == Flip ); | 395 | m_rotdir_flip-> setChecked ( rot == Flip ); |
396 | 396 | ||
397 | QFrame *f2 = new QFrame ( tab ); | 397 | QFrame *f2 = new QFrame ( tab ); |
398 | f2-> setFrameStyle ( QFrame::HLine | QFrame::Sunken ); | 398 | f2-> setFrameStyle ( QFrame::HLine | QFrame::Sunken ); |
399 | vertLayout-> addWidget ( f2 ); | 399 | vertLayout-> addWidget ( f2 ); |
400 | vertLayout-> addSpacing ( 3 ); | 400 | vertLayout-> addSpacing ( 3 ); |
401 | 401 | ||
402 | QHBoxLayout *bigIconlay = new QHBoxLayout ( vertLayout, 3 ); | 402 | QHBoxLayout *bigIconlay = new QHBoxLayout ( vertLayout, 3 ); |
403 | 403 | ||
404 | QLabel* label2 = new QLabel( tr( "&Big Icon size:" ), tab ); | 404 | QLabel* label2 = new QLabel( tr( "Big Icon size:" ), tab ); |
405 | bigIconlay-> addWidget ( label2, 0, 0 ); | 405 | bigIconlay-> addWidget ( label2, 0, 0 ); |
406 | 406 | ||
407 | m_bigIconSize = new QSpinBox(0, 128, 1, tab); | 407 | m_bigIconSize = new QSpinBox(0, 128, 1, tab); |
408 | m_bigIconSize->setValue(cfg.readNumEntry( "BigIconSize" )); | 408 | m_bigIconSize->setValue(cfg.readNumEntry( "BigIconSize", AppLnk::bigIconSize() )); |
409 | bigIconlay->addWidget( m_bigIconSize ); | 409 | bigIconlay->addWidget( m_bigIconSize ); |
410 | label2->setBuddy( m_bigIconSize ); | 410 | label2->setBuddy( m_bigIconSize ); |
411 | QWhatsThis::add( label2, tr( "Big Icon Size determines the size of the application icons in Launcher" ) ); | 411 | QWhatsThis::add( label2, tr( "Big Icon Size determines the size of the application icons in Launcher" ) ); |
412 | QWhatsThis::add( m_bigIconSize, tr( "Big Icon Size determines the size of the application icons in Launcher" ) ); | 412 | QWhatsThis::add( m_bigIconSize, tr( "Big Icon Size determines the size of the application icons in Launcher" ) ); |
413 | 413 | ||
414 | QHBoxLayout *smallIconlay = new QHBoxLayout ( vertLayout, 3 ); | 414 | QHBoxLayout *smallIconlay = new QHBoxLayout ( vertLayout, 3 ); |
415 | 415 | ||
416 | QLabel* label3 = new QLabel( tr( "&Small Icon size:" ), tab ); | 416 | QLabel* label3 = new QLabel( tr( "Small Icon size:" ), tab ); |
417 | smallIconlay-> addWidget ( label3, 0, 0 ); | 417 | smallIconlay-> addWidget ( label3, 0, 0 ); |
418 | 418 | ||
419 | m_smallIconSize = new QSpinBox(0, 128, 1, tab); | 419 | m_smallIconSize = new QSpinBox(0, 128, 1, tab); |
420 | m_smallIconSize->setValue(cfg.readNumEntry( "SmallIconSize" )); | 420 | m_smallIconSize->setValue(cfg.readNumEntry( "SmallIconSize", AppLnk::smallIconSize() )); |
421 | smallIconlay->addWidget( m_smallIconSize ); | 421 | smallIconlay->addWidget( m_smallIconSize ); |
422 | label3->setBuddy( m_smallIconSize ); | 422 | label3->setBuddy( m_smallIconSize ); |
423 | QWhatsThis::add( label3, tr( "Small Icon Size determines the size of many of the icons seen in applications (in menus, tab bars, tool bars, etc.), as well as the size of taskbar." ) ); | 423 | QWhatsThis::add( label3, tr( "Small Icon Size determines the size of many of the icons seen in applications (in menus, tab bars, tool bars, etc.), as well as the size of taskbar." ) ); |
424 | QWhatsThis::add( m_smallIconSize, tr( "Small Icon Size determines the size of many of the icons seen in applications (in menus, tab bars, tool bars, etc.), as well as the size of taskbar." ) ); | 424 | QWhatsThis::add( m_smallIconSize, tr( "Small Icon Size determines the size of many of the icons seen in applications (in menus, tab bars, tool bars, etc.), as well as the size of taskbar." ) ); |
425 | 425 | ||
426 | m_useBigPixmaps = new QCheckBox( tr("use Big &Pixmaps"), tab); | 426 | m_useBigPixmaps = new QCheckBox( tr("use Big Pixmaps"), tab); |
427 | m_useBigPixmaps->setChecked(cfg.readBoolEntry( "useBigPixmaps" )); | 427 | m_useBigPixmaps->setChecked(cfg.readBoolEntry( "useBigPixmaps", qApp->desktop()->width() > 320 )); |
428 | vertLayout->addWidget( m_useBigPixmaps ); | 428 | vertLayout->addWidget( m_useBigPixmaps ); |
429 | QWhatsThis::add( m_useBigPixmaps, tr( "Enlarge toolbar pixmaps" ) ); | 429 | QWhatsThis::add( m_useBigPixmaps, tr( "Enlarge toolbar pixmaps, you probably want to enable this option for devices with screen resolution greater than 240x320" ) ); |
430 | 430 | ||
431 | /* | 431 | /* |
432 | * add a spacing | 432 | * add a spacing |
433 | */ | 433 | */ |
434 | vertLayout->addItem( new QSpacerItem( 1, 1, QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding ) ); | 434 | vertLayout->addItem( new QSpacerItem( 1, 1, QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding ) ); |
435 | return tab; | 435 | return tab; |
436 | } | 436 | } |
437 | 437 | ||
438 | 438 | ||
439 | Appearance::Appearance( QWidget* parent, const char* name, WFlags ) | 439 | Appearance::Appearance( QWidget* parent, const char* name, WFlags ) |
440 | : QDialog ( parent, name, true, WStyle_ContextHelp ) | 440 | : QDialog ( parent, name, true, WStyle_ContextHelp ) |
441 | { | 441 | { |
442 | setCaption( tr( "Appearance Settings" ) ); | 442 | setCaption( tr( "Appearance Settings" ) ); |
443 | 443 | ||
444 | Config config( "qpe" ); | 444 | Config config( "qpe" ); |
445 | config.setGroup( "Appearance" ); | 445 | config.setGroup( "Appearance" ); |