TimeSyncInspectorWidget.hpp
1 #pragma once
2 
3 #include <Process/TimeValue.hpp>
4 
5 #include <Inspector/InspectorWidgetBase.hpp>
6 
7 #include <score/widgets/MarginLess.hpp>
8 
9 #include <QHBoxLayout>
10 
11 #include <vector>
12 
13 namespace Inspector
14 {
15 class InspectorSectionWidget;
16 }
17 class QCheckBox;
18 class QLabel;
19 class QToolButton;
20 namespace Scenario
21 {
22 class MetadataWidget;
23 class TriggerInspectorWidget;
24 class EventModel;
25 class TimeSyncModel;
32 {
33 public:
34  explicit TimeSyncInspectorWidget(
35  const TimeSyncModel& object, const score::DocumentContext& context,
36  QWidget* parent);
37 
38 private:
39  void updateDisplayedValues();
40  void on_dateChanged(const TimeVal&);
41 
42  const TimeSyncModel& m_model;
43 
44  MetadataWidget* m_metadata{};
45  QLabel* m_date{};
46  QToolButton* m_autotrigger{};
47  QToolButton* m_isStart{};
48  TriggerInspectorWidget* m_trigwidg{};
50 };
51 }
The InspectorWidgetBase class Set the global structuration for an inspected element.
Definition: InspectorWidgetBase.hpp:37
Definition: MetadataWidget.hpp:47
The TimeSyncInspectorWidget class Inherits from InspectorWidgetInterface.
Definition: TimeSyncInspectorWidget.hpp:32
Definition: TimeSyncModel.hpp:34
Definition: TriggerInspectorWidget.hpp:29
Classes used for making and extending the inspector (default right panel).
Definition: lib/score/widgets/Layout.hpp:27
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: TimeValue.hpp:21
Definition: DocumentContext.hpp:18