implemented day navigator widget
[toast/confclerk.git] / src / gui / daynavigatorwidget.h
1 #ifndef DAYNAVIGATORWIDGET_H
2 #define DAYNAVIGATORWIDGET_H
3
4 #include "ui_daynavigatorwidget.h"
5 #include <QObject>
6 #include <QDate>
7
8 class DayNavigatorWidget : public QWidget, Ui::DayNavigatorWidget
9 {
10     Q_OBJECT
11     public:
12         DayNavigatorWidget(QWidget *aParent = NULL);
13         ~DayNavigatorWidget() {}
14         void setDates(const QDate &aStartDate, const QDate &aEndDate);
15     private slots:
16         void prevDayButtonClicked();
17         void nextDayButtonClicked();
18     signals:
19         void dateChanged(const QDate &aDate);
20     private:
21         QDate mStartDate;
22         QDate mEndDate;
23         QDate mCurDate;
24 };
25
26 #endif /* DAYNAVIGATORWIDGET_H */
27