##// END OF EJS Templates
Adds name to a graph...
Adds name to a graph - The name is passed as a parameter in the ctor - It is used as a title of the graph and will also be used to be displayed in menus related to a variable

File last commit:

r112:ab875bffb49d
r182:8ddc77b998a0
Show More
IVisualizationWidget.h
24 lines | 541 B | text/x-c | CLexer
#ifndef SCIQLOP_IVISUALIZATIONWIDGET_H
#define SCIQLOP_IVISUALIZATIONWIDGET_H
#include "Visualization/IVisualizationWidgetVisitor.h"
#include <QString>
#include <memory>
/**
* @brief The IVisualizationWidget handles the visualization widget.
*/
class IVisualizationWidget {
public:
virtual ~IVisualizationWidget() = default;
/// Initializes the plugin
virtual void accept(IVisualizationWidget *visitor) = 0;
virtual void close() = 0;
virtual QString name() const = 0;
};
#endif // SCIQLOP_IVISUALIZATIONWIDGET_H