![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
Inheritance diagram for Digikam::DPopupFrame:Public Slots | |
| void | close (int r) |
| Close the popup window. | |
Signals | |
| void | leaveModality () |
Public Member Functions | |
| DPopupFrame (QWidget *const parent=nullptr) | |
| The constructor. | |
| ~DPopupFrame () override | |
| The destructor. | |
| int | exec (const QPoint &p) |
| Execute the popup window. | |
| int | exec (int x, int y) |
| Execute the popup window. | |
| void | popup (const QPoint &p) |
| Open the popup window at position pos. | |
| void | resizeEvent (QResizeEvent *e) override |
| The resize event. | |
| void | setMainWidget (QWidget *const m) |
| Set the main widget. | |
Protected Member Functions | |
| void | hideEvent (QHideEvent *e) override |
| Catch hide events. | |
| void | keyPressEvent (QKeyEvent *e) override |
| Catch key press events. | |
Friends | |
| class | Private |
|
explicit |
Creates a dialog without buttons.
|
slot |
This is called from the main widget, usually. r is the result returned from exec().
|
override |
Simply resizes the main widget to the whole widgets client size.
| void Digikam::DPopupFrame::setMainWidget | ( | QWidget *const | m | ) |
You cannot set the main widget from the constructor, since it must be a child of the frame itselfes.