From 3f29dc777e7f0a5c2a9b44521b486c69b610c13a Mon Sep 17 00:00:00 2001 From: harlekin Date: Fri, 11 Oct 2002 17:18:08 +0000 Subject: added more whatsthis --- (limited to 'core/pim/today/todaybase.cpp') 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 @@ #include #include #include +#include #include -TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) { +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 @@ -80,6 +81,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) QLabel* Opiezilla = new QLabel( Frame, "OpieZilla" ); Opiezilla->setPixmap( opiezilla ); Opiezilla->setGeometry( QApplication::desktop()->width()-50 ,1, 45, 47 ); + QWhatsThis::add( Opiezilla , tr( "Today by Maximilian Reiß" ) ); Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); // Ownerfield @@ -92,6 +94,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags fl ) ConfigButton = new OClickableLabel ( Frame, "PushButton1" ); ConfigButton->setGeometry( QRect( QApplication::desktop()->width()-80, 30, 25, 21 ) ); ConfigButton->setPixmap( config ); + QWhatsThis::add( ConfigButton, tr( "Click here to get to the config dialog" ) ); ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); } -- cgit v0.9.0.2