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