class KPopupFrame
|
Frame with popup menu behaviour. More... |
|
|
Public Methods
Public Slots
Protected Methods
Protected Members
Frame with popup menu behaviour.
[protected]
void keyPressEvent (QKeyEvent* e)
| keyPressEvent |
[protected]
[protected]
[slot]
Close the popup window. This is called from the main widget, usually.
r is the result returned from exec().
KPopupFrame (QWidget* parent=0, const char* name=0)
| KPopupFrame |
void setMainWidget (QWidget* m)
| setMainWidget |
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 resize event. Simply resizes the main widget to the whole
widgets client size.
Reimplemented from QFrame.
void popup (const QPoint &pos)
| popup |
int exec (int x, int y)
| exec |
- Version: $Id: KPopupFrame.html 132191 2002-01-17 21:32:13Z dfaure $
- Author: Tim Gilman, Mirko Boehm
- Generated: dfaure on kde.faure.org on Thu Jan 17 22:16:05 2002, using kdoc 2.0a53.