##// END OF EJS Templates
Minor build fixes on Python stuff detection...
Minor build fixes on Python stuff detection Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1420:3c3e24550401
r1488:dd3017c130fb
Show More
RescaleAxeOperation.h
43 lines | 1.3 KiB | text/x-c | CLexer
Add rescale operation to permit to rescale axe widget
r435 #ifndef SCIQLOP_RESCALEAXEOPERATION_H
#define SCIQLOP_RESCALEAXEOPERATION_H
#include "Visualization/IVisualizationWidgetVisitor.h"
Made core module a git submodule, ready to start switching to new...
r1347 #include <Data/DateTimeRange.h>
Add rescale operation to permit to rescale axe widget
r435
#include <Common/spimpl.h>
#include <QLoggingCategory>
#include <memory>
Switched to new TS impl but quite broken!...
r1420 class Variable2;
Add rescale operation to permit to rescale axe widget
r435
Q_DECLARE_LOGGING_CATEGORY(LOG_RescaleAxeOperation)
/**
* @brief The RescaleAxeOperation 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 RescaleAxeOperation : public IVisualizationWidgetVisitor
{
Add rescale operation to permit to rescale axe widget
r435 public:
/**
* Ctor
* @param variable the variable to remove from widgets
*/
Switched to new TS impl but quite broken!...
r1420 explicit RescaleAxeOperation(std::shared_ptr<Variable2> variable, const DateTimeRange& range);
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;
Add rescale operation to permit to rescale axe widget
r435
private:
class RescaleAxeOperationPrivate;
spimpl::unique_impl_ptr<RescaleAxeOperationPrivate> impl;
};
#endif // SCIQLOP_RESCALEAXEOPERATION_H