#include <kdatetbl.h>
Public Slots | |
| void | close (int r) |
Public Methods | |
| KPopupFrame (QWidget *parent=0, const char *name=0) | |
| void | setMainWidget (QWidget *m) |
| virtual void | resizeEvent (QResizeEvent *) |
| void | popup (const QPoint &pos) |
| int | exec (QPoint p) |
| int | exec (int x, int y) |
Protected Methods | |
| virtual void | keyPressEvent (QKeyEvent *e) |
Protected Attributes | |
| int | result |
| QWidget * | main |
Definition at line 157 of file kdatetbl.h.
|
||||||||||||
|
The contructor. Creates a dialog without buttons. |
|
|
Close the popup window. This is called from the main widget, usually. |
|
||||||||||||
|
Dito. |
|
|
Execute the popup window. |
|
|
Catch key press events. |
|
|
Open the popup window at position pos. |
|
|
The resize event. Simply resizes the main widget to the whole widgets client size. |
|
|
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. |
|
|
The only subwidget that uses the whole dialog window. Definition at line 172 of file kdatetbl.h. |
|
|
The result. It is returned from exec() when the popup window closes. Definition at line 164 of file kdatetbl.h. |
1.2.18