author | harlekin <harlekin> | 2002-10-10 18:12:54 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-10-10 18:12:54 (UTC) |
commit | 3f838aec8ec65ff0820c92095b9948413ad895aa (patch) (unidiff) | |
tree | 1439e0f0368d86c7b6ddb364365fb58ec981d860 /core/pim/today/todayconfig.cpp | |
parent | b0de7d18fc207a9926ba913d5863d2320d7122b2 (diff) | |
download | opie-3f838aec8ec65ff0820c92095b9948413ad895aa.zip opie-3f838aec8ec65ff0820c92095b9948413ad895aa.tar.gz opie-3f838aec8ec65ff0820c92095b9948413ad895aa.tar.bz2 |
tooltip experiments
Diffstat (limited to 'core/pim/today/todayconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/today/todayconfig.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp index 097965b..d15e2ab 100644 --- a/core/pim/today/todayconfig.cpp +++ b/core/pim/today/todayconfig.cpp | |||
@@ -30,6 +30,7 @@ | |||
30 | #include <qvbox.h> | 30 | #include <qvbox.h> |
31 | #include <qtoolbutton.h> | 31 | #include <qtoolbutton.h> |
32 | #include <qtooltip.h> | 32 | #include <qtooltip.h> |
33 | #include <qwhatsthis.h> | ||
33 | 34 | ||
34 | class ToolButton : public QToolButton { | 35 | class ToolButton : public QToolButton { |
35 | 36 | ||
@@ -50,8 +51,8 @@ public: | |||
50 | * By that way it would be real easy to have it as seperate app in settings tab | 51 | * By that way it would be real easy to have it as seperate app in settings tab |
51 | * | 52 | * |
52 | */ | 53 | */ |
53 | TodayConfig::TodayConfig( QWidget* parent, const char* name, bool modal, WFlags fl ) | 54 | TodayConfig::TodayConfig( QWidget* parent, const char* name, bool modal ) |
54 | : QDialog( parent, name, modal, fl ) { | 55 | : QDialog( parent, name, modal, WStyle_ContextHelp ) { |
55 | 56 | ||
56 | setCaption( tr( "Today config" ) ); | 57 | setCaption( tr( "Today config" ) ); |
57 | 58 | ||
@@ -80,17 +81,22 @@ TodayConfig::TodayConfig( QWidget* parent, const char* name, bool modal, WFlags | |||
80 | QHBox *hbox_auto = new QHBox( tab_3 ); | 81 | QHBox *hbox_auto = new QHBox( tab_3 ); |
81 | TextLabel2 = new QLabel( hbox_auto, "AutoStart" ); | 82 | TextLabel2 = new QLabel( hbox_auto, "AutoStart" ); |
82 | TextLabel2->setText( tr( "autostart on \nresume?\n (Opie only)" ) ); | 83 | TextLabel2->setText( tr( "autostart on \nresume?\n (Opie only)" ) ); |
84 | QWhatsThis::add( TextLabel2 , tr( "Check this if today should be autostarted on resume." ) ); | ||
83 | CheckBoxAuto = new QCheckBox( hbox_auto, "CheckBoxAuto" ); | 85 | CheckBoxAuto = new QCheckBox( hbox_auto, "CheckBoxAuto" ); |
86 | QWhatsThis::add( CheckBoxAuto, tr( "Check this if today should be autostarted on resume." ) ); | ||
84 | QHBox *hbox_inactive = new QHBox( tab_3 ); | 87 | QHBox *hbox_inactive = new QHBox( tab_3 ); |
85 | TimeLabel = new QLabel( hbox_inactive, "TimeLabel" ); | 88 | TimeLabel = new QLabel( hbox_inactive, "TimeLabel" ); |
86 | TimeLabel->setText( tr( "minutes inactive" ) ); | 89 | TimeLabel->setText( tr( "minutes inactive" ) ); |
90 | QWhatsThis::add( TimeLabel , tr( "How many minutes has the PDA been suspended before the autostart feature kicks in on resume" ) ); | ||
87 | SpinBoxTime = new QSpinBox( hbox_inactive, "TimeSpinner" ); | 91 | SpinBoxTime = new QSpinBox( hbox_inactive, "TimeSpinner" ); |
92 | QWhatsThis::add( SpinBoxTime , tr( "How many minutes has the PDA been suspended before the autostart feature kicks in on resume" ) ); | ||
88 | QHBox *hbox_iconSize = new QHBox( tab_3 ); | 93 | QHBox *hbox_iconSize = new QHBox( tab_3 ); |
89 | QLabel *iconSizeLabel = new QLabel( hbox_iconSize, "iconSizeLabel" ); | 94 | QLabel *iconSizeLabel = new QLabel( hbox_iconSize, "iconSizeLabel" ); |
90 | iconSizeLabel->setText( tr( "Icon size" ) ); | 95 | iconSizeLabel->setText( tr( "Icon size" ) ); |
91 | // iconSizeLabel->setToolTip( tr( "Set the icon size in pixel" ) ); | 96 | QWhatsThis::add( iconSizeLabel, tr( "Set the icon size in pixel" ) ); |
92 | SpinBoxIconSize = new QSpinBox( hbox_iconSize, "TimeSpinner" ); | 97 | SpinBoxIconSize = new QSpinBox( hbox_iconSize, "TimeSpinner" ); |
93 | SpinBoxIconSize->setMaxValue( 32 ); | 98 | SpinBoxIconSize->setMaxValue( 32 ); |
99 | QWhatsThis::add( SpinBoxIconSize, tr( "Set the icon size in pixel" ) ); | ||
94 | 100 | ||
95 | tab3Layout->addWidget( hbox_auto ); | 101 | tab3Layout->addWidget( hbox_auto ); |
96 | tab3Layout->addWidget( hbox_inactive ); | 102 | tab3Layout->addWidget( hbox_inactive ); |