// For license of this file, see /LICENSE.md. #ifndef LABELWITHSTATUS_H #define LABELWITHSTATUS_H #include "gui/widgetwithstatus.h" #include class LabelWithStatus : public WidgetWithStatus { Q_OBJECT public: explicit LabelWithStatus(QWidget* parent = nullptr); void setStatus(StatusType status, const QString& label_text, const QString& status_text); // Access to label. QLabel* label() const; }; inline QLabel* LabelWithStatus::label() const { return static_cast(m_wdgInput); } #endif // LABELWITHSTATUS_H