class KDateTable
|
Date selection table. More... |
|
|
Public Methods
Signals
Protected Methods
Protected Members
Date selection table.
This is a support class for the KDatePicker class. It just
draws the calender table without titles, but could theoretically
be used as a standalone.
When a date is selected by the user, it emits a signal:
dateSelected(QDate)
QSize sizeHint ()
| sizeHint |
[const virtual]
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)
| setFontSize |
bool setDate (const QDate&)
| setDate |
const QDate& getDate ()
| getDate |
void paintCell (QPainter*, int, int)
| paintCell |
[protected virtual]
Reimplemented from QTableView.
[protected virtual]
Reimplemented from QTableView.
[protected virtual]
[protected]
[protected]
[protected]
[protected]
int numDaysPrevMonth
| numDaysPrevMonth |
[protected]
bool hasSelection
| hasSelection |
[protected]
[protected]
void dateChanged (QDate)
| dateChanged |
[signal]
void tableClicked ()
| tableClicked |
[signal]
- Version: $Id: KDateTable.html 132191 2002-01-17 21:32:13Z dfaure $
- Author: Tim Gilman, Mirko Boehm
- Generated: dfaure on kde.faure.org on Thu Jan 17 22:16:05 2002, using kdoc 2.0a53.