#include <kdatetbl.h>
Signals | |
| void | closeMe (int) |
Public Methods | |
| KDateInternalMonthPicker (int fontsize, QWidget *parent, const char *name=0) | |
| QSize | sizeHint () const |
| int | getResult () const |
Protected Methods | |
| void | setupPainter (QPainter *p) |
| virtual void | viewportResizeEvent (QResizeEvent *) |
| virtual void | paintCell (QPainter *painter, int row, int col) |
| virtual void | contentsMousePressEvent (QMouseEvent *e) |
| virtual void | contentsMouseReleaseEvent (QMouseEvent *e) |
Protected Attributes | |
| int | result |
| short int | activeCol |
| QRect | max |
Definition at line 61 of file kdatetbl.h.
|
||||||||||||||||
|
The constructor. |
|
|
This is send from the mouse click event handler. |
|
|
Catch mouse click and move events to paint a rectangle around the item. |
|
|
Emit monthSelected(int) when a cell has been released. |
|
|
Return the result. 0 means no selection (reject()), 1..12 are the months. |
|
||||||||||||||||
|
Paint a cell. This simply draws the month names in it. |
|
|
Set up the painter. |
|
|
The size hint. |
|
|
The resize event. |
|
|
the cell under mouse cursor when LBM is pressed Definition at line 72 of file kdatetbl.h. |
|
|
Contains the largest rectangle needed by the month names. Definition at line 77 of file kdatetbl.h. |
|
|
Store the month that has been clicked [1..12]. Definition at line 68 of file kdatetbl.h. |
1.2.18