45 #ifndef __WTX_MINIMONTH_H___ 46 #define __WTX_MINIMONTH_H___ 48 #include <Wt/WContainerWidget.h> 50 #include "DayWidget.h" 57 :
public Wt::WContainerWidget
68 const Wt::WDate & date()
const;
70 void setSelected(
bool value );
77 MiniMonth(
int firstDayOfWeek,
const Wt::WDate & date );
79 void allowPrev(
bool value =
true );
80 void allowNext(
bool value =
true );
81 void allowPrevNext(
bool value =
true );
82 void setSelectedDate(
const Wt::WDate & date );
84 void browseTo(
const Wt::WDate & date );
86 Wt::WTemplate * templt()
96 Wt::Signal<> & prevClicked()
101 Wt::Signal<> & nextClicked()
103 return m_nextClicked;
110 int m_firstDayOfWeek = 0;
112 std::vector< DayWidget * > m_dayWidgets;
114 Wt::WTemplate * m_templt =
nullptr;
115 Wt::WText * m_prev =
nullptr;
116 Wt::WText * m_next =
nullptr;
117 Wt::WText * m_month =
nullptr;
118 Wt::WText * m_year =
nullptr;
119 Wt::WTable * m_table =
nullptr;
121 Wt::Signal<> m_prevClicked;
122 Wt::Signal<> m_nextClicked;
131 #endif // end#ifndef __WTX_MINIMONTH_H___