author | harlekin <harlekin> | 2003-04-03 17:45:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-03 17:45:37 (UTC) |
commit | 934e4d81bc078c704a39f02663607a6c16a5b29f (patch) (unidiff) | |
tree | 8897e81843a41418b8a7e42c22f10207b163cad1 | |
parent | f62005c53c93148eaa13eac50ea6814a41afb216 (diff) | |
download | opie-934e4d81bc078c704a39f02663607a6c16a5b29f.zip opie-934e4d81bc078c704a39f02663607a6c16a5b29f.tar.gz opie-934e4d81bc078c704a39f02663607a6c16a5b29f.tar.bz2 |
set max days ahead to 21, closes #815
-rw-r--r-- | core/pim/today/plugins/datebook/datebookpluginconfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp index dc6dee9..0477122 100644 --- a/core/pim/today/plugins/datebook/datebookpluginconfig.cpp +++ b/core/pim/today/plugins/datebook/datebookpluginconfig.cpp | |||
@@ -57,25 +57,25 @@ DatebookPluginConfig::DatebookPluginConfig( QWidget* parent, const char* name) | |||
57 | "should be \nshown?" ) ); | 57 | "should be \nshown?" ) ); |
58 | SpinBox1 = new QSpinBox( box4, "SpinBox1" ); | 58 | SpinBox1 = new QSpinBox( box4, "SpinBox1" ); |
59 | QWhatsThis::add( SpinBox1 , tr( "How many appointments should be shown maximal. In chronical order" ) ); | 59 | QWhatsThis::add( SpinBox1 , tr( "How many appointments should be shown maximal. In chronical order" ) ); |
60 | SpinBox1->setMaxValue( 10 ); | 60 | SpinBox1->setMaxValue( 10 ); |
61 | SpinBox1->setValue( 5 ); | 61 | SpinBox1->setValue( 5 ); |
62 | 62 | ||
63 | 63 | ||
64 | QHBox *box5 = new QHBox( this ); | 64 | QHBox *box5 = new QHBox( this ); |
65 | QLabel *TextLabelDays = new QLabel( box5 ); | 65 | QLabel *TextLabelDays = new QLabel( box5 ); |
66 | TextLabelDays->setText( tr( "How many more days" ) ); | 66 | TextLabelDays->setText( tr( "How many more days" ) ); |
67 | SpinBox2 = new QSpinBox( box5, "SpinBox2" ); | 67 | SpinBox2 = new QSpinBox( box5, "SpinBox2" ); |
68 | QWhatsThis::add( SpinBox2 , tr( "How many more days should be in the range" ) ); | 68 | QWhatsThis::add( SpinBox2 , tr( "How many more days should be in the range" ) ); |
69 | SpinBox2->setMaxValue( 7 ); | 69 | SpinBox2->setMaxValue( 21 ); |
70 | SpinBox2->setSuffix( tr( " day(s)" ) ); | 70 | SpinBox2->setSuffix( tr( " day(s)" ) ); |
71 | SpinBox2->setSpecialValueText ( tr("only today") ); | 71 | SpinBox2->setSpecialValueText ( tr("only today") ); |
72 | 72 | ||
73 | layout->addWidget( box1 ); | 73 | layout->addWidget( box1 ); |
74 | layout->addWidget( box2 ); | 74 | layout->addWidget( box2 ); |
75 | layout->addWidget( box3 ); | 75 | layout->addWidget( box3 ); |
76 | layout->addWidget( box4 ); | 76 | layout->addWidget( box4 ); |
77 | layout->addWidget( box5 ); | 77 | layout->addWidget( box5 ); |
78 | 78 | ||
79 | readConfig(); | 79 | readConfig(); |
80 | } | 80 | } |
81 | 81 | ||