[kdeui Index] [kdeui Hierarchy] [Headers]
A widget for selecting dates. More...
#include <kdatepik.h>
Inherits: QFrame (qt)
Use this class to make a date picker widget. When a date is selected by the user, it emits a signal: dateSelected(QDate)
[public]
The usual constructor, the given date will be displayed initially.
[public]
Returns a recommended size for the widget.The recommended size is calculated so that the widget "looks good", that means everything fits in it and there is some additional space between the rows. Also the buttons and every (!) month name fit in the headline.
[public]
Set the size of the contents of the datepicker widget using setFontSize. The days are displayed with the font size, the headline gets a size of fontsize + 2 by default. The default is 12pt. Important: this changes the headline size, so adjust it later!
[public]
Set the font size of the headline, independent from the rest of the widget.The default size is fontsize + 2.
[protected]
The size that lets the button look best.
[protected]
The minimum space between the button and the border.
[protected]
The number of month in a year, usually 12 I suppose :-).
[protected]
The names of the 12 month translated to the user language.
[signal]
This signal is emmitted when the user picked a date.
| Kdoc |