-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginconfig.cpp | 5 | ||||
-rw-r--r-- | core/pim/today/plugins/todolist/todopluginconfig.cpp | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp index 606916b..e93c82c 100644 --- a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp @@ -9,4 +9,5 @@ #include <qlabel.h> #include <qhbox.h> +#include <qwhatsthis.h> #include <qvbox.h> @@ -21,4 +22,5 @@ DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) TextLabel4->setText( tr( "Show location" ) ); CheckBox1 = new QCheckBox( box1, "CheckBox1" ); + QWhatsThis::add( CheckBox1 , tr( "Check this if the location of an appointment should be shown for each one" ) ); QHBox *box2 = new QHBox( this ); @@ -26,4 +28,5 @@ DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) TextLabel5->setText( tr( "Show notes" ) ); CheckBox2 = new QCheckBox( box2, "CheckBox2" ); + QWhatsThis::add( CheckBox2 , tr( "Check this if the note attached to an appointment should be shown for each one" ) ); QHBox *box3 = new QHBox( this ); @@ -31,4 +34,5 @@ DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) TextLabel6->setText( tr( "Show only later\n appointments") ); CheckBox3 = new QCheckBox ( box3, "CheckBox3" ); + QWhatsThis::add( CheckBox3 , tr( "Check this if only appointments later then current time should be shown" ) ); QHBox *box4 = new QHBox( this ); @@ -37,4 +41,5 @@ DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) "should be \nshown?" ) ); SpinBox1 = new QSpinBox( box4, "SpinBox1" ); + QWhatsThis::add( SpinBox1 , tr( "How many appointments should be shown maximal. In chronical order" ) ); SpinBox1->setMaxValue( 10 ); SpinBox1->setValue( 5 ); diff --git a/core/pim/today/plugins/todolist/todopluginconfig.cpp b/core/pim/today/plugins/todolist/todopluginconfig.cpp index 110b2e0..56b7aa2 100644 --- a/core/pim/today/plugins/todolist/todopluginconfig.cpp +++ b/core/pim/today/plugins/todolist/todopluginconfig.cpp @@ -23,4 +23,5 @@ #include <qtoolbutton.h> #include <qlabel.h> +#include <qwhatsthis.h> @@ -35,18 +36,20 @@ TodolistPluginConfig::TodolistPluginConfig( QWidget *parent, const char* name) QLabel* TextLabel6 = new QLabel( box1, "TextLabel6" ); - TextLabel6->setText( tr( "How many\n tasks should \n" - "be shown?" ) ); + TextLabel6->setText( tr( "tasks shown " ) ); SpinBox2 = new QSpinBox( box1, "SpinBox2" ); SpinBox2->setMaxValue( 40 ); + QWhatsThis::add( SpinBox2 , tr( "Set the maximum number of task that should be shown" ) ); + + QHBox *box2 = new QHBox( this ); QLabel* clipLabel = new QLabel( box2, "" ); - clipLabel->setText( tr( "Clip line after\n X chars" ) ); + clipLabel->setText( tr( "Clip line after X chars" ) ); SpinBoxClip = new QSpinBox( box2, "SpinClip" ); SpinBoxClip->setMaxValue( 200 ); - + QWhatsThis::add( SpinBoxClip , tr( "After how many chars should be the info about the task be cut off" ) ); layout->addWidget( box1 ); layout->addWidget( box2 ); |