3 #include <score/model/Identifier.hpp>
4 #include <score/widgets/MarginLess.hpp>
6 #include <core/document/Document.hpp>
8 #include <QActionGroup>
11 #include <QStackedWidget>
13 #include <QVBoxLayout>
15 #include <score_lib_base_export.h>
36 struct ApplicationContext;
40 class 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;
Definition: ConsolePanel.hpp:36
The id_base_t class.
Definition: Identifier.hpp:57
The DocumentView class shows a document.
Definition: DocumentView.hpp:19
The PanelDelegate class.
Definition: PanelDelegate.hpp:50
The Presenter class.
Definition: lib/core/presenter/Presenter.hpp:36
The main display of the application.
Definition: lib/core/view/Window.hpp:41
Base toolkit upon which the software is built.
Definition: Application.cpp:90