source: src/gui/daynavigatorwidget.h @ 06570e9

qt5
Last change on this file since 06570e9 was f6300c7, checked in by korrco <korrco@…>, 13 years ago

activities tab implemented - not finished yet

  • Property mode set to 100644
File size: 699 bytes
Line 
1#ifndef DAYNAVIGATORWIDGET_H
2#define DAYNAVIGATORWIDGET_H
3
4#include "ui_daynavigatorwidget.h"
5#include <QObject>
6#include <QDate>
7
8class DayNavigatorWidget : public QWidget, private 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        QDate getCurrentDate();
16    private slots:
17        void prevDayButtonClicked();
18        void nextDayButtonClicked();
19    signals:
20        void dateChanged(const QDate &aDate);
21    private:
22        QDate mStartDate;
23        QDate mEndDate;
24        QDate mCurDate;
25};
26
27#endif /* DAYNAVIGATORWIDGET_H */
28
Note: See TracBrowser for help on using the repository browser.