comparison view/PaneStack.h @ 235:efadb9d2b2c6

* Experiment with sizing the property stacks and using a frame on the overview widget with an eye to making the default empty window look a bit nicer
author Chris Cannam
date Mon, 16 Apr 2007 12:20:27 +0000
parents 53835534a9d3
children 1a49bd0d8375
comparison
equal deleted inserted replaced
234:b4809e942e7d 235:efadb9d2b2c6
61 }; 61 };
62 62
63 LayoutStyle getLayoutStyle() const { return m_layoutStyle; } 63 LayoutStyle getLayoutStyle() const { return m_layoutStyle; }
64 void setLayoutStyle(LayoutStyle style); 64 void setLayoutStyle(LayoutStyle style);
65 65
66 void setPropertyStackMinWidth(int mw);
67
66 signals: 68 signals:
67 void currentPaneChanged(Pane *pane); 69 void currentPaneChanged(Pane *pane);
68 void currentLayerChanged(Pane *pane, Layer *layer); 70 void currentLayerChanged(Pane *pane, Layer *layer);
69 void rightButtonMenuRequested(Pane *pane, QPoint position); 71 void rightButtonMenuRequested(Pane *pane, QPoint position);
70 void propertyStacksResized(); 72 void propertyStacksResized();
95 97
96 QSplitter *m_splitter; 98 QSplitter *m_splitter;
97 QStackedWidget *m_propertyStackStack; 99 QStackedWidget *m_propertyStackStack;
98 100
99 ViewManager *m_viewManager; // I don't own this 101 ViewManager *m_viewManager; // I don't own this
102 int m_propertyStackMinWidth;
100 void sizePropertyStacks(); 103 void sizePropertyStacks();
101 104
102 LayoutStyle m_layoutStyle; 105 LayoutStyle m_layoutStyle;
103 }; 106 };
104 107