Add setHeaderIcon to actiongroup.h
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -147,6 +147,7 @@ public Q_SLOTS:
|
||||
\sa headerText().
|
||||
*/
|
||||
void setHeaderText(const QString & title);
|
||||
void setHeaderIcon(const QPixmap& icon);
|
||||
|
||||
protected Q_SLOTS:
|
||||
void processHide();
|
||||
|
||||
Reference in New Issue
Block a user