Go to the documentation of this file.00001
00004 #ifndef BPSSCHEDULECALENDARWIDGET_H
00005 #define BPSSCHEDULECALENDARWIDGET_H
00006
00007 #include "bpsgui_global.h"
00008 #include <QCalendarWidget>
00009
00010 class BpsSchedule;
00011
00017 class BPSGUI_EXPORT BpsScheduleCalendarWidget : public QCalendarWidget
00018 {
00019 Q_OBJECT
00020 BPS_PRIVATE(BpsScheduleCalendarWidget)
00021
00022 public:
00026 BpsScheduleCalendarWidget(QWidget* aParent = 0);
00027
00028 virtual ~BpsScheduleCalendarWidget();
00029
00033 BpsSchedule* schedule() const;
00034
00040 void setCronText(const QString& aCronText);
00041
00047 bool isScheduleDate(const QDate& aDate) const;
00048
00054 bool gotoNextScheduleDate(const QDate& aDate);
00055
00059 QDateTime selectedDateTime() const;
00060
00061 protected:
00063 virtual void paintCell(QPainter* aPainter, const QRect& aRect, const QDate& aDate) const;
00065 };
00066
00067 #endif // BPSSCHEDULECALENDARWIDGET_H