Editors: Add to workspace in MainWindow class, not in themselves

This commit is contained in:
Lukas W
2014-12-08 19:22:52 +01:00
parent 7a21d699ea
commit f131fbd877
10 changed files with 48 additions and 44 deletions

View File

@@ -267,6 +267,8 @@ public:
AutomationEditor* m_editor;
QSize sizeHint() const;
signals:
void currentPatternChanged();

View File

@@ -43,6 +43,8 @@ public:
BBEditor( BBTrackContainer * _tc );
~BBEditor();
QSize sizeHint() const;
const BBTrackContainerView* trackContainerView() const {
return m_trackContainerView;
}

View File

@@ -379,6 +379,8 @@ public:
return "pianoroll";
}
QSize sizeHint() const;
signals:
void currentPatternChanged();

View File

@@ -137,6 +137,8 @@ class SongEditorWindow : public Editor
public:
SongEditorWindow(Song* song);
QSize sizeHint() const;
SongEditor* m_editor;
protected slots: