kdeui
KDateInternalMonthPicker Class Reference
A table containing month names. More...
#include <kdatetbl.h>
Inheritance diagram for KDateInternalMonthPicker:

| Signals | |
| void | closeMe (int) | 
| Public Member Functions | |
| int | getResult () const | 
| KDateInternalMonthPicker (const QDate &date, QWidget *parent, const char *name=0) | |
| QSize | sizeHint () const | 
| ~KDateInternalMonthPicker () | |
| Protected Member Functions | |
| virtual void | contentsMouseMoveEvent (QMouseEvent *e) | 
| virtual void | contentsMousePressEvent (QMouseEvent *e) | 
| virtual void | contentsMouseReleaseEvent (QMouseEvent *e) | 
| virtual void | paintCell (QPainter *painter, int row, int col) | 
| void | setupPainter (QPainter *p) | 
| virtual void | viewportResizeEvent (QResizeEvent *) | 
| Protected Attributes | |
| short int | activeCol | 
| short int | activeRow | 
| QRect | max | 
| int | result | 
Detailed Description
A table containing month names.It is used to pick a month directly.
For internal use only.
- Version:
- Id
- kdatetbl.h 565029 2006-07-22 07:30:24Z kling
Definition at line 67 of file kdatetbl.h.
Constructor & Destructor Documentation
| KDateInternalMonthPicker::~KDateInternalMonthPicker | ( | ) | 
Member Function Documentation
| void KDateInternalMonthPicker::closeMe | ( | int | ) |  [signal] | 
This is send from the mouse click event handler.
| void KDateInternalMonthPicker::contentsMouseMoveEvent | ( | QMouseEvent * | e | ) |  [protected, virtual] | 
Definition at line 784 of file kdatetbl.cpp.
| void KDateInternalMonthPicker::contentsMousePressEvent | ( | QMouseEvent * | e | ) |  [protected, virtual] | 
Catch mouse click and move events to paint a rectangle around the item.
Definition at line 757 of file kdatetbl.cpp.
| void KDateInternalMonthPicker::contentsMouseReleaseEvent | ( | QMouseEvent * | e | ) |  [protected, virtual] | 
| int KDateInternalMonthPicker::getResult | ( | ) | const | 
Return the result.
0 means no selection (reject()), 1..12 are the months.
Definition at line 723 of file kdatetbl.cpp.
| void KDateInternalMonthPicker::paintCell | ( | QPainter * | painter, | |
| int | row, | |||
| int | col | |||
| ) |  [protected, virtual] | 
Paint a cell.
This simply draws the month names in it.
Reimplemented from QGridView.
Definition at line 742 of file kdatetbl.cpp.
| void KDateInternalMonthPicker::setupPainter | ( | QPainter * | p | ) |  [protected] | 
| QSize KDateInternalMonthPicker::sizeHint | ( | void | ) | const | 
| void KDateInternalMonthPicker::viewportResizeEvent | ( | QResizeEvent * | ) |  [protected, virtual] | 
Member Data Documentation
| short int KDateInternalMonthPicker::activeCol  [protected] | 
| short int KDateInternalMonthPicker::activeRow  [protected] | 
Definition at line 79 of file kdatetbl.h.
| QRect KDateInternalMonthPicker::max  [protected] | 
| int KDateInternalMonthPicker::result  [protected] | 
The documentation for this class was generated from the following files:
 KDE 3.5 API Reference
    KDE 3.5 API Reference