summaryrefslogtreecommitdiff
path: root/core/pim/datebook/datebookdayheader.h
blob: 12f6fcfa1c1d54605ffe0b837dd68778bb5b735a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/****************************************************************************
** Form interface generated from reading ui file 'datebookdayheader.ui'
**
** Created: Mon Mar 10 20:49:12 2003
**      by:  The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef DATEBOOKDAYHEADERBASE_H
#define DATEBOOKDAYHEADERBASE_H

#include <qvariant.h>
#include <qwidget.h>
class QVBoxLayout; 
class QHBoxLayout; 
class QGridLayout; 
class QButtonGroup;
class QToolButton;

class DateBookDayHeaderBase : public QWidget
{ 
    Q_OBJECT

public:
    DateBookDayHeaderBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
    ~DateBookDayHeaderBase();

    QToolButton* backweek;
    QToolButton* back;
    QToolButton* date;
    QButtonGroup* grpDays;
    QToolButton* cmdDay1;
    QToolButton* cmdDay2;
    QToolButton* cmdDay3;
    QToolButton* cmdDay4;
    QToolButton* cmdDay5;
    QToolButton* cmdDay6;
    QToolButton* cmdDay7;
    QToolButton* forward;
    QToolButton* forwardweek;

public slots:
    virtual void goBackWeek();
    virtual void goBack();
    virtual void goForward();
    virtual void goForwardWeek();
    virtual void setDate( int, int, int );
    virtual void setDay( int );

protected:
    QHBoxLayout* DateBookDayHeaderBaseLayout;
    QHBoxLayout* grpDaysLayout;
    bool event( QEvent* );
};

#endif // DATEBOOKDAYHEADERBASE_H