##// 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
#ifndef SCIQLOP_IVISUALIZATIONWIDGET_H
#define SCIQLOP_IVISUALIZATIONWIDGET_H
#include "Visualization/IVariableContainer.h"
#include <QString>
#include <memory>
class IVisualizationWidgetVisitor;
/**
* @brief The IVisualizationWidget handles the visualization widget.
*/
class IVisualizationWidget : public IVariableContainer {
public:
virtual ~IVisualizationWidget() = default;
/// Initializes the plugin
virtual void accept(IVisualizationWidgetVisitor *visitor) = 0;
virtual void close() = 0;
virtual QString name() const = 0;
};
#endif // SCIQLOP_IVISUALIZATIONWIDGET_H