class KDateTable
|
Date selection table. More... |
|
|
Public Methods
- KDateTable (QWidget *parent=0, QDate date=QDate::currentDate(), const char* name=0, WFlags f=0)
- QSize sizeHint () const
- void setFontSize (int size)
- bool setDate (const QDate&)
- const QDate& getDate ()
Signals
Protected Methods
Protected Members
Detailed Description
Date selection table.
KDateTable (QWidget *parent=0, QDate date=QDate::currentDate(), const char* name=0, WFlags f=0)
|
The constructor.
[const] Returns a recommended size for the widget.
To save some time, the size of the largest used cell content is
calculated in each paintCell() call, since all calculations have
to be done there anyway. The size is stored in maxCell. The
sizeHint() simply returns a multiple of maxCell.
void setFontSize (int size)
|
Set the font size of the date table.
bool setDate (const QDate&)
|
Select and display this date.
[protected] Paint a cell.
void resizeEvent (QResizeEvent *)
|
[protected] Handle the resize events.
[protected] React on mouse clicks that select a date.
[protected] The font size of the displayed text.
[protected] The currently selected date.
[protected] The day of the first day in the month [1..7].
[protected] The number of days in the current month.
[protected] The number of days in the previous month.
[protected] Whether something has been selected or not.
[protected] Save the size of the largest used cell content.
[protected] The day names.
[signal] The selected date changed.
[signal] A date has been selected by clicking on the table.
- Version: $Id: kdatetbl.h,v 1.10 1999/11/02 08:13:23 ssk Exp $
- Author: Tim Gilman, Mirko Sucker
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:25 2000, using kdoc 2.0a33.