DeviceExplorerPanelDelegate.hpp
1 #pragma once
2 #include <score/plugins/panel/PanelDelegate.hpp>
3 
4 #include <score_plugin_deviceexplorer_export.h>
5 
6 namespace Explorer
7 {
8 class DeviceExplorerWidget;
9 class SCORE_PLUGIN_DEVICEEXPLORER_EXPORT PanelDelegate final
10  : public score::PanelDelegate
11 {
12 public:
14 
15  QWidget* widget() override;
16 
17 private:
18  const score::PanelStatus& defaultPanelStatus() const override;
19 
20  void on_modelChanged(score::MaybeDocument oldm, score::MaybeDocument newm) override;
21 
22  DeviceExplorerWidget* m_widget{};
23 };
24 }
Definition: DeviceExplorerWidget.hpp:44
Definition: DeviceExplorerPanelDelegate.hpp:11
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