author | harlekin <harlekin> | 2003-03-23 14:21:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-23 14:21:37 (UTC) |
commit | 47d6402958e3d95a49a116552979407b4b731670 (patch) (unidiff) | |
tree | 052add898ebee1f60e8f0bd9b4187bb16ccf464e | |
parent | dca448bad29f0afbab1fc0ffe493560fd927c1b5 (diff) | |
download | opie-47d6402958e3d95a49a116552979407b4b731670.zip opie-47d6402958e3d95a49a116552979407b4b731670.tar.gz opie-47d6402958e3d95a49a116552979407b4b731670.tar.bz2 |
use the common config symbol and save some kb
-rw-r--r-- | core/pim/today/todaybase.cpp | 2 | ||||
-rw-r--r-- | pics/today/config.png | bin | 990 -> 0 bytes |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index 826e253..da4efa3 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -17,33 +17,33 @@ | |||
17 | #include "todaybase.h" | 17 | #include "todaybase.h" |
18 | 18 | ||
19 | #include <qlabel.h> | 19 | #include <qlabel.h> |
20 | #include <qimage.h> | 20 | #include <qimage.h> |
21 | #include <qpixmap.h> | 21 | #include <qpixmap.h> |
22 | #include <qapplication.h> | 22 | #include <qapplication.h> |
23 | #include <qwhatsthis.h> | 23 | #include <qwhatsthis.h> |
24 | 24 | ||
25 | #include <qpe/resource.h> | 25 | #include <qpe/resource.h> |
26 | 26 | ||
27 | 27 | ||
28 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | 28 | TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) |
29 | : QWidget( parent, name, WStyle_ContextHelp ) { | 29 | : QWidget( parent, name, WStyle_ContextHelp ) { |
30 | 30 | ||
31 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo | 31 | QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo |
32 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla | 32 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla |
33 | QPixmap config = Resource::loadPixmap( "today/config" ); // config icon | 33 | QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon |
34 | 34 | ||
35 | layout = new QVBoxLayout( this ); | 35 | layout = new QVBoxLayout( this ); |
36 | 36 | ||
37 | QPalette pal = this->palette(); | 37 | QPalette pal = this->palette(); |
38 | QColor col = pal.color( QPalette::Active, QColorGroup::Background ); | 38 | QColor col = pal.color( QPalette::Active, QColorGroup::Background ); |
39 | pal.setColor( QPalette::Active, QColorGroup::Button, col ); | 39 | pal.setColor( QPalette::Active, QColorGroup::Button, col ); |
40 | pal.setColor( QPalette::Inactive, QColorGroup::Button, col ); | 40 | pal.setColor( QPalette::Inactive, QColorGroup::Button, col ); |
41 | pal.setColor( QPalette::Normal, QColorGroup::Button, col ); | 41 | pal.setColor( QPalette::Normal, QColorGroup::Button, col ); |
42 | pal.setColor( QPalette::Disabled, QColorGroup::Button, col ); | 42 | pal.setColor( QPalette::Disabled, QColorGroup::Button, col ); |
43 | this->setPalette( pal ); | 43 | this->setPalette( pal ); |
44 | 44 | ||
45 | // --- logo Section --- | 45 | // --- logo Section --- |
46 | QPalette pal2; | 46 | QPalette pal2; |
47 | QColorGroup cg; | 47 | QColorGroup cg; |
48 | cg.setColor( QColorGroup::Text, white ); | 48 | cg.setColor( QColorGroup::Text, white ); |
49 | cg.setBrush( QColorGroup::Background, QBrush( QColor( 238, 238, 230 ), logo ) ); | 49 | cg.setBrush( QColorGroup::Background, QBrush( QColor( 238, 238, 230 ), logo ) ); |
diff --git a/pics/today/config.png b/pics/today/config.png deleted file mode 100644 index 79737ce..0000000 --- a/pics/today/config.png +++ b/dev/null | |||
Binary files differ | |||