##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r1009:bb648cea0303
r1337:3acf26407503
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