InspectorWidgetList.hpp
1 #pragma once
2 #include <Inspector/InspectorWidgetFactoryInterface.hpp>
3 
4 #include <score/plugins/Interface.hpp>
5 #include <score/plugins/InterfaceList.hpp>
6 #include <score/tools/std/OwningVector.hpp>
7 #include <score/tools/std/Pointer.hpp>
8 
9 #include <vector>
11 class QWidget;
12 
13 namespace Inspector
14 {
15 class InspectorWidgetBase;
16 class SCORE_LIB_INSPECTOR_EXPORT InspectorWidgetList final
17  : public score::MatchingFactory<InspectorWidgetFactory>
18 {
19 public:
21  bool update(QWidget* cur, const QList<const IdentifiedObjectAbstract*>& models) const;
22  QList<QWidget*> make(
23  const score::DocumentContext& doc,
24  const QList<const IdentifiedObjectAbstract*>& models, QWidget* parent) const;
25 };
26 }
Base class for IdentifiedObject.
Definition: IdentifiedObjectAbstract.hpp:16
Definition: InspectorWidgetList.hpp:18
Utility class for making a factory interface list.
Definition: InterfaceList.hpp:153
Classes used for making and extending the inspector (default right panel).
Definition: lib/score/widgets/Layout.hpp:27
Definition: DocumentContext.hpp:18