#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/microkde/kdatetbl.h>
Signals | |
| void | closeMe (int) |
Public Member Functions | |
| KDateInternalMonthPicker (int fontsize, QWidget *parent, const char *name=0) | |
| QSize | sizeHint () const |
| int | getResult () const |
Protected Member Functions | |
| void | setupPainter (QPainter *p) |
| void | viewportResizeEvent (QResizeEvent *) |
| virtual void | paintCell (QPainter *painter, int row, int col) |
| void | contentsMousePressEvent (QMouseEvent *e) |
| void | contentsMouseMoveEvent (QMouseEvent *e) |
| void | contentsMouseReleaseEvent (QMouseEvent *e) |
Protected Attributes | |
| int | result |
| short int | activeCol |
| short int | activeRow |
| QRect | max |
Private Attributes | |
| KDateInternalMonthPrivate * | d |
For internal use only.
Definition at line 34 of file kdatetbl.h.
|
||||||||||||||||
|
The constructor. Definition at line 404 of file kdatetbl.cpp. References fontsize, KGlobalSettings::generalFont(), i, KGlobal::locale(), and max. |
|
|
This is send from the mouse click event handler. Referenced by contentsMouseReleaseEvent(). |
|
|
Definition at line 505 of file kdatetbl.cpp. |
|
|
Catch mouse click and move events to paint a rectangle around the item. Definition at line 478 of file kdatetbl.cpp. References activeCol, activeRow, KNotifyClient::beep(), col, and row. |
|
|
Emit monthSelected(int) when a cell has been released. Definition at line 545 of file kdatetbl.cpp. |
|
|
Return the result. 0 means no selection (reject()), 1..12 are the months. Definition at line 446 of file kdatetbl.cpp. References result. |
|
||||||||||||||||
|
Paint a cell. This simply draws the month names in it. Definition at line 465 of file kdatetbl.cpp. References activeCol, activeRow, KGlobal::locale(), and text. |
|
|
Set up the painter. Definition at line 452 of file kdatetbl.cpp. |
|
|
The size hint. Definition at line 439 of file kdatetbl.cpp. References max. Referenced by KDatePicker::selectMonthClicked(). |
|
|
The resize event. Definition at line 458 of file kdatetbl.cpp. |
|
|
the cell under mouse cursor when LBM is pressed Definition at line 45 of file kdatetbl.h. Referenced by contentsMouseMoveEvent(), contentsMousePressEvent(), and paintCell(). |
|
|
Definition at line 46 of file kdatetbl.h. Referenced by contentsMouseMoveEvent(), contentsMousePressEvent(), and paintCell(). |
|
|
Definition at line 94 of file kdatetbl.h. |
|
|
Contains the largest rectangle needed by the month names. Definition at line 50 of file kdatetbl.h. Referenced by sizeHint(). |
|
|
Store the month that has been clicked [1..12]. Definition at line 36 of file kdatetbl.h. Referenced by contentsMouseReleaseEvent(), and getResult(). |
1.4.2