#include </home/clem/local/src/opie/noncore/apps/tinykate/libkate/microkde/kdatetbl.h>
Public Slots | |
| void | close (int r) |
Public Member Functions | |
| KPopupFrame (QWidget *parent=0, const char *name=0) | |
| void | setMainWidget (QWidget *m) |
| void | resizeEvent (QResizeEvent *) |
| void | popup (const QPoint &pos) |
| int | exec (QPoint p) |
| int | exec (int x, int y) |
Protected Member Functions | |
| void | keyPressEvent (QKeyEvent *e) |
| virtual void | virtual_hook (int id, void *data) |
Protected Attributes | |
| int | result |
| QWidget * | main |
Private Member Functions | |
| virtual bool | close (bool alsoDelete) |
Private Attributes | |
| KPopupFramePrivate * | d |
Definition at line 130 of file kdatetbl.h.
|
||||||||||||
|
The contructor. Creates a dialog without buttons. Definition at line 627 of file kdatetbl.cpp. |
|
|
Definition at line 185 of file kdatetbl.h. |
|
|
Close the popup window. This is called from the main widget, usually. Definition at line 647 of file kdatetbl.cpp. |
|
||||||||||||
|
Dito. Definition at line 707 of file kdatetbl.cpp. References exec(). |
|
|
Execute the popup window. Definition at line 697 of file kdatetbl.cpp. References popup(), qApp, and result. Referenced by exec(), KDatePicker::selectMonthClicked(), and KDatePicker::selectYearClicked(). |
|
|
Catch key press events. Definition at line 637 of file kdatetbl.cpp. |
|
|
Open the popup window at position pos. Definition at line 674 of file kdatetbl.cpp. References d, height, width, Opie::MM::x, and Opie::MM::y. Referenced by exec(). |
|
|
The resize event. Simply resizes the main widget to the whole widgets client size. Definition at line 664 of file kdatetbl.cpp. |
|
|
Set the main widget. You cannot set the main widget from the constructor, since it must be a child of the frame itselfes. Be careful: the size is set to the main widgets size. It is up to you to set the main widgets correct size before setting it as the main widget. Definition at line 654 of file kdatetbl.cpp. References main. Referenced by KDatePicker::selectMonthClicked(), and KDatePicker::selectYearClicked(). |
|
||||||||||||
|
Definition at line 712 of file kdatetbl.cpp. |
|
|
Definition at line 189 of file kdatetbl.h. Referenced by popup(). |
|
|
The only subwidget that uses the whole dialog window. Definition at line 145 of file kdatetbl.h. Referenced by resizeEvent(), and setMainWidget(). |
|
|
The result. It is returned from exec() when the popup window closes. Definition at line 132 of file kdatetbl.h. Referenced by close(), exec(), and keyPressEvent(). |
1.4.2