Editors: Add to workspace in MainWindow class, not in themselves
This commit is contained in:
@@ -267,6 +267,8 @@ public:
|
||||
|
||||
AutomationEditor* m_editor;
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
signals:
|
||||
void currentPatternChanged();
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ public:
|
||||
BBEditor( BBTrackContainer * _tc );
|
||||
~BBEditor();
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
const BBTrackContainerView* trackContainerView() const {
|
||||
return m_trackContainerView;
|
||||
}
|
||||
|
||||
@@ -379,6 +379,8 @@ public:
|
||||
return "pianoroll";
|
||||
}
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
signals:
|
||||
void currentPatternChanged();
|
||||
|
||||
|
||||
@@ -137,6 +137,8 @@ class SongEditorWindow : public Editor
|
||||
public:
|
||||
SongEditorWindow(Song* song);
|
||||
|
||||
QSize sizeHint() const;
|
||||
|
||||
SongEditor* m_editor;
|
||||
|
||||
protected slots:
|
||||
|
||||
Reference in New Issue
Block a user