45 DecoItem(
unsigned color = 0,
double x0 = 0,
double y0 = 0,
52 DecoItem(
const KConfigGroup* plo,
unsigned color = 0);
56 inline unsigned color()
const {
return m_color; };
61 inline void setColor(
unsigned color) { m_color = color; };
66 inline void setX0(
double x0) { m_x0 = x0; };
71 inline void setY0(
double y0) { m_y0 = y0; };
77 void updatePos(
const QPointF& p,
bool absolute =
true);
83 void writePlo(KConfigGroup* plo,
bool visible)
const;
85 inline double x0()
const {
return m_x0; };
87 inline double y0()
const {
return m_y0; };
Decoration item class.
Definition decoitem.h:36
void setY0(double y0)
Sets y position.
Definition decoitem.h:71
virtual ~DecoItem()
Destructor.
unsigned color() const
Returns color.
Definition decoitem.h:56
void updatePos(const QPointF &p, bool absolute=true)
Updates position.
void writePlo(KConfigGroup *plo, bool visible) const
Writes into plot file.
DecoItem(unsigned color=0, double x0=0, double y0=0, double relSize=1)
Constructor.
double y0() const
Returns y position in cm.
Definition decoitem.h:87
void setX0(double x0)
Sets x position.
Definition decoitem.h:66
void setColor(unsigned color)
Sets color.
Definition decoitem.h:61
double x0() const
Returns x position in cm.
Definition decoitem.h:85
DecoItem(const KConfigGroup *plo, unsigned color=0)
Constructor.
Kpl item class.
Definition kplitem.h:42