|
| ||||||||||||||
A table containing month names. It is used to pick a month directly.
| int result | result |
[protected]
| short int activeCol | activeCol |
[protected]
| short int activeRow | activeRow |
[protected]
| QRect max | max |
[protected]
| void closeMe (int)
| closeMe |
[signal]
This is send from the mouse click event handler.
| KDateInternalMonthPicker (int fontsize, QWidget* parent, const char* name=0)
| KDateInternalMonthPicker |
The constructor.
| QSize sizeHint ()
| sizeHint |
[const]
The size hint.
| int getResult ()
| getResult |
[const]
Return the result. 0 means no selection (reject()), 1..12 are the months.
| void setupPainter (QPainter *p)
| setupPainter |
[protected]
Set up the painter.
| void viewportResizeEvent (QResizeEvent*)
| viewportResizeEvent |
[protected virtual]
The resize event.
| void paintCell (QPainter* painter, int row, int col)
| paintCell |
[protected virtual]
Paint a cell. This simply draws the month names in it.
| void contentsMousePressEvent (QMouseEvent *e)
| contentsMousePressEvent |
[protected virtual]
Catch mouse click and move events to paint a rectangle around the item.
| void contentsMouseMoveEvent (QMouseEvent *e)
| contentsMouseMoveEvent |
[protected virtual]
| void contentsMouseReleaseEvent (QMouseEvent *e)
| contentsMouseReleaseEvent |
[protected virtual]
Emit monthSelected(int) when a cell has been released.