Wtx ~ Wt Extension Library
WtxLib
|
Public Member Functions | |
MonthView (int firstDayOfWeek, Wtx::Web::Calendar::Widget *widget) | |
Wtx::Web::Calendar::DayWidget * | dayWidget (const Wt::WDate &date) const |
const std::vector< Wtx::Web::Calendar::DayWidget * > & | dayWidgets () const |
void | setSelectedDate (const Wt::WDate &date) |
const Wt::WDate | today () const |
Wt::Signal< Wt::WDate > & | clicked () |
Wt::Signal< Wt::WDate > & | doubleClicked () |
Wt::Signal< Wt::WModelIndex > & | itemClicked () |
Wt::Signal< Wt::WModelIndex > & | itemDoubleClicked () |
Public Member Functions inherited from Wtx::Web::Calendar::BaseView | |
BaseView (int firstDayOfWeek, Wtx::Web::Calendar::Widget *widget) | |
virtual void | setSelectionMode (Wt::SelectionMode mode) |
virtual void | browseToPreviousYear () |
virtual void | browseToPreviousMonth () |
virtual void | browseToNextYear () |
virtual void | browseToNextMonth () |
virtual void | browseTo (const Wt::WDate &date) |
int | currentDay () const |
int | currentMonth () const |
int | currentYear () const |
virtual void | clearSelection () |
virtual void | select (const Wt::WDate &date) |
virtual void | select (const std::set< Wt::WDate > &dates) |
virtual void | setFirstDayOfWeek (int dayOfWeek) |
virtual const std::set< Wt::WDate > & | selection () const |
virtual Wt::Signal & | selectionChanged () |
virtual Wt::Signal< Wt::WDate > & | activated () |
virtual Wt::Signal< int, int > & | currentPageChanged () |
virtual void | setSingleClickSelect (bool single) |
virtual void | setBottom (const Wt::WDate &bottom) |
virtual const Wt::WDate & | bottom () const |
virtual void | setTop (const Wt::WDate &top) |
virtual const Wt::WDate & | top () const |
const Wt::WDate & | selectedDate () const |
Wtx::Web::Calendar::Widget * | widget () |
std::shared_ptr< Wt::WAbstractItemModel > | getModel (const Wt::WDate &date, const std::vector< std::string > &fieldList) |
Definition at line 58 of file MonthView.h.
Wtx::Web::Calendar::MonthView::MonthView | ( | int | firstDayOfWeek, |
Wtx::Web::Calendar::Widget * | widget | ||
) |
The issue is, we are trying to defer rendering of this widget until it is actually called upon - since it is so model-intensive, we need to wait unti someone is actually ~looking~ at it before we load it all. This was turned off because it was being called when the date wasn't even set yet - so it was doing nothing.
Definition at line 141 of file MonthView.cpp.