@@ -35,9 +35,6 public: | |||||
35 | */ |
|
35 | */ | |
36 | VisualizationZoneWidget *createZone(std::shared_ptr<Variable> variable); |
|
36 | VisualizationZoneWidget *createZone(std::shared_ptr<Variable> variable); | |
37 |
|
37 | |||
38 | /// Remove a zone |
|
|||
39 | void removeZone(VisualizationZoneWidget *zone); |
|
|||
40 |
|
||||
41 | // IVisualizationWidget interface |
|
38 | // IVisualizationWidget interface | |
42 | void accept(IVisualizationWidgetVisitor *visitor) override; |
|
39 | void accept(IVisualizationWidgetVisitor *visitor) override; | |
43 | bool canDrop(const Variable &variable) const override; |
|
40 | bool canDrop(const Variable &variable) const override; |
@@ -23,15 +23,6 public: | |||||
23 | explicit VisualizationWidget(QWidget *parent = 0); |
|
23 | explicit VisualizationWidget(QWidget *parent = 0); | |
24 | virtual ~VisualizationWidget(); |
|
24 | virtual ~VisualizationWidget(); | |
25 |
|
25 | |||
26 | /// Add a zone widget |
|
|||
27 | virtual void addTab(VisualizationTabWidget *tabWidget); |
|
|||
28 |
|
||||
29 | /// Create a tab using a Variable |
|
|||
30 | VisualizationTabWidget *createTab(); |
|
|||
31 |
|
||||
32 | /// Remove a tab |
|
|||
33 | void removeTab(VisualizationTabWidget *tab); |
|
|||
34 |
|
||||
35 | // IVisualizationWidget interface |
|
26 | // IVisualizationWidget interface | |
36 | void accept(IVisualizationWidgetVisitor *visitor) override; |
|
27 | void accept(IVisualizationWidgetVisitor *visitor) override; | |
37 | bool canDrop(const Variable &variable) const override; |
|
28 | bool canDrop(const Variable &variable) const override; |
@@ -32,9 +32,6 public: | |||||
32 | */ |
|
32 | */ | |
33 | VisualizationGraphWidget *createGraph(std::shared_ptr<Variable> variable); |
|
33 | VisualizationGraphWidget *createGraph(std::shared_ptr<Variable> variable); | |
34 |
|
34 | |||
35 | /// Remove a graph |
|
|||
36 | void removeGraph(VisualizationGraphWidget *graph); |
|
|||
37 |
|
||||
38 | // IVisualizationWidget interface |
|
35 | // IVisualizationWidget interface | |
39 | void accept(IVisualizationWidgetVisitor *visitor) override; |
|
36 | void accept(IVisualizationWidgetVisitor *visitor) override; | |
40 | bool canDrop(const Variable &variable) const override; |
|
37 | bool canDrop(const Variable &variable) const override; |
@@ -62,10 +62,6 VisualizationZoneWidget *VisualizationTabWidget::createZone(std::shared_ptr<Vari | |||||
62 | return zoneWidget; |
|
62 | return zoneWidget; | |
63 | } |
|
63 | } | |
64 |
|
64 | |||
65 | void VisualizationTabWidget::removeZone(VisualizationZoneWidget *zone) |
|
|||
66 | { |
|
|||
67 | } |
|
|||
68 |
|
||||
69 | void VisualizationTabWidget::accept(IVisualizationWidgetVisitor *visitor) |
|
65 | void VisualizationTabWidget::accept(IVisualizationWidgetVisitor *visitor) | |
70 | { |
|
66 | { | |
71 | if (visitor) { |
|
67 | if (visitor) { |
@@ -73,22 +73,6 VisualizationWidget::~VisualizationWidget() | |||||
73 | delete ui; |
|
73 | delete ui; | |
74 | } |
|
74 | } | |
75 |
|
75 | |||
76 | void VisualizationWidget::addTab(VisualizationTabWidget *tabWidget) |
|
|||
77 | { |
|
|||
78 | // NOTE: check is this method has to be deleted because of its dupplicated version visible as |
|
|||
79 | // lambda function (in the constructor) |
|
|||
80 | } |
|
|||
81 |
|
||||
82 | VisualizationTabWidget *VisualizationWidget::createTab() |
|
|||
83 | { |
|
|||
84 | } |
|
|||
85 |
|
||||
86 | void VisualizationWidget::removeTab(VisualizationTabWidget *tab) |
|
|||
87 | { |
|
|||
88 | // NOTE: check is this method has to be deleted because of its dupplicated version visible as |
|
|||
89 | // lambda function (in the constructor) |
|
|||
90 | } |
|
|||
91 |
|
||||
92 | void VisualizationWidget::accept(IVisualizationWidgetVisitor *visitor) |
|
76 | void VisualizationWidget::accept(IVisualizationWidgetVisitor *visitor) | |
93 | { |
|
77 | { | |
94 | if (visitor) { |
|
78 | if (visitor) { |
@@ -60,10 +60,6 VisualizationGraphWidget *VisualizationZoneWidget::createGraph(std::shared_ptr<V | |||||
60 | return graphWidget; |
|
60 | return graphWidget; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | void VisualizationZoneWidget::removeGraph(VisualizationGraphWidget *graph) |
|
|||
64 | { |
|
|||
65 | } |
|
|||
66 |
|
||||
67 | void VisualizationZoneWidget::accept(IVisualizationWidgetVisitor *visitor) |
|
63 | void VisualizationZoneWidget::accept(IVisualizationWidgetVisitor *visitor) | |
68 | { |
|
64 | { | |
69 | if (visitor) { |
|
65 | if (visitor) { |
General Comments 0
You need to be logged in to leave comments.
Login now