Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
711:084fd76deb89 | 712:833cd1b8014f |
---|---|
66 | 66 |
67 LayoutStyle getLayoutStyle() const { return m_layoutStyle; } | 67 LayoutStyle getLayoutStyle() const { return m_layoutStyle; } |
68 void setLayoutStyle(LayoutStyle style); | 68 void setLayoutStyle(LayoutStyle style); |
69 | 69 |
70 void setPropertyStackMinWidth(int mw); | 70 void setPropertyStackMinWidth(int mw); |
71 | |
72 void setShowPaneAccessories(bool show); // current indicator, close button | |
71 | 73 |
72 void sizePanesEqually(); | 74 void sizePanesEqually(); |
73 | 75 |
74 signals: | 76 signals: |
75 void currentPaneChanged(Pane *pane); | 77 void currentPaneChanged(Pane *pane); |
117 }; | 119 }; |
118 | 120 |
119 std::vector<PaneRec> m_panes; | 121 std::vector<PaneRec> m_panes; |
120 std::vector<PaneRec> m_hiddenPanes; | 122 std::vector<PaneRec> m_hiddenPanes; |
121 | 123 |
124 bool m_showAccessories; | |
125 | |
122 QSplitter *m_splitter; | 126 QSplitter *m_splitter; |
123 QStackedWidget *m_propertyStackStack; | 127 QStackedWidget *m_propertyStackStack; |
124 | 128 |
125 ViewManager *m_viewManager; // I don't own this | 129 ViewManager *m_viewManager; // I don't own this |
126 int m_propertyStackMinWidth; | 130 int m_propertyStackMinWidth; |