forked from qt-creator/qt-creator
When we hide the action, also hide its toolbutton.
Originally-By: kh1
This commit is contained in:
@@ -43,6 +43,8 @@ namespace Internal {
|
||||
|
||||
class FancyToolButton : public QToolButton
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
FancyToolButton(QWidget *parent = 0);
|
||||
|
||||
@@ -50,6 +52,9 @@ public:
|
||||
QSize sizeHint() const;
|
||||
QSize minimumSizeHint() const;
|
||||
|
||||
private slots:
|
||||
void actionChanged();
|
||||
|
||||
private:
|
||||
const QMap<QString, QPicture> &m_buttonElements;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user