##// END OF EJS Templates
Update Meson build def...
Update Meson build def Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1480:fb552be9c83a
Show More
RemoveVariableOperation.h
42 lines | 1.3 KiB | text/x-c | CLexer
Alexandre Leroux
Variable deletion (4)...
r333 #ifndef SCIQLOP_REMOVEVARIABLEOPERATION_H
#define SCIQLOP_REMOVEVARIABLEOPERATION_H
#include "Visualization/IVisualizationWidgetVisitor.h"
#include <Common/spimpl.h>
#include <QLoggingCategory>
#include <memory>
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Alexandre Leroux
Variable deletion (4)...
r333
Q_DECLARE_LOGGING_CATEGORY(LOG_RemoveVariableOperation)
/**
* @brief The RemoveVariableOperation class defines an operation that traverses all of visualization
* widgets to remove a variable if they contain it
*/
Switched to new TS impl but quite broken!...
r1420 class RemoveVariableOperation : public IVisualizationWidgetVisitor
{
Alexandre Leroux
Variable deletion (4)...
r333 public:
/**
* Ctor
* @param variable the variable to remove from widgets
*/
Switched to new TS impl but quite broken!...
r1420 explicit RemoveVariableOperation(std::shared_ptr<Variable2> variable);
void visitEnter(VisualizationWidget* widget) override final;
void visitLeave(VisualizationWidget* widget) override final;
void visitEnter(VisualizationTabWidget* tabWidget) override final;
void visitLeave(VisualizationTabWidget* tabWidget) override final;
void visitEnter(VisualizationZoneWidget* zoneWidget) override final;
void visitLeave(VisualizationZoneWidget* zoneWidget) override final;
void visit(VisualizationGraphWidget* graphWidget) override final;
Alexandre Leroux
Variable deletion (4)...
r333
private:
class RemoveVariableOperationPrivate;
spimpl::unique_impl_ptr<RemoveVariableOperationPrivate> impl;
};
#endif // SCIQLOP_REMOVEVARIABLEOPERATION_H