KDEUI
#include <kdatetable.h>
Public Slots | |
void | close (int r) |
Signals | |
void | leaveModality () |
Public Member Functions | |
KPopupFrame (QWidget *parent=0) | |
~KPopupFrame () | |
int | exec (const QPoint &p) |
int | exec (int x, int y) |
void | popup (const QPoint &pos) |
virtual void | resizeEvent (QResizeEvent *resize) |
void | setMainWidget (QWidget *m) |
Protected Member Functions | |
virtual void | keyPressEvent (QKeyEvent *e) |
Detailed Description
Frame with popup menu behavior.
Definition at line 41 of file kdatetable.h.
Constructor & Destructor Documentation
KPopupFrame::KPopupFrame | ( | QWidget * | parent = 0 | ) |
KPopupFrame::~KPopupFrame | ( | ) |
The destructor.
Definition at line 876 of file kdatetable.cpp.
Member Function Documentation
|
slot |
Close the popup window.
This is called from the main widget, usually. r
is the result returned from exec().
Definition at line 890 of file kdatetable.cpp.
int KPopupFrame::exec | ( | const QPoint & | p | ) |
Execute the popup window.
Definition at line 943 of file kdatetable.cpp.
int KPopupFrame::exec | ( | int | x, |
int | y | ||
) |
Execute the popup window.
Definition at line 957 of file kdatetable.cpp.
|
protectedvirtual |
Catch key press events.
Definition at line 881 of file kdatetable.cpp.
|
signal |
void KPopupFrame::popup | ( | const QPoint & | pos | ) |
Open the popup window at position pos.
Definition at line 915 of file kdatetable.cpp.
|
virtual |
The resize event.
Simply resizes the main widget to the whole widgets client size.
Definition at line 905 of file kdatetable.cpp.
void KPopupFrame::setMainWidget | ( | QWidget * | m | ) |
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 897 of file kdatetable.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.