summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-03-23 14:21:37 (UTC)
committer harlekin <harlekin>2003-03-23 14:21:37 (UTC)
commit47d6402958e3d95a49a116552979407b4b731670 (patch) (side-by-side diff)
tree052add898ebee1f60e8f0bd9b4187bb16ccf464e
parentdca448bad29f0afbab1fc0ffe493560fd927c1b5 (diff)
downloadopie-47d6402958e3d95a49a116552979407b4b731670.zip
opie-47d6402958e3d95a49a116552979407b4b731670.tar.gz
opie-47d6402958e3d95a49a116552979407b4b731670.tar.bz2
use the common config symbol and save some kb
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/todaybase.cpp2
-rw-r--r--pics/today/config.pngbin990 -> 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
@@ -9,49 +9,49 @@
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "todaybase.h"
#include <qlabel.h>
#include <qimage.h>
#include <qpixmap.h>
#include <qapplication.h>
#include <qwhatsthis.h>
#include <qpe/resource.h>
TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
: QWidget( parent, name, WStyle_ContextHelp ) {
QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo
QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla
- QPixmap config = Resource::loadPixmap( "today/config" ); // config icon
+ QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon
layout = new QVBoxLayout( this );
QPalette pal = this->palette();
QColor col = pal.color( QPalette::Active, QColorGroup::Background );
pal.setColor( QPalette::Active, QColorGroup::Button, col );
pal.setColor( QPalette::Inactive, QColorGroup::Button, col );
pal.setColor( QPalette::Normal, QColorGroup::Button, col );
pal.setColor( QPalette::Disabled, QColorGroup::Button, col );
this->setPalette( pal );
// --- logo Section ---
QPalette pal2;
QColorGroup cg;
cg.setColor( QColorGroup::Text, white );
cg.setBrush( QColorGroup::Background, QBrush( QColor( 238, 238, 230 ), logo ) );
pal2.setActive( cg );
// today logo
Frame = new QLabel( this, "Frame" );
Frame->setPalette( pal2 );
Frame->setFrameShape( QFrame::StyledPanel );
Frame->setFrameShadow( QFrame::Raised );
Frame->setLineWidth( 0 );
Frame->setMaximumHeight( 50 );
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