##// END OF EJS Templates
Creates a widget that will be the header of the menu in variable widget...
Creates a widget that will be the header of the menu in variable widget The header is a label that contains the variable name (if there is only one variable) or the number of variables (if several variables have been selected in the variable widget)

File last commit:

r207:6308522bc3bb
r289:7ca994d5565d
Show More
IVisualizationWidgetVisitor.h
28 lines | 934 B | text/x-c | CLexer
/ gui / include / Visualization / IVisualizationWidgetVisitor.h
#ifndef SCIQLOP_IVISUALIZATIONWIDGETVISITOR_H
#define SCIQLOP_IVISUALIZATIONWIDGETVISITOR_H
class VisualizationWidget;
class VisualizationTabWidget;
class VisualizationZoneWidget;
class VisualizationGraphWidget;
/**
* @brief The IVisualizationWidgetVisitor handles the visualization widget vistor pattern.
*/
class IVisualizationWidgetVisitor {
public:
virtual ~IVisualizationWidgetVisitor() = default;
virtual void visitEnter(VisualizationWidget *widget) = 0;
virtual void visitLeave(VisualizationWidget *widget) = 0;
virtual void visitEnter(VisualizationTabWidget *tabWidget) = 0;
virtual void visitLeave(VisualizationTabWidget *tabWidget) = 0;
virtual void visitEnter(VisualizationZoneWidget *zoneWidget) = 0;
virtual void visitLeave(VisualizationZoneWidget *zoneWidget) = 0;
virtual void visit(VisualizationGraphWidget *graphWidget) = 0;
};
#endif // SCIQLOP_IVISUALIZATIONWIDGETVISITOR_H