##// 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
VisualizationWidget.h
42 lines | 972 B | text/x-c | CLexer
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #ifndef SCIQLOP_VISUALIZATIONWIDGET_H
#define SCIQLOP_VISUALIZATIONWIDGET_H
Add the visualization gui classes
r118 #include "Visualization/IVisualizationWidget.h"
Widget of the tab widget are now of type VisualizationTabWidget...
r88 #include <QLoggingCategory>
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 #include <QWidget>
Add the visualization gui classes
r118 class VisualizationTabWidget;
Widget of the tab widget are now of type VisualizationTabWidget...
r88 Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationWidget)
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 namespace Ui {
class VisualizationWidget;
} // namespace Ui
Add the visualization gui classes
r118 class VisualizationWidget : public QWidget, public IVisualizationWidget {
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 Q_OBJECT
public:
explicit VisualizationWidget(QWidget *parent = 0);
virtual ~VisualizationWidget();
Add the visualization gui classes
r118 /// Add a zone widget
virtual void addTab(VisualizationTabWidget *tabWidget);
/// Create a tab using a Variable
VisualizationTabWidget *createTab();
/// Remove a tab
void removeTab(VisualizationTabWidget *tab);
// IVisualizationWidget interface
Add const and override
r119 void accept(IVisualizationWidget *visitor) override;
void close() override;
QString name() const;
Add the visualization gui classes
r118
Creation of VisualizationWidget, VizualizationTabWidget, VisualizationZoneWidget, VisualizationGraphWidget
r58 private:
Ui::VisualizationWidget *ui;
};
#endif // VISUALIZATIONWIDGET_H