##// END OF EJS Templates
Creates a interface that defines a variable container...
Creates a interface that defines a variable container - A variable container is an entity that can eventually accomodate a variable (for example, from a menu or d'n'd) - The interfaces declares canDrop() method, that will be used to create a menu for a variable containing only the containers available for it, or to enable/disable d'n'd of this variable on a container - Each visualization widget is a variable container, so it implements canDrop() method

File last commit:

r209:7ef1d04a5917
r209:7ef1d04a5917
Show More
IVisualizationWidget.h
26 lines | 603 B | text/x-c | CLexer
Add the visualization gui classes
r118 #ifndef SCIQLOP_IVISUALIZATIONWIDGET_H
#define SCIQLOP_IVISUALIZATIONWIDGET_H
Alexandre Leroux
Creates a interface that defines a variable container...
r209 #include "Visualization/IVariableContainer.h"
Add the visualization gui classes
r118
#include <QString>
#include <memory>
Alexandre Leroux
Updates visitor interface...
r207 class IVisualizationWidgetVisitor;
Add the visualization gui classes
r118 /**
* @brief The IVisualizationWidget handles the visualization widget.
*/
Alexandre Leroux
Creates a interface that defines a variable container...
r209 class IVisualizationWidget : public IVariableContainer {
Add the visualization gui classes
r118
public:
virtual ~IVisualizationWidget() = default;
/// Initializes the plugin
Alexandre Leroux
Updates visitor interface...
r207 virtual void accept(IVisualizationWidgetVisitor *visitor) = 0;
Add the visualization gui classes
r118 virtual void close() = 0;
Add const and override
r119 virtual QString name() const = 0;
Add the visualization gui classes
r118 };
#endif // SCIQLOP_IVISUALIZATIONWIDGET_H