Go to the documentation of this file.
25 QColor c( Qt::darkGray );
225 const QRectF& canvasRect )
const
231 pen.setCapStyle( Qt::FlatCap );
246 QRectF r( canvasRect.left(), y1, canvasRect.width(), y2 - y1 );
249 if ( (
m_data->
brush.style() != Qt::NoBrush ) && ( y1 != y2 ) )
273 QRectF r( x1, canvasRect.top(), x2 - x1, canvasRect.height() );
276 if ( (
m_data->
brush.style() != Qt::NoBrush ) && ( x1 != x2 ) )
virtual void draw(QPainter *, const QwtScaleMap &, const QwtScaleMap &, const QRectF &canvasRect) const QWT_OVERRIDE
void setOrientation(Qt::Orientation)
Set the orientation of the zone.
@ Legend
The item is represented on the legend.
QwtInterval interval() const
static bool roundingAlignment()
Qt::Orientation orientation() const
void setInterval(double min, double max)
virtual QRectF boundingRect() const
A class representing an interval.
static void fillRect(QPainter *, const QRectF &, const QBrush &)
Wrapper for QPainter::fillRect()
A class representing a text.
void setZ(double z)
Set the z value.
static void drawLine(QPainter *, qreal x1, qreal y1, qreal x2, qreal y2)
Wrapper for QPainter::drawLine()
Base class for items on the plot canvas.
QwtPlotZoneItem()
Constructor.
Qt::Orientation orientation
double transform(double s) const
virtual void itemChanged()
void setPen(const QColor &, qreal width=0.0, Qt::PenStyle=Qt::SolidLine)
void setItemAttribute(ItemAttribute, bool on=true)
const QBrush & brush() const
void setBrush(const QBrush &)
Assign a brush.
@ Rtti_PlotZone
For QwtPlotZoneItem.
virtual ~QwtPlotZoneItem()
Destructor.
virtual int rtti() const QWT_OVERRIDE
virtual QRectF boundingRect() const QWT_OVERRIDE
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46