diff view/PaneStack.h @ 712:833cd1b8014f tonioni

Make it possible to globally hide pane accessories (close button & current-indicator)
author Chris Cannam
date Fri, 10 Jan 2014 09:04:06 +0000
parents a7a89ebe4b02
children 67b167bb60ab
line wrap: on
line diff
--- a/view/PaneStack.h	Thu Jan 09 16:41:55 2014 +0000
+++ b/view/PaneStack.h	Fri Jan 10 09:04:06 2014 +0000
@@ -68,6 +68,8 @@
     void setLayoutStyle(LayoutStyle style);
 
     void setPropertyStackMinWidth(int mw);
+    
+    void setShowPaneAccessories(bool show); // current indicator, close button
 
     void sizePanesEqually();
 
@@ -119,6 +121,8 @@
     std::vector<PaneRec> m_panes;
     std::vector<PaneRec> m_hiddenPanes;
 
+    bool m_showAccessories;
+
     QSplitter *m_splitter;
     QStackedWidget *m_propertyStackStack;