aboutsummaryrefslogtreecommitdiffstats
path: root/packages/opie-appearance
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-10-18 11:37:24 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-10-18 11:37:24 +0000
commit32e7cd7bb8fc3b2d14abdc8b19beb84df45a015b (patch)
treec3a0e108236f8e132c284928d7a67f51dbd1ebb0 /packages/opie-appearance
parent5438d29745e507e88acf66d4e1aca01c8fd67539 (diff)
downloadopenembedded-32e7cd7bb8fc3b2d14abdc8b19beb84df45a015b.tar.gz
opie-appearance 1.2.1: CVS backported patch - add settings for icon sizes
Diffstat (limited to 'packages/opie-appearance')
-rw-r--r--packages/opie-appearance/opie-appearance-1.2.1/.mtn2git_empty0
-rw-r--r--packages/opie-appearance/opie-appearance-1.2.1/add-ui-settings.patch86
-rw-r--r--packages/opie-appearance/opie-appearance_1.2.1.bb7
3 files changed, 90 insertions, 3 deletions
diff --git a/packages/opie-appearance/opie-appearance-1.2.1/.mtn2git_empty b/packages/opie-appearance/opie-appearance-1.2.1/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/opie-appearance/opie-appearance-1.2.1/.mtn2git_empty
diff --git a/packages/opie-appearance/opie-appearance-1.2.1/add-ui-settings.patch b/packages/opie-appearance/opie-appearance-1.2.1/add-ui-settings.patch
new file mode 100644
index 0000000000..821798720c
--- /dev/null
+++ b/packages/opie-appearance/opie-appearance-1.2.1/add-ui-settings.patch
@@ -0,0 +1,86 @@
+Index: appearance2/appearance.cpp
+===================================================================
+RCS file: /cvs/opie/noncore/settings/appearance2/appearance.cpp,v
+retrieving revision 1.35
+retrieving revision 1.36
+diff -u -u -r1.35 -r1.36
+--- appearance2/appearance.cpp 9 Jun 2005 20:47:58 -0000 1.35
++++ appearance2/appearance.cpp 17 Oct 2005 13:28:09 -0000 1.36
+@@ -394,6 +394,39 @@
+ m_rotdir_ccw-> setChecked ( rot == CCW );
+ m_rotdir_flip-> setChecked ( rot == Flip );
+
++ QFrame *f2 = new QFrame ( tab );
++ f2-> setFrameStyle ( QFrame::HLine | QFrame::Sunken );
++ vertLayout-> addWidget ( f2 );
++ vertLayout-> addSpacing ( 3 );
++
++ QHBoxLayout *bigIconlay = new QHBoxLayout ( vertLayout, 3 );
++
++ QLabel* label2 = new QLabel( tr( "&Big Icon size:" ), tab );
++ bigIconlay-> addWidget ( label2, 0, 0 );
++
++ m_bigIconSize = new QSpinBox(0, 128, 1, tab);
++ m_bigIconSize->setValue(cfg.readNumEntry( "BigIconSize" ));
++ bigIconlay->addWidget( m_bigIconSize );
++ label2->setBuddy( m_bigIconSize );
++ QWhatsThis::add( label2, tr( "Big Icon Size determines the size of the application icons in Launcher" ) );
++ QWhatsThis::add( m_bigIconSize, tr( "Big Icon Size determines the size of the application icons in Launcher" ) );
++
++ QHBoxLayout *smallIconlay = new QHBoxLayout ( vertLayout, 3 );
++
++ QLabel* label3 = new QLabel( tr( "&Small Icon size:" ), tab );
++ smallIconlay-> addWidget ( label3, 0, 0 );
++
++ m_smallIconSize = new QSpinBox(0, 128, 1, tab);
++ m_smallIconSize->setValue(cfg.readNumEntry( "SmallIconSize" ));
++ smallIconlay->addWidget( m_smallIconSize );
++ label3->setBuddy( m_smallIconSize );
++ 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." ) );
++ 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." ) );
++
++ m_useBigPixmaps = new QCheckBox( tr("use Big &Pixmaps"), tab);
++ m_useBigPixmaps->setChecked(cfg.readBoolEntry( "useBigPixmaps" ));
++ vertLayout->addWidget( m_useBigPixmaps );
++ QWhatsThis::add( m_useBigPixmaps, tr( "Enlarge toolbar pixmaps" ) );
+
+ /*
+ * add a spacing
+@@ -513,6 +546,10 @@
+
+ config. writeEntry( "LeftHand", m_leftHand->isChecked() );
+
++ config. writeEntry( "useBigPixmaps", m_useBigPixmaps->isChecked() );
++ config. writeEntry( "BigIconSize", m_bigIconSize->value() );
++ config. writeEntry( "SmallIconSize", m_smallIconSize->value() );
++
+ config. write ( ); // need to flush the config info first
+ Global::applyStyle ( );
+
+Index: appearance2/appearance.h
+===================================================================
+RCS file: /cvs/opie/noncore/settings/appearance2/appearance.h,v
+retrieving revision 1.13
+retrieving revision 1.14
+diff -u -u -r1.13 -r1.14
+--- appearance2/appearance.h 5 Jun 2005 22:47:00 -0000 1.13
++++ appearance2/appearance.h 17 Oct 2005 13:28:10 -0000 1.14
+@@ -37,6 +37,7 @@
+ #include <qpe/fontdatabase.h>
+
+ #include <qdialog.h>
++#include <qspinbox.h>
+
+ using Opie::Ui::OFontSelector;
+
+@@ -123,6 +124,10 @@
+
+ QWidget * m_advtab;
+ QCheckBox *m_leftHand;
++
++ QSpinBox *m_bigIconSize;
++ QSpinBox *m_smallIconSize;
++ QCheckBox *m_useBigPixmaps;
+ };
+
+ #endif
diff --git a/packages/opie-appearance/opie-appearance_1.2.1.bb b/packages/opie-appearance/opie-appearance_1.2.1.bb
index bad3343356..312c715c6e 100644
--- a/packages/opie-appearance/opie-appearance_1.2.1.bb
+++ b/packages/opie-appearance/opie-appearance_1.2.1.bb
@@ -1,7 +1,8 @@
include ${PN}.inc
-
-
+
+PR = "r1"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/noncore/settings/appearance2 \
${HANDHELDS_CVS};tag=${TAG};module=opie/pics \
- ${HANDHELDS_CVS};tag=${TAG};module=opie/apps"
+ ${HANDHELDS_CVS};tag=${TAG};module=opie/apps \
+ file://add-ui-settings.patch;patch=1"