VisualizationCursorItem.h
26 lines
| 682 B
| text/x-c
|
CLexer
r965 | #ifndef SCIQLOP_VISUALIZATIONCURSORITEM_H | |||
#define SCIQLOP_VISUALIZATIONCURSORITEM_H | ||||
r960 | ||||
#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; | ||||
}; | ||||
r965 | #endif // SCIQLOP_VISUALIZATIONCURSORITEM_H | |||