author | hrw <hrw> | 2005-10-26 15:36:04 (UTC) |
---|---|---|
committer | hrw <hrw> | 2005-10-26 15:36:04 (UTC) |
commit | a1a5ed12c36867a538f699914fb8541374580238 (patch) (unidiff) | |
tree | 08227e6cf228e79913ba3b3e9f847f4a6088feb2 | |
parent | 189e3a4846284b678cebdfd269eef81ed7a06f1e (diff) | |
download | opie-a1a5ed12c36867a538f699914fb8541374580238.zip opie-a1a5ed12c36867a538f699914fb8541374580238.tar.gz opie-a1a5ed12c36867a538f699914fb8541374580238.tar.bz2 |
appearance: more work on icon sizes
- added default values for (Small|Big)IconSize (drw)
- set useBigPixmaps on HiRes devices (hrw)
-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 | |||
@@ -403,3 +403,3 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) | |||
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 ); |
@@ -407,3 +407,3 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) | |||
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 ); |
@@ -415,3 +415,3 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) | |||
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 ); |
@@ -419,3 +419,3 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) | |||
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 ); |
@@ -425,6 +425,6 @@ QWidget *Appearance::createAdvancedTab ( QWidget *parent, Config &cfg ) | |||
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 | ||