2 #include <Wt/WStandardItemModel.h> 8 : m_firstDayOfWeek( firstDayOfWeek ),
13 void Wtx::Web::Calendar::BaseView::setSelectionMode( Wt::SelectionMode mode )
17 void Wtx::Web::Calendar::BaseView::browseToPreviousYear()
21 void Wtx::Web::Calendar::BaseView::browseToPreviousMonth()
25 void Wtx::Web::Calendar::BaseView::browseToNextYear()
29 void Wtx::Web::Calendar::BaseView::browseToNextMonth()
33 void Wtx::Web::Calendar::BaseView::browseTo(
const Wt::WDate & date )
37 const Wt::WDate & Wtx::Web::Calendar::BaseView::selectedDate()
const 39 return m_selectedDate;
42 void Wtx::Web::Calendar::BaseView::setSelectedDate(
const Wt::WDate & value )
44 m_selectedDate = value;
47 int Wtx::Web::Calendar::BaseView::currentDay()
const 49 return m_selectedDate.day();
52 int Wtx::Web::Calendar::BaseView::currentMonth()
const 54 return m_selectedDate.month();
57 int Wtx::Web::Calendar::BaseView::currentYear()
const 59 return m_selectedDate.year();
62 void Wtx::Web::Calendar::BaseView::clearSelection()
66 void Wtx::Web::Calendar::BaseView::select(
const Wt::WDate & value )
68 m_selectedDate = value;
71 void Wtx::Web::Calendar::BaseView::select(
const std::set< Wt::WDate > & dates )
75 void Wtx::Web::Calendar::BaseView:: setFirstDayOfWeek(
int dayOfWeek )
79 const std::set< Wt::WDate > & Wtx::Web::Calendar::BaseView::selection()
const 83 Wt::Signal<> & Wtx::Web::Calendar::BaseView::selectionChanged()
87 Wt::Signal< Wt::WDate > & Wtx::Web::Calendar::BaseView::activated()
91 Wt::Signal< Wt::WDate > & Wtx::Web::Calendar::BaseView::clicked()
95 Wt::Signal< int, int > & Wtx::Web::Calendar::BaseView::currentPageChanged()
99 void Wtx::Web::Calendar::BaseView::setSingleClickSelect(
bool single )
103 void Wtx::Web::Calendar::BaseView::setBottom(
const Wt::WDate & bottom )
107 const Wt::WDate & Wtx::Web::Calendar::BaseView::bottom()
const 111 void Wtx::Web::Calendar::BaseView::setTop(
const Wt::WDate & top )
115 const Wt::WDate & Wtx::Web::Calendar::BaseView::top()
const 124 std::shared_ptr<Wt::WAbstractItemModel> Wtx::Web::Calendar::BaseView::getModel(
const Wt::WDate & date,
const std::vector<std::string> & fieldList )
126 return m_widget-> getModel( date, fieldList );