summaryrefslogtreecommitdiff
path: root/core/pim/todo/taskeditoroverview.h
Unidiff
Diffstat (limited to 'core/pim/todo/taskeditoroverview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/taskeditoroverview.h92
1 files changed, 92 insertions, 0 deletions
diff --git a/core/pim/todo/taskeditoroverview.h b/core/pim/todo/taskeditoroverview.h
new file mode 100644
index 0000000..223b72c
--- a/dev/null
+++ b/core/pim/todo/taskeditoroverview.h
@@ -0,0 +1,92 @@
1/*
2               =. This file is part of the OPIE Project
3             .=l. Copyright (c) 2002 <>
4           .>+-=
5 _;:,     .>    :=|. This program is free software; you can
6.> <`_,   >  .   <= redistribute it and/or modify it under
7:`=1 )Y*s>-.--   : the terms of the GNU General Public
8.="- .-=="i,     .._ License as published by the Free Software
9 - .   .-<_>     .<> Foundation; either version 2 of the License,
10     ._= =}       : or (at your option) any later version.
11    .%`+i>       _;_.
12    .i_,=:_.      -<s. This program is distributed in the hope that
13     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
14    : ..    .:,     . . . without even the implied warranty of
15    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
16  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
17..}^=.=       =       ; Library General Public License for more
18++=   -.     .`     .: details.
19 :     =  ...= . :.=-
20 -.   .:....=;==+<; You should have received a copy of the GNU
21  -_. . .   )=.  = General Public License along with
22    --        :-=` this library; see the file COPYING.LIB.
23 If not, write to the Free Software Foundation,
24 Inc., 59 Temple Place - Suite 330,
25 Boston, MA 02111-1307, USA.
26
27*/
28
29#ifndef TASKEDITOROVERVIEW_H
30#define TASKEDITOROVERVIEW_H
31
32#include <opie/otodo.h>
33
34#include <qdatetime.h>
35#include <qpixmap.h>
36#include <qwidget.h>
37
38class CategorySelect;
39class DateBookMonth;
40class QCheckBox;
41class QComboBox;
42class QPushButton;
43
44class TaskEditorOverView : public QWidget
45{
46 Q_OBJECT
47
48public:
49 TaskEditorOverView( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
50 ~TaskEditorOverView();
51
52 QComboBox *cmbSum;
53 QComboBox *cmbPrio;
54 QComboBox *cmbProgress;
55 QCheckBox *ckbDue;
56 QPushButton *btnDue;
57 QCheckBox *ckbStart;
58 QPushButton *btnStart;
59 QCheckBox *ckbComp;
60 QPushButton *btnComp;
61 CategorySelect *comboCategory;
62 QCheckBox *CheckBox7;
63
64 void load( const OTodo & );
65 void save( OTodo & );
66
67signals:
68 void recurranceEnabled( bool );
69 void dueDateChanged( const QDate& date );
70
71protected:
72 QPixmap m_pic_priority[ 5 ];
73
74private:
75 QDate m_start;
76 QDate m_comp;
77 QDate m_due;
78 DateBookMonth *m_startBook;
79 DateBookMonth *m_compBook;
80 DateBookMonth *m_dueBook;
81
82protected slots:
83 void slotRecClicked();
84 void slotStartChecked();
85 void slotCompChecked();
86 void slotDueChecked();
87 void slotStartChanged( int, int, int );
88 void slotCompChanged( int, int, int );
89 void slotDueChanged( int, int, int );
90};
91
92#endif // TASKEDITOROVERVIEW_H