![]() |
digiKam Developer Documentation
Professional Photo Management with the Power of Open Source
|
This is a widget that can align itself with another one, without using a layout, so that it can actually be on top of other widgets. More...
Public Member Functions | |
OverlayWidget (QWidget *const alignWidget, QWidget *const parent, const QString &name=QString()) | |
QWidget * | alignWidget () const |
void | setAlignWidget (QWidget *const alignWidget) |
![]() | |
DHBox (QWidget *const parent=nullptr) | |
QSize | minimumSizeHint () const override |
void | setContentsMargins (const QMargins &margins) |
void | setContentsMargins (int left, int top, int right, int bottom) |
void | setSpacing (int space) |
void | setStretchFactor (QWidget *const widget, int stretch) |
QSize | sizeHint () const override |
Protected Member Functions | |
bool | eventFilter (QObject *o, QEvent *e) override |
void | resizeEvent (QResizeEvent *ev) override |
![]() | |
DHBox (bool vertical, QWidget *const parent) | |
void | childEvent (QChildEvent *e) override |
Currently the only supported type of alignment is "right aligned, on top of the other widget".
OverlayWidget inherits DHBox for convenience purposes (layout, and frame)