##// END OF EJS Templates
Some refactoring on PB11 wrappers...
Some refactoring on PB11 wrappers Most sciqlop core wrappers are moved into a dedicated python module. We needs to get rid off sqpapp! All current sciqlop modules should either be stateless or act as real singletons they must not need any app to be used. This will ease testing, wrapping and usage. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r965:bb648cea0303
r1341:f18e017310bc
Show More
VisualizationCursorItem.h
26 lines | 682 B | text/x-c | CLexer
#ifndef SCIQLOP_VISUALIZATIONCURSORITEM_H
#define SCIQLOP_VISUALIZATIONCURSORITEM_H
#include <Common/spimpl.h>
#include <SqpApplication.h>
class QCustomPlot;
class VisualizationCursorItem {
public:
VisualizationCursorItem(QCustomPlot *plot);
void setVisible(bool value);
bool isVisible() const;
void setPosition(double value);
void setAbsolutePosition(double value);
void setOrientation(Qt::Orientation orientation);
void setLabelText(const QString &text);
private:
class VisualizationCursorItemPrivate;
spimpl::unique_impl_ptr<VisualizationCursorItemPrivate> impl;
};
#endif // SCIQLOP_VISUALIZATIONCURSORITEM_H