|
| ||||||||||||||
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 |
Return the result. 0 means no selection (reject()), 1..12 are the months.
| void setupPainter (QPainter *p)
| setupPainter |
[protected: ]
Set up the painter.
Reimplemented from QTableView.
| void resizeEvent (QResizeEvent*)
| resizeEvent |
[protected: ]
The resize event.
Reimplemented from QTableView.
| void paintCell (QPainter* painter, int row, int col)
| paintCell |
[protected: ]
Paint a cell. This simply draws the month names in it.
Reimplemented from QTableView.
| void mousePressEvent (QMouseEvent *e)
| mousePressEvent |
[protected: ]
Catch mouse click and move events to paint a rectangle around the item.
| void mouseMoveEvent (QMouseEvent *e)
| mouseMoveEvent |
[protected: ]
| void mouseReleaseEvent (QMouseEvent *e)
| mouseReleaseEvent |
[protected: ]
Emit monthSelected(int) when a cell has been released.