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