##// END OF EJS Templates
Handles items with same names in the same node...
Handles items with same names in the same node This case is handled by adding suffix (plugin name) when displaying items in the widget

File last commit:

r965:bb648cea0303
r1037:c90049fe7bc2
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