28 #ifndef OVERLAYSTACKLAYOUT_H 29 #define OVERLAYSTACKLAYOUT_H 31 #include <QStackedLayout> 158 void doLayout()
const;
176 #endif // OVERLAYSTACKLAYOUT_H int addWidget(QWidget *widget, Qt::Alignment alignment)
Add widget to the stack with specified alignment.
void setSenderAlignment(Qt::Alignment align)
Convenience slot to set the layout alignment on a signal from a QWidget::sender().
void setOffset(QWidget *widget, const QPoint &offset) const
Set the layout position offset coordinates for given widget.
void setStackingMode(StackingMode mode)
Re-implemented (shadowing) QStackedLayout::setStackingMode() to ensure proper child visibility.
void setSenderOffset(const QPoint &offset) const
Convenience slot to set the layout position offset on a signal from a QWidget::sender().
int insertWidget(int index, QWidget *widget, Qt::Alignment alignment)
Insert widget into the stack at index position with specified alignment.
void setGeometry(const QRect &geo) override
The OverlayStackLayout re-implements a QStackedLayout with additional features to allow stacks with "...
Qt::Alignment alignment() const const
OverlayStackLayout(QWidget *parent=nullptr)
Constructs a new OverlayStackLayout with the optional parent widget.
QObject * parent() const const
virtual int count() const const override