##// END OF EJS Templates
Merge pull request 154 from SCIQLOP-Initialisation feature/VariableModel3...
Merge pull request 154 from SCIQLOP-Initialisation feature/VariableModel3 Feature/VariableModel3

File last commit:

r119:ab875bffb49d
r172:5fabd31f0a85 merge
Show More
VisualizationZoneWidget.h
39 lines | 945 B | text/x-c | CLexer
#ifndef SCIQLOP_VISUALIZATIONZONEWIDGET_H
#define SCIQLOP_VISUALIZATIONZONEWIDGET_H
#include "Visualization/IVisualizationWidget.h"
class VisualizationGraphWidget;
#include <QWidget>
namespace Ui {
class VisualizationZoneWidget;
} // Ui
class VisualizationZoneWidget : public QWidget, public IVisualizationWidget {
Q_OBJECT
public:
explicit VisualizationZoneWidget(QWidget *parent = 0);
virtual ~VisualizationZoneWidget();
/// 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
void accept(IVisualizationWidget *visitor) override;
void close() override;
QString name() const override;
private:
Ui::VisualizationZoneWidget *ui;
};
#endif // SCIQLOP_VISUALIZATIONZONEWIDGET_H