##// END OF EJS Templates
Makes the connection between Variable controller and Visualization controller...
Makes the connection between Variable controller and Visualization controller - Adds a slot in the visualization controller to be warned that a variable has been created - Connects the slot to the signal of the variable controller when that is emitted after variable creation

File last commit:

r119:ab875bffb49d
r170:a3d07f8af710
Show More
VisualizationZoneWidget.h
39 lines | 945 B | text/x-c | CLexer
/ gui / include / Visualization / VisualizationZoneWidget.h
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #ifndef SCIQLOP_VISUALIZATIONZONEWIDGET_H
#define SCIQLOP_VISUALIZATIONZONEWIDGET_H
Add the visualization gui classes
r118 #include "Visualization/IVisualizationWidget.h"
class VisualizationGraphWidget;
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
namespace Ui {
class VisualizationZoneWidget;
} // Ui
Add the visualization gui classes
r118 class VisualizationZoneWidget : public QWidget, public IVisualizationWidget {
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
explicit VisualizationZoneWidget(QWidget *parent = 0);
virtual ~VisualizationZoneWidget();
Add the visualization gui classes
r118 /// Add a graph widget
void addGraph(VisualizationGraphWidget *graphWidget);
/// Create a graph using a Variable
VisualizationGraphWidget *createGraph();
/// Remove a graph
void removeGraph(VisualizationGraphWidget *graph);
// IVisualizationWidget interface
Add const and override
r119 void accept(IVisualizationWidget *visitor) override;
void close() override;
QString name() const override;
Add the visualization gui classes
r118
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Ui::VisualizationZoneWidget *ui;
};
#endif // SCIQLOP_VISUALIZATIONZONEWIDGET_H