InspectorPanelDelegate.hpp
1 #pragma once
2 #include <score/plugins/panel/PanelDelegate.hpp>
3 class QSpacerItem;
4 namespace InspectorPanel
5 {
6 class SelectionStackWidget;
7 class InspectorPanelWidget;
8 
9 class PanelDelegate final : public score::PanelDelegate
10 {
11 public:
13 
14 private:
15  QWidget* widget() override;
16 
17  const score::PanelStatus& defaultPanelStatus() const override;
18 
19  void on_modelChanged(score::MaybeDocument oldm, score::MaybeDocument newm) override;
20  void setNewSelection(const Selection& s) override;
21 
22  QWidget* m_widget{};
23  InspectorPanelWidget* m_inspectorPanel{};
24 };
25 }
The InspectorPanel class manages the main panel.
Definition: InspectorPanel.hpp:35
Definition: InspectorPanelDelegate.hpp:10
Definition: Selection.hpp:12
The PanelDelegate class.
Definition: PanelDelegate.hpp:50
Definition: DocumentContext.hpp:18
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15
The PanelStatus struct.
Definition: PanelDelegate.hpp:24