class KPopupFrame |
|
Frame with popup menu behavior. Author Tim Gilman, Mirko Boehm |
|
The contructor. Creates a dialog without buttons. |
|
|
Close the popup window. This is called from the main widget, usually. r is the result returned from exec(). |
|
Execute the popup window. |
|
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. |