summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/todayconfig.cpp172
1 files changed, 86 insertions, 86 deletions
diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp
index 9ba9de4..0f00802 100644
--- a/core/pim/today/todayconfig.cpp
+++ b/core/pim/today/todayconfig.cpp
@@ -8,120 +8,120 @@
8****************************************************************************/ 8****************************************************************************/
9#include "todayconfig.h" 9#include "todayconfig.h"
10 10
11#include <qcheckbox.h> 11#include <qcheckbox.h>
12#include <qframe.h> 12#include <qframe.h>
13#include <qlabel.h> 13#include <qlabel.h>
14#include <qspinbox.h> 14#include <qspinbox.h>
15#include <qtabwidget.h> 15#include <qtabwidget.h>
16#include <qwidget.h> 16#include <qwidget.h>
17#include <qlayout.h> 17#include <qlayout.h>
18#include <qvariant.h> 18#include <qvariant.h>
19#include <qtooltip.h> 19#include <qtooltip.h>
20#include <qwhatsthis.h> 20#include <qwhatsthis.h>
21 21
22/* 22/*
23 * Constructs a todayconfig which is a child of 'parent', with the 23 * Constructs a todayconfig which is a child of 'parent', with the
24 * name 'name' and widget flags set to 'f' 24 * name 'name' and widget flags set to 'f'
25 * 25 *
26 * The dialog will by default be modeless, unless you set 'modal' to 26 * The dialog will by default be modeless, unless you set 'modal' to
27 * TRUE to construct a modal dialog. 27 * TRUE to construct a modal dialog.
28 */ 28 */
29todayconfig::todayconfig( QWidget* parent, const char* name, bool modal, WFlags fl ) 29todayconfig::todayconfig( QWidget* parent, const char* name, bool modal, WFlags fl )
30 : QDialog( parent, name, modal, fl ) 30 : QDialog( parent, name, modal, fl )
31{ 31{
32 if ( !name ) 32 if ( !name )
33 setName( "todayconfig" ); 33 setName( "todayconfig" );
34 resize( 175, 232 ); 34 resize( 175, 232 );
35 setCaption( tr( "Today config" ) ); 35 setCaption( tr( "Today config" ) );
36 36
37 TabWidget3 = new QTabWidget( this, "TabWidget3" ); 37 TabWidget3 = new QTabWidget( this, "TabWidget3" );
38 TabWidget3->setGeometry( QRect( 0, 0, 220, 320 ) ); 38 TabWidget3->setGeometry( QRect( 0, 0, 220, 320 ) );
39 TabWidget3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, TabWidget3->sizePolicy().hasHeightForWidth() ) ); 39 TabWidget3->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, TabWidget3->sizePolicy().hasHeightForWidth() ) );
40 TabWidget3->setAutoMask( FALSE ); 40 TabWidget3->setAutoMask( FALSE );
41 TabWidget3->setTabShape( QTabWidget::Rounded ); 41 TabWidget3->setTabShape( QTabWidget::Rounded );
42 42
43 tab = new QWidget( TabWidget3, "tab" ); 43 tab = new QWidget( TabWidget3, "tab" );
44 44
45 Frame8 = new QFrame( tab, "Frame8" ); 45 Frame8 = new QFrame( tab, "Frame8" );
46 Frame8->setGeometry( QRect( -10, 0, 200, 300 ) ); 46 Frame8->setGeometry( QRect( -5, 0, 200, 300 ) );
47 Frame8->setFrameShape( QFrame::StyledPanel ); 47 Frame8->setFrameShape( QFrame::StyledPanel );
48 Frame8->setFrameShadow( QFrame::Raised ); 48 Frame8->setFrameShadow( QFrame::Raised );
49 49
50 TextLabel4 = new QLabel( Frame8, "TextLabel4" ); 50 TextLabel4 = new QLabel( Frame8, "TextLabel4" );
51 TextLabel4->setGeometry( QRect( 20, 89, 100, 60 ) ); 51 TextLabel4->setGeometry( QRect( 20, 89, 100, 60 ) );
52 TextLabel4->setText( tr( "Should the \n" 52 TextLabel4->setText( tr( "Should the \n"
53"location \n" 53 "location \n"
54"be shown?" ) ); 54 "be shown?" ) );
55 55
56 TextLabel5 = new QLabel( Frame8, "TextLabel5" ); 56 TextLabel5 = new QLabel( Frame8, "TextLabel5" );
57 TextLabel5->setGeometry( QRect( 20, 160, 120, 40 ) ); 57 TextLabel5->setGeometry( QRect( 20, 160, 120, 40 ) );
58 TextLabel5->setText( tr( "Should the notes \n" 58 TextLabel5->setText( tr( "Should the notes \n"
59"be shown?" ) ); 59 "be shown?" ) );
60 60
61 CheckBox2 = new QCheckBox( Frame8, "CheckBox2" ); 61 CheckBox2 = new QCheckBox( Frame8, "CheckBox2" );
62 CheckBox2->setGeometry( QRect( 160, 170, 27, 21 ) ); 62 CheckBox2->setGeometry( QRect( 158, 170, 27, 21 ) );
63 CheckBox2->setText( tr( "" ) ); 63 CheckBox2->setText( tr( "" ) );
64 64
65 CheckBox1 = new QCheckBox( Frame8, "CheckBox1" ); 65 CheckBox1 = new QCheckBox( Frame8, "CheckBox1" );
66 CheckBox1->setGeometry( QRect( 160, 90, 27, 50 ) ); 66 CheckBox1->setGeometry( QRect( 158, 90, 27, 50 ) );
67 CheckBox1->setText( tr( "" ) ); 67 CheckBox1->setText( tr( "" ) );
68 68
69 SpinBox1 = new QSpinBox( Frame8, "SpinBox1" ); 69 SpinBox1 = new QSpinBox( Frame8, "SpinBox1" );
70 SpinBox1->setGeometry( QRect( 120, 20, 58, 25 ) ); 70 SpinBox1->setGeometry( QRect( 115, 20, 58, 25 ) );
71 SpinBox1->setMaxValue( 10 ); 71 SpinBox1->setMaxValue( 10 );
72 SpinBox1->setValue( 5 ); 72 SpinBox1->setValue( 5 );
73 73
74 TextLabel3 = new QLabel( Frame8, "TextLabel3" ); 74 TextLabel3 = new QLabel( Frame8, "TextLabel3" );
75 TextLabel3->setGeometry( QRect( 20, 10, 90, 70 ) ); 75 TextLabel3->setGeometry( QRect( 20, 10, 90, 70 ) );
76 TextLabel3->setText( tr( "How many \n" 76 TextLabel3->setText( tr( "How many \n"
77"appointment\n" 77 "appointment\n"
78"should should \n" 78 "should should \n"
79"be shown?" ) ); 79 "be shown?" ) );
80 TabWidget3->insertTab( tab, tr( "Calendar" ) ); 80 TabWidget3->insertTab( tab, tr( "Calendar" ) );
81 81
82 tab_2 = new QWidget( TabWidget3, "tab_2" ); 82 tab_2 = new QWidget( TabWidget3, "tab_2" );
83 83
84 Frame9 = new QFrame( tab_2, "Frame9" ); 84 Frame9 = new QFrame( tab_2, "Frame9" );
85 Frame9->setGeometry( QRect( -11, -6, 230, 310 ) ); 85 Frame9->setGeometry( QRect( -5, 0, 230, 310 ) );
86 Frame9->setFrameShape( QFrame::StyledPanel ); 86 Frame9->setFrameShape( QFrame::StyledPanel );
87 Frame9->setFrameShadow( QFrame::Raised ); 87 Frame9->setFrameShadow( QFrame::Raised );
88 88
89 TextLabel6 = new QLabel( Frame9, "TextLabel6" ); 89 TextLabel6 = new QLabel( Frame9, "TextLabel6" );
90 TextLabel6->setGeometry( QRect( 20, 10, 100, 70 ) ); 90 TextLabel6->setGeometry( QRect( 20, 10, 100, 60 ) );
91 TextLabel6->setText( tr( "How many\n" 91 TextLabel6->setText( tr( "How many\n"
92"tasks should \n" 92 "tasks should \n"
93"be shown?" ) ); 93 "be shown?" ) );
94 94
95 SpinBox2 = new QSpinBox( Frame9, "SpinBox2" ); 95 SpinBox2 = new QSpinBox( Frame9, "SpinBox2" );
96 SpinBox2->setGeometry( QRect( 119, 29, 58, 25 ) ); 96 SpinBox2->setGeometry( QRect( 115, 20, 58, 25 ) );
97 SpinBox2->setMaxValue( 20 ); 97 SpinBox2->setMaxValue( 20 );
98 SpinBox2->setValue( 5 ); 98 SpinBox2->setValue( 5 );
99 TabWidget3->insertTab( tab_2, tr( "Tasks" ) ); 99 TabWidget3->insertTab( tab_2, tr( "Tasks" ) );
100 100
101 tab_3 = new QWidget( TabWidget3, "tab_3" ); 101 tab_3 = new QWidget( TabWidget3, "tab_3" );
102 102
103 Frame14 = new QFrame( tab_3, "Frame14" ); 103 Frame14 = new QFrame( tab_3, "Frame14" );
104 Frame14->setGeometry( QRect( -12, -7, 200, 220 ) ); 104 Frame14->setGeometry( QRect( -5, 0, 200, 220 ) );
105 Frame14->setFrameShape( QFrame::StyledPanel ); 105 Frame14->setFrameShape( QFrame::StyledPanel );
106 Frame14->setFrameShadow( QFrame::Raised ); 106 Frame14->setFrameShadow( QFrame::Raised );
107 107
108 TextLabel1 = new QLabel( Frame14, "TextLabel1" ); 108 TextLabel1 = new QLabel( Frame14, "TextLabel1" );
109 TextLabel1->setGeometry( QRect( 20, 30, 100, 30 ) ); 109 TextLabel1->setGeometry( QRect( 20, 20, 100, 30 ) );
110 TextLabel1->setText( tr( "Clip after how\n" 110 TextLabel1->setText( tr( "Clip after how\n"
111"many letters" ) ); 111 "many letters" ) );
112 112
113 SpinBox7 = new QSpinBox( Frame14, "SpinBox7" ); 113 SpinBox7 = new QSpinBox( Frame14, "SpinBox7" );
114 SpinBox7->setGeometry( QRect( 120, 30, 58, 25 ) ); 114 SpinBox7->setGeometry( QRect( 115, 20, 58, 25 ) );
115 SpinBox7->setMaxValue( 80 ); 115 SpinBox7->setMaxValue( 80 );
116 SpinBox7->setValue( 30 ); 116 SpinBox7->setValue( 30 );
117 TabWidget3->insertTab( tab_3, tr( "All" ) ); 117 TabWidget3->insertTab( tab_3, tr( "All" ) );
118} 118}
119 119
120/* 120/*
121 * Destroys the object and frees any allocated resources 121 * Destroys the object and frees any allocated resources
122 */ 122 */
123todayconfig::~todayconfig() 123todayconfig::~todayconfig()
124{ 124{
125 // no need to delete child widgets, Qt does it all for us 125 // no need to delete child widgets, Qt does it all for us
126} 126}
127 127