Mercurial > hg > svapp
diff framework/MainWindowBase.cpp @ 743:7b1d30af4b38
Add slots for property stack tab-bar context menus
author | Chris Cannam |
---|---|
date | Wed, 25 Mar 2020 12:09:13 +0000 |
parents | 4b58b8f44be7 |
children | 771ec060c1d2 |
line wrap: on
line diff
--- a/framework/MainWindowBase.cpp Tue Mar 24 13:39:05 2020 +0000 +++ b/framework/MainWindowBase.cpp Wed Mar 25 12:09:13 2020 +0000 @@ -240,8 +240,12 @@ this, SLOT(currentPaneChanged(Pane *))); connect(m_paneStack, SIGNAL(currentLayerChanged(Pane *, Layer *)), this, SLOT(currentLayerChanged(Pane *, Layer *))); - connect(m_paneStack, SIGNAL(rightButtonMenuRequested(Pane *, QPoint)), - this, SLOT(rightButtonMenuRequested(Pane *, QPoint))); + connect(m_paneStack, SIGNAL(paneRightButtonMenuRequested(Pane *, QPoint)), + this, SLOT(paneRightButtonMenuRequested(Pane *, QPoint))); + connect(m_paneStack, SIGNAL(panePropertiesRightButtonMenuRequested(Pane *, QPoint)), + this, SLOT(panePropertiesRightButtonMenuRequested(Pane *, QPoint))); + connect(m_paneStack, SIGNAL(layerPropertiesRightButtonMenuRequested(Pane *, Layer *, QPoint)), + this, SLOT(layerPropertiesRightButtonMenuRequested(Pane *, Layer *, QPoint))); connect(m_paneStack, SIGNAL(contextHelpChanged(const QString &)), this, SLOT(contextHelpChanged(const QString &))); connect(m_paneStack, SIGNAL(paneAdded(Pane *)),