#include <WDatePicker>
Inherits Wt::WCompositeWidget.
Inheritance diagram for Wt::WDatePicker:

Public Member Functions | |
| WDatePicker (WInteractWidget *displayWidget, WLineEdit *forEdit, bool i18n=false, WContainerWidget *parent=0) | |
| Create a new date picker. | |
| WCalendar * | calendar () const |
| The calendar widget. | |
| 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.
1.4.7