source: src/gui/daynavigatorwidget.h @ 5ff01fe

qt5
Last change on this file since 5ff01fe was 969a840, checked in by pavelpa <pavelpa@…>, 13 years ago

implemented day navigator widget

  • to switch between conference days
  • Property mode set to 100644
File size: 659 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, 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
Note: See TracBrowser for help on using the repository browser.