LibraryPanelDelegate.hpp
1 #pragma once
2 #include <score/plugins/panel/PanelDelegate.hpp>
3 
4 #include <score_plugin_library_export.h>
5 class QTabWidget;
6 namespace Library
7 {
8 class ProjectLibraryWidget;
9 class SystemLibraryWidget;
10 class ProcessWidget;
11 class FileSystemModel;
12 class UserPanel final : public score::PanelDelegate
13 {
14 public:
16 
17 private:
18  QWidget* widget() override;
19  const score::PanelStatus& defaultPanelStatus() const override;
20 
21  QWidget* m_widget{};
22 };
23 
24 class ProjectPanel final : public score::PanelDelegate
25 {
26 public:
28 
29 private:
30  QWidget* widget() override;
31  const score::PanelStatus& defaultPanelStatus() const override;
32  void on_modelChanged(score::MaybeDocument oldm, score::MaybeDocument newm) override;
33 
34  ProjectLibraryWidget* m_widget{};
35 };
36 
37 class SCORE_PLUGIN_LIBRARY_EXPORT ProcessPanel final : public score::PanelDelegate
38 {
39 public:
41  ProcessWidget& processWidget() const noexcept;
42 
43 private:
44  QWidget* widget() override;
45  const score::PanelStatus& defaultPanelStatus() const override;
46 
47  QWidget* m_widget{};
48 };
49 }
Definition: LibraryPanelDelegate.hpp:38
Definition: ProcessWidget.hpp:50
Definition: ProjectLibraryWidget.hpp:17
Definition: LibraryPanelDelegate.hpp:25
Definition: LibraryPanelDelegate.hpp:13
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