48 const QPoint OrigPoint_;
50 const std::function<void (QPoint)> Mover_;
90 void Refit (
const QSize&);
Automatically moves a widget to fit a rectangle on resize.
std::function< QRect()> RectGetter_f
A function type used to get the rect to fit widget in.
bool eventFilter(QObject *, QEvent *) override
Listens for resize events and refits the widget.