comparison view/PaneStack.h @ 771:a964151832a7

Merge from branch tony_integration
author Chris Cannam
date Wed, 14 May 2014 09:54:34 +0100
parents 67b167bb60ab
children 4c8ca536b54f
comparison
equal deleted inserted replaced
768:8b614632568c 771:a964151832a7
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);
88 90
89 void dropAccepted(Pane *pane, QStringList uriList); 91 void dropAccepted(Pane *pane, QStringList uriList);
90 void dropAccepted(Pane *pane, QString text); 92 void dropAccepted(Pane *pane, QString text);
91 93
92 void paneDeleteButtonClicked(Pane *pane); 94 void paneDeleteButtonClicked(Pane *pane);
95
96 void doubleClickSelectInvoked(size_t frame);
93 97
94 public slots: 98 public slots:
95 void propertyContainerAdded(PropertyContainer *); 99 void propertyContainerAdded(PropertyContainer *);
96 void propertyContainerRemoved(PropertyContainer *); 100 void propertyContainerRemoved(PropertyContainer *);
97 void propertyContainerSelected(View *client, PropertyContainer *); 101 void propertyContainerSelected(View *client, PropertyContainer *);
117 }; 121 };
118 122
119 std::vector<PaneRec> m_panes; 123 std::vector<PaneRec> m_panes;
120 std::vector<PaneRec> m_hiddenPanes; 124 std::vector<PaneRec> m_hiddenPanes;
121 125
126 bool m_showAccessories;
127
122 QSplitter *m_splitter; 128 QSplitter *m_splitter;
123 QStackedWidget *m_propertyStackStack; 129 QStackedWidget *m_propertyStackStack;
124 130
125 ViewManager *m_viewManager; // I don't own this 131 ViewManager *m_viewManager; // I don't own this
126 int m_propertyStackMinWidth; 132 int m_propertyStackMinWidth;