Loading...
Searching...
No Matches
InspectorPanel.hpp
1#pragma once
2
3#include <Inspector/InspectorWidgetBase.hpp>
4
5#include <score/selection/Selection.hpp>
6#include <score/selection/SelectionDispatcher.hpp>
7
8#include <QWidget>
9
10#include <verdigris>
11
13namespace Inspector
14{
15class InspectorWidgetList;
16}
17
18class QTabWidget;
19class QVBoxLayout;
20namespace score
21{
22class SelectionStack;
23} // namespace score
24
25namespace InspectorPanel
26{
33// TODO rename file
34class InspectorPanelWidget final : public QObject
35{
36 W_OBJECT(InspectorPanelWidget)
37
38public:
39 explicit InspectorPanelWidget(
41 QVBoxLayout* lay, QWidget* parent, QObject* parentObj);
42
43public:
50 void newItemsInspected(const Selection&);
51 W_SLOT(newItemsInspected);
52
53private:
54 QWidget* m_parent{};
55 QVBoxLayout* m_layout{};
56
57 QWidget* m_currentInspector{};
58
60 score::SelectionDispatcher m_selectionDispatcher;
61};
62}
Base class for IdentifiedObject.
Definition IdentifiedObjectAbstract.hpp:16
Definition InspectorWidgetList.hpp:18
The InspectorPanel class manages the main panel.
Definition InspectorPanel.hpp:35
void newItemsInspected(const Selection &)
newItemInspected load the view for the selected object
Definition InspectorPanel.cpp:36
Definition Selection.hpp:12
The SelectionDispatcher class.
Definition SelectionDispatcher.hpp:15
The SelectionStack class.
Definition SelectionStack.hpp:24
Classes used for making and extending the inspector (default right panel).
Definition lib/score/widgets/Layout.hpp:27
Base toolkit upon which the software is built.
Definition Application.cpp:90