40class SCORE_LIB_BASE_EXPORT
View final :
public QMainWindow
44 explicit View(QObject* parent);
54 void closeEvent(QCloseEvent*)
override;
55 void allPanelsAdded();
57 void addTopToolbar(QToolBar* b);
61 E_SIGNAL(SCORE_LIB_BASE_EXPORT, activeDocumentChanged, arg_1)
63 E_SIGNAL(SCORE_LIB_BASE_EXPORT, closeRequested, arg_1)
65 void ready() E_SIGNAL(SCORE_LIB_BASE_EXPORT, ready)
66 void sizeChanged(QSize arg_1) E_SIGNAL(SCORE_LIB_BASE_EXPORT, sizeChanged, arg_1)
69 void on_fileNameChanged(
DocumentView* d,
const QString& newName);
70 W_SLOT(on_fileNameChanged);
72 QWidget* centralDocumentWidget{};
73 QSplitter* rightSplitter{};
74 QWidget* topleftToolbar{};
78 QTabWidget* centralTabs{};
79 QWidget* transportBar{};
82 bool event(QEvent* event)
override;
83 void changeEvent(QEvent*)
override;
84 void resizeEvent(QResizeEvent*)
override;
86 ossia::hash_map<QWidget*, DocumentView*> m_documents;
87 std::vector<QPair<PanelDelegate*, QWidget*>> m_leftPanels;
88 std::vector<QPair<PanelDelegate*, QWidget*>> m_rightPanels;