10 #ifndef QWT_PLOT_MARKER_H 11 #define QWT_PLOT_MARKER_H 76 double xValue() const;
77 double yValue() const;
78 QPointF
value() const;
80 void setXValue(
double );
81 void setYValue(
double );
82 void setValue(
double,
double );
83 void setValue( const QPointF& );
86 LineStyle lineStyle() const;
88 void setLinePen( const QColor&, qreal width = 0.0, Qt::PenStyle = Qt::SolidLine );
89 void setLinePen( const QPen& );
90 const QPen& linePen() const;
93 const QwtSymbol* symbol() const;
95 void setLabel( const
QwtText& );
96 QwtText label() const;
98 void setLabelAlignment( Qt::Alignment );
99 Qt::Alignment labelAlignment() const;
101 void setLabelOrientation( Qt::Orientation );
102 Qt::Orientation labelOrientation() const;
104 void setSpacing(
int );
107 virtual
void draw( QPainter*,
111 virtual QRectF boundingRect() const QWT_OVERRIDE;
114 int index, const QSizeF& ) const QWT_OVERRIDE;
117 virtual
void drawLines( QPainter*,
118 const QRectF&, const QPointF& ) const;
120 virtual
void drawSymbol( QPainter*,
121 const QRectF&, const QPointF& ) const;
123 virtual
void drawLabel( QPainter*,
124 const QRectF&, const QPointF& ) const;
A class for drawing symbols.
A class representing a text.
A paint device for scalable graphics.
Base class for items on the plot canvas.
A class for drawing markers.