QmlJSEditor: extending IContextPane with a signal

closed() is emitted when the pane is hidden/closed.
This commit is contained in:
Thomas Hartmann
2010-08-13 13:56:23 +02:00
parent bc28e5d993
commit 2c160a9b2a
4 changed files with 5 additions and 0 deletions

View File

@@ -367,6 +367,7 @@ ContextPaneWidget* QuickToolBar::contextWidget()
connect(m_widget.data(), SIGNAL(removeAndChangeProperty(QString,QString,QVariant, bool)), this, SLOT(onPropertyRemovedAndChange(QString,QString,QVariant, bool)));
connect(m_widget.data(), SIGNAL(enabledChanged(bool)), this, SLOT(onEnabledChanged(bool)));
connect(m_widget.data(), SIGNAL(pinnedChanged(bool)), this, SLOT(onPinnedChanged(bool)));
connect(m_widget.data(), SIGNAL(closed()), this, SIGNAL(closed()));
}
return m_widget.data();
}