5#include <Kanoop/gui/libkanoopgui.h>
33 explicit ButtonLabel(
const QString& text, QWidget *parent =
nullptr);
39 QString
text()
const {
return _text; }
52 void setIcon(
const QIcon& activeIcon,
const QIcon& inactiveIcon = QIcon());
86 void makeStyleSheet();
89 QHBoxLayout* _layout =
nullptr;
90 QLabel* _label =
nullptr;
91 QToolButton* _button =
nullptr;
95 Qt::Alignment _buttonAlignment = Qt::AlignRight;
97 QColor _backgroundColor;
98 QColor _foregroundColor;
107 void onButtonClicked();