diff --git a/src/Gui/QSint/actionpanel/actiongroup.cpp b/src/Gui/QSint/actionpanel/actiongroup.cpp index 2a3ae49a50..a1007600ea 100644 --- a/src/Gui/QSint/actionpanel/actiongroup.cpp +++ b/src/Gui/QSint/actionpanel/actiongroup.cpp @@ -248,6 +248,11 @@ void ActionGroup::setHeaderText(const QString & headerText) myHeader->myTitle->setText(headerText); } +void ActionGroup::setHeaderIcon(const QPixmap& icon) +{ + myHeader->myTitle->setIcon(icon); +} + QSize ActionGroup::minimumSizeHint() const { diff --git a/src/Gui/QSint/actionpanel/actiongroup.h b/src/Gui/QSint/actionpanel/actiongroup.h index 479fe18477..41a29620d4 100644 --- a/src/Gui/QSint/actionpanel/actiongroup.h +++ b/src/Gui/QSint/actionpanel/actiongroup.h @@ -147,6 +147,7 @@ public Q_SLOTS: \sa headerText(). */ void setHeaderText(const QString & title); + void setHeaderIcon(const QPixmap& icon); protected Q_SLOTS: void processHide();