class KDatePicker
|
A widget for selecting dates.
More... |
|
|
Public Members
Public Slots
- void updateHeader (QDate dt)
- void setDate (QDate)
Protected Members
- void resizeEvent (QResizeEvent *)
- void sizeElements ()
- const int PreferredButtonSize
- const int MinimumFrameAroundButtons
- const int NoOfMonth
- const char* [12] Month
- int fontsize
Signals
Detailed Description
Use this class to make a date picker widget.
When a date is selected by the user, it emits a signal:
dateSelected(QDate)
[const pure] The usual constructor, the given date will be displayed
initially.
[const] 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.
void setFontSize (int size)
|
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!
void setHeadlineSize (int size)
|
Set the font size of the headline, independent from the rest of the widget.
The default size is fontsize + 2.
void dateSelected (QDate)
|
[signal] This signal is emmitted when the user picked a date.
- Version: $Id: kdatepik.h,v 1.6.4.1 1999/03/29 17:28:03 mirko Exp $
- Author: Mirko Sucker (mirko.sucker@unibw-hamburg.de)
- Generated: prospector@boris.devel.redhat.com on Fri Apr 27 17:30:07 200.