summaryrefslogtreecommitdiff
path: root/core/pim/today/todaybase.cpp
authorharlekin <harlekin>2002-10-11 17:18:08 (UTC)
committer harlekin <harlekin>2002-10-11 17:18:08 (UTC)
commit3f29dc777e7f0a5c2a9b44521b486c69b610c13a (patch) (unidiff)
tree5b1019cbf47625faad281959497c4a2e6ea6678e /core/pim/today/todaybase.cpp
parent526ee9ecc0e9b35dfff85f37ece86ab628efd47e (diff)
downloadopie-3f29dc777e7f0a5c2a9b44521b486c69b610c13a.zip
opie-3f29dc777e7f0a5c2a9b44521b486c69b610c13a.tar.gz
opie-3f29dc777e7f0a5c2a9b44521b486c69b610c13a.tar.bz2
added more whatsthis
Diffstat (limited to 'core/pim/today/todaybase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/todaybase.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 352c9c1..12e8411 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -21,12 +21,13 @@
21#include <qimage.h> 21#include <qimage.h>
22#include <qpixmap.h> 22#include <qpixmap.h>
23#include <qapplication.h> 23#include <qapplication.h>
24#include <qwhatsthis.h>
24 25
25#include <qpe/resource.h> 26#include <qpe/resource.h>
26 27
27 28
28TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) 29TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
29 : QWidget( parent, name, fl ) { 30 : QWidget( parent, name, WStyle_ContextHelp ) {
30 31
31 QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo 32 QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo
32 QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla 33 QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla
@@ -80,6 +81,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
80 QLabel* Opiezilla = new QLabel( Frame, "OpieZilla" ); 81 QLabel* Opiezilla = new QLabel( Frame, "OpieZilla" );
81 Opiezilla->setPixmap( opiezilla ); 82 Opiezilla->setPixmap( opiezilla );
82 Opiezilla->setGeometry( QApplication::desktop()->width()-50 ,1, 45, 47 ); 83 Opiezilla->setGeometry( QApplication::desktop()->width()-50 ,1, 45, 47 );
84 QWhatsThis::add( Opiezilla , tr( "Today by Maximilian Reiß" ) );
83 Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); 85 Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin );
84 86
85 // Ownerfield 87 // Ownerfield
@@ -92,6 +94,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl )
92 ConfigButton = new OClickableLabel ( Frame, "PushButton1" ); 94 ConfigButton = new OClickableLabel ( Frame, "PushButton1" );
93 ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 30, 25, 21 ) ); 95 ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 30, 25, 21 ) );
94 ConfigButton->setPixmap( config ); 96 ConfigButton->setPixmap( config );
97 QWhatsThis::add( ConfigButton, tr( "Click here to get to the config dialog" ) );
95 ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); 98 ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin );
96} 99}
97 100