15 #ifndef BORNAGAIN_GUI_VIEW_INFO_OVERLAYLABELCONTROLLER_H
16 #define BORNAGAIN_GUI_VIEW_INFO_OVERLAYLABELCONTROLLER_H
22 class QAbstractScrollArea;
32 void setText(
const QString& text);
34 void setArea(QAbstractScrollArea* area);
39 bool eventFilter(QObject* obj, QEvent* event)
override;
The OverlayLabelController class controlls appearance of InfoLabelWidget (position,...
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