Wt::WDatePicker Class Reference

A date picker. More...

#include <WDatePicker>

Inherits Wt::WCompositeWidget.

Inheritance diagram for Wt::WDatePicker:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 WDatePicker (WInteractWidget *displayWidget, WLineEdit *forEdit, bool i18n=false, WContainerWidget *parent=0)
 Create a new date picker.
WCalendarcalendar () const
 The calendar widget.

Detailed Description

A date picker.


Constructor & Destructor Documentation

Wt::WDatePicker::WDatePicker ( WInteractWidget displayWidget,
WLineEdit forEdit,
bool  i18n = false,
WContainerWidget parent = 0 
)

Create a new date picker.

The displayWidget represents the button or image which much be clicked to open the date picker. When activated, the date picker shows a WCalendar widget in a popup window.

The forEdit is the lineEdit which works in conjunction with the date picker: a valid date from the lineEdit is reflected in the selected date on the calendar, and vice-versa.

i18n is passed to the WCalendar constructor.


The documentation for this class was generated from the following files:
Generated on Sun Jul 1 19:37:18 2007 for Wt by doxygen 1.4.7