summaryrefslogtreecommitdiff
path: root/core/pim/today/plugins/todolist/todopluginconfig.cpp
Unidiff
Diffstat (limited to 'core/pim/today/plugins/todolist/todopluginconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/plugins/todolist/todopluginconfig.cpp11
1 files changed, 7 insertions, 4 deletions
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
@@ -19,38 +19,41 @@
19#include <qpe/config.h> 19#include <qpe/config.h>
20 20
21#include <qlayout.h> 21#include <qlayout.h>
22#include <qhbox.h> 22#include <qhbox.h>
23#include <qtoolbutton.h> 23#include <qtoolbutton.h>
24#include <qlabel.h> 24#include <qlabel.h>
25#include <qwhatsthis.h>
25 26
26 27
27 28
28TodolistPluginConfig::TodolistPluginConfig( QWidget *parent, const char* name) 29TodolistPluginConfig::TodolistPluginConfig( QWidget *parent, const char* name)
29 : TodayConfigWidget(parent, name ) { 30 : TodayConfigWidget(parent, name ) {
30 31
31 QVBoxLayout * layout = new QVBoxLayout( this ); 32 QVBoxLayout * layout = new QVBoxLayout( this );
32 layout->setMargin( 20 ); 33 layout->setMargin( 20 );
33 34
34 QHBox *box1 = new QHBox( this ); 35 QHBox *box1 = new QHBox( this );
35 36
36 QLabel* TextLabel6 = new QLabel( box1, "TextLabel6" ); 37 QLabel* TextLabel6 = new QLabel( box1, "TextLabel6" );
37 TextLabel6->setText( tr( "How many\n tasks should \n" 38 TextLabel6->setText( tr( "tasks shown " ) );
38 "be shown?" ) );
39 39
40 SpinBox2 = new QSpinBox( box1, "SpinBox2" ); 40 SpinBox2 = new QSpinBox( box1, "SpinBox2" );
41 SpinBox2->setMaxValue( 40 ); 41 SpinBox2->setMaxValue( 40 );
42 QWhatsThis::add( SpinBox2 , tr( "Set the maximum number of task that should be shown" ) );
43
44
42 45
43 QHBox *box2 = new QHBox( this ); 46 QHBox *box2 = new QHBox( this );
44 47
45 QLabel* clipLabel = new QLabel( box2, "" ); 48 QLabel* clipLabel = new QLabel( box2, "" );
46 clipLabel->setText( tr( "Clip line after\n X chars" ) ); 49 clipLabel->setText( tr( "Clip line after X chars" ) );
47 50
48 SpinBoxClip = new QSpinBox( box2, "SpinClip" ); 51 SpinBoxClip = new QSpinBox( box2, "SpinClip" );
49 SpinBoxClip->setMaxValue( 200 ); 52 SpinBoxClip->setMaxValue( 200 );
50 53 QWhatsThis::add( SpinBoxClip , tr( "After how many chars should be the info about the task be cut off" ) );
51 layout->addWidget( box1 ); 54 layout->addWidget( box1 );
52 layout->addWidget( box2 ); 55 layout->addWidget( box2 );
53 56
54 readConfig(); 57 readConfig();
55} 58}
56 59