diff view/PaneStack.h @ 1582:01a41a37bd26

Add a tab-bar context menu signal to the property stack
author Chris Cannam
date Wed, 25 Mar 2020 12:08:34 +0000
parents 0f1601d870db
children d6976d231efb
line wrap: on
line diff
--- a/view/PaneStack.h	Fri Jan 24 15:11:08 2020 +0000
+++ b/view/PaneStack.h	Wed Mar 25 12:08:34 2020 +0000
@@ -92,7 +92,9 @@
 signals:
     void currentPaneChanged(Pane *pane);
     void currentLayerChanged(Pane *pane, Layer *layer);
-    void rightButtonMenuRequested(Pane *pane, QPoint position);
+    void paneRightButtonMenuRequested(Pane *pane, QPoint position);
+    void panePropertiesRightButtonMenuRequested(Pane *, QPoint);
+    void layerPropertiesRightButtonMenuRequested(Pane *, Layer *, QPoint);
     void propertyStacksResized(int width);
     void propertyStacksResized();
     void contextHelpChanged(const QString &);
@@ -115,6 +117,8 @@
     void propertyContainerAdded(PropertyContainer *);
     void propertyContainerRemoved(PropertyContainer *);
     void propertyContainerSelected(View *client, PropertyContainer *);
+    void propertyContainerContextMenuRequested(View *, PropertyContainer *,
+                                               QPoint);
     void viewSelected(View *v);
     void paneInteractedWith();
     void rightButtonMenuRequested(QPoint);