##// END OF EJS Templates
Adds actions for items in the DataSourceWidget...
Adds actions for items in the DataSourceWidget For each item will be associated actions (generated from the model of the item) that will be displayed in the menu when right clicking on the item in the tree

File last commit:

r119:ab875bffb49d
r142:11579fae1cc2
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