Diffstat (limited to 'noncore/settings/appearance2/appearance.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/appearance2/appearance.cpp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp index eea1a19..054b645 100644 --- a/noncore/settings/appearance2/appearance.cpp +++ b/noncore/settings/appearance2/appearance.cpp | |||
@@ -395,4 +395,37 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) | |||
395 | m_rotdir_flip-> setChecked ( rot == Flip ); | 395 | m_rotdir_flip-> setChecked ( rot == Flip ); |
396 | 396 | ||
397 | QFrame *f2 = new QFrame ( tab ); | ||
398 | f2-> setFrameStyle ( QFrame::HLine | QFrame::Sunken ); | ||
399 | vertLayout-> addWidget ( f2 ); | ||
400 | vertLayout-> addSpacing ( 3 ); | ||
401 | |||
402 | QHBoxLayout *bigIconlay = new QHBoxLayout ( vertLayout, 3 ); | ||
403 | |||
404 | QLabel* label2 = new QLabel( tr( "&Big Icon size:" ), tab ); | ||
405 | bigIconlay-> addWidget ( label2, 0, 0 ); | ||
406 | |||
407 | m_bigIconSize = new QSpinBox(0, 128, 1, tab); | ||
408 | m_bigIconSize->setValue(cfg.readNumEntry( "BigIconSize" )); | ||
409 | bigIconlay->addWidget( m_bigIconSize ); | ||
410 | label2->setBuddy( m_bigIconSize ); | ||
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" ) ); | ||
413 | |||
414 | QHBoxLayout *smallIconlay = new QHBoxLayout ( vertLayout, 3 ); | ||
415 | |||
416 | QLabel* label3 = new QLabel( tr( "&Small Icon size:" ), tab ); | ||
417 | smallIconlay-> addWidget ( label3, 0, 0 ); | ||
418 | |||
419 | m_smallIconSize = new QSpinBox(0, 128, 1, tab); | ||
420 | m_smallIconSize->setValue(cfg.readNumEntry( "SmallIconSize" )); | ||
421 | smallIconlay->addWidget( 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." ) ); | ||
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 | |||
426 | m_useBigPixmaps = new QCheckBox( tr("use Big &Pixmaps"), tab); | ||
427 | m_useBigPixmaps->setChecked(cfg.readBoolEntry( "useBigPixmaps" )); | ||
428 | vertLayout->addWidget( m_useBigPixmaps ); | ||
429 | QWhatsThis::add( m_useBigPixmaps, tr( "Enlarge toolbar pixmaps" ) ); | ||
397 | 430 | ||
398 | /* | 431 | /* |
@@ -514,4 +547,8 @@ void Appearance::accept ( ) | |||
514 | config. writeEntry( "LeftHand", m_leftHand->isChecked() ); | 547 | config. writeEntry( "LeftHand", m_leftHand->isChecked() ); |
515 | 548 | ||
549 | config. writeEntry( "useBigPixmaps", m_useBigPixmaps->isChecked() ); | ||
550 | config. writeEntry( "BigIconSize", m_bigIconSize->value() ); | ||
551 | config. writeEntry( "SmallIconSize", m_smallIconSize->value() ); | ||
552 | |||
516 | config. write ( ); // need to flush the config info first | 553 | config. write ( ); // need to flush the config info first |
517 | Global::applyStyle ( ); | 554 | Global::applyStyle ( ); |