When we hide the action, also hide its toolbutton.

Originally-By: kh1
This commit is contained in:
ck
2009-10-16 15:50:52 +02:00
parent 0d3709c350
commit 5f33e08e2a
2 changed files with 15 additions and 0 deletions

View File

@@ -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;
};