Wtx ~ Wt Extension Library
WtxLib
Classes | Typedefs | Functions
Wtx::Web::Calendar Namespace Reference

Calendar. More...

Classes

class  AbstractItem
 Calendar Data Model. More...
 
class  Application
 Calendar Data Model. More...
 
class  BaseView
 
class  Database
 
class  DayView
 Calendar Day Widget. More...
 
class  DayWidget
 Calendar Day Widget. More...
 
class  Item
 
class  MiniMonth
 
class  ModelProvider
 Calendar Model Provider. More...
 
class  MonthView
 
class  WeekView
 
class  Widget
 Calendar Widget. More...
 
class  YearView
 

Typedefs

typedef std::tuple< std::string, std::string, int, Wt::WDate, Wt::WDate, Wt::WTime, Wt::WTime, std::string, std::string > ResultSet
 Calendar Result Set. More...
 

Functions

const std::vector< std::string > & daynames ()
 Long Day Names. More...
 

Detailed Description

Calendar.

This package contains the codes necessary to present to the user a fully-functional model-driven calendar widget.

WtxWebCalendarMonthView.png

Typedef Documentation

typedef std::tuple< std::string, std::string, int, Wt::WDate, Wt::WDate, Wt::WTime, Wt::WTime, std::string, std::string > Wtx::Web::Calendar::ResultSet

Calendar Result Set.

This result set is what should be provided by the model fetchers.

Definition at line 89 of file Calendar.h.

Function Documentation

const std::vector< std::string > & Wtx::Web::Calendar::daynames ( )

Long Day Names.

This is a list of day-names used on the calendar displays. This is the long (more-than-three-letter) day names. If you want the 3-letter day names, just trim the result value like this:

daynames().at(3).substr(0,3);

Definition at line 11 of file Calendar.cpp.