16 #include "Base/Util/Assert.h"
18 #include <QAbstractScrollArea>
37 m_area->installEventFilter(
this);
60 if (event->type() == QEvent::Resize)
63 return QObject::eventFilter(obj, event);
Defines class OverlayLabelController.
QAbstractScrollArea * m_area
void setArea(QAbstractScrollArea *area)
bool eventFilter(QObject *obj, QEvent *event) override
void updateLabelGeometry()
void setText(const QString &text)
void setShown(bool shown)
Shows/removes a label from the controlled widget.
OverlayLabelController(QObject *parent=nullptr)
OverlayLabelWidget * m_label