2 ===================================================================
3 RCS file: /cvs/opie/noncore/settings/appearance2/appearance.cpp,v
4 retrieving revision 1.35
5 retrieving revision 1.37
7 --- appearance2/appearance.cpp 9 Jun 2005 20:47:58 -0000 1.35
8 +++ appearance2/appearance.cpp 26 Oct 2005 15:36:04 -0000 1.37
10 m_rotdir_ccw-> setChecked ( rot == CCW );
11 m_rotdir_flip-> setChecked ( rot == Flip );
13 + QFrame *f2 = new QFrame ( tab );
14 + f2-> setFrameStyle ( QFrame::HLine | QFrame::Sunken );
15 + vertLayout-> addWidget ( f2 );
16 + vertLayout-> addSpacing ( 3 );
18 + QHBoxLayout *bigIconlay = new QHBoxLayout ( vertLayout, 3 );
20 + QLabel* label2 = new QLabel( tr( "Big Icon size:" ), tab );
21 + bigIconlay-> addWidget ( label2, 0, 0 );
23 + m_bigIconSize = new QSpinBox(0, 128, 1, tab);
24 + m_bigIconSize->setValue(cfg.readNumEntry( "BigIconSize", AppLnk::bigIconSize() ));
25 + bigIconlay->addWidget( m_bigIconSize );
26 + label2->setBuddy( m_bigIconSize );
27 + QWhatsThis::add( label2, tr( "Big Icon Size determines the size of the application icons in Launcher" ) );
28 + QWhatsThis::add( m_bigIconSize, tr( "Big Icon Size determines the size of the application icons in Launcher" ) );
30 + QHBoxLayout *smallIconlay = new QHBoxLayout ( vertLayout, 3 );
32 + QLabel* label3 = new QLabel( tr( "Small Icon size:" ), tab );
33 + smallIconlay-> addWidget ( label3, 0, 0 );
35 + m_smallIconSize = new QSpinBox(0, 128, 1, tab);
36 + m_smallIconSize->setValue(cfg.readNumEntry( "SmallIconSize", AppLnk::smallIconSize() ));
37 + smallIconlay->addWidget( m_smallIconSize );
38 + label3->setBuddy( m_smallIconSize );
39 + 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." ) );
40 + 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." ) );
42 + m_useBigPixmaps = new QCheckBox( tr("use Big Pixmaps"), tab);
43 + m_useBigPixmaps->setChecked(cfg.readBoolEntry( "useBigPixmaps", qApp->desktop()->width() > 320 ));
44 + vertLayout->addWidget( m_useBigPixmaps );
45 + QWhatsThis::add( m_useBigPixmaps, tr( "Enlarge toolbar pixmaps, you probably want to enable this option for devices with screen resolution greater than 240x320" ) );
51 config. writeEntry( "LeftHand", m_leftHand->isChecked() );
53 + config. writeEntry( "useBigPixmaps", m_useBigPixmaps->isChecked() );
54 + config. writeEntry( "BigIconSize", m_bigIconSize->value() );
55 + config. writeEntry( "SmallIconSize", m_smallIconSize->value() );
57 config. write ( ); // need to flush the config info first
58 Global::applyStyle ( );
61 ===================================================================
62 RCS file: /cvs/opie/noncore/settings/appearance2/appearance.h,v
63 retrieving revision 1.13
64 retrieving revision 1.14
66 --- appearance2/appearance.h 5 Jun 2005 22:47:00 -0000 1.13
67 +++ appearance2/appearance.h 17 Oct 2005 13:28:10 -0000 1.14
69 #include <qpe/fontdatabase.h>
72 +#include <qspinbox.h>
74 using Opie::Ui::OFontSelector;
79 QCheckBox *m_leftHand;
81 + QSpinBox *m_bigIconSize;
82 + QSpinBox *m_smallIconSize;
83 + QCheckBox *m_useBigPixmaps;