Loading...
Searching...
No Matches
AutomationInspectorWidget.hpp
1#pragma once
2#include <Process/Inspector/ProcessInspectorWidgetDelegate.hpp>
3
4#include <Automation/AutomationModel.hpp>
5
6#include <score/command/Dispatchers/CommandDispatcher.hpp>
7
8#include <Color/GradientModel.hpp>
9
10class QLabel;
11class QWidget;
12class QCheckBox;
13
14namespace score
15{
16struct DocumentContext;
17}
18namespace State
19{
20struct Address;
21class UnitWidget;
22}
23namespace Device
24{
25struct FullAddressAccessorSettings;
26}
27namespace Process
28{
29class AddressAccessorEditWidget;
30}
31namespace Explorer
32{
33class DeviceExplorerModel;
34}
35class QDoubleSpinBox;
36
37namespace Automation
38{
39class ProcessModel;
40class InspectorWidget final
41 : public Process::InspectorWidgetDelegate_T<Automation::ProcessModel>
42{
43public:
44 explicit InspectorWidget(
45 const ProcessModel& object, const score::DocumentContext& context,
46 QWidget* parent);
47
48private:
49 void on_addressChange(const Device::FullAddressAccessorSettings& newText);
50 void on_minValueChanged();
51 void on_maxValueChanged();
52 void on_tweenChanged();
53
55 QCheckBox* m_tween{};
56 QDoubleSpinBox *m_minsb{}, *m_maxsb{};
57
58 CommandDispatcher<> m_dispatcher;
59};
60}
61
62namespace Gradient
63{
64class ProcessModel;
65class InspectorWidget final
66 : public Process::InspectorWidgetDelegate_T<Gradient::ProcessModel>
67{
68public:
69 explicit InspectorWidget(
70 const ProcessModel& object, const score::DocumentContext& context,
71 QWidget* parent);
72
73private:
74 void on_tweenChanged();
75
76 QCheckBox* m_tween{};
77
78 CommandDispatcher<> m_dispatcher;
79};
80}
Definition AutomationInspectorWidget.hpp:42
Definition AutomationModel.hpp:36
The CommandDispatcher class.
Definition CommandDispatcher.hpp:13
Definition AddressAccessorEditWidget.hpp:28
Definition ProcessInspectorWidgetDelegate.hpp:13
Namespace related to the Automation process.
Definition AutomationColors.cpp:8
Manipulation of Devices from Qt.
Definition AddressSettings.cpp:14
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1324
Utilities for OSSIA data structures.
Definition DeviceInterface.hpp:33
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition AddressSettings.hpp:131
Definition DocumentContext.hpp:18