QwtIntervalSymbol(3) | Qwt User's Guide | QwtIntervalSymbol(3) |
QwtIntervalSymbol - A drawing primitive for displaying an interval like an error bar.
#include <qwt_interval_symbol.h>
enum Style { NoSymbol = -1, Bar, Box,
UserSymbol = 1000 }
Symbol style.
QwtIntervalSymbol (Style=NoSymbol)
QwtIntervalSymbol (const QwtIntervalSymbol &)
Copy constructor. virtual ~QwtIntervalSymbol ()
Destructor. QwtIntervalSymbol & operator= (const
QwtIntervalSymbol &)
Assignment operator. bool operator== (const QwtIntervalSymbol
&) const
Compare two symbols. bool operator!= (const QwtIntervalSymbol
&) const
Compare two symbols. void setWidth (int)
int width () const
void setBrush (const QBrush &)
Assign a brush. const QBrush & brush () const
void setPen (const QColor &, qreal width=0.0,
Qt::PenStyle=Qt::SolidLine)
void setPen (const QPen &)
const QPen & pen () const
void setStyle (Style)
Style style () const
virtual void draw (QPainter *, Qt::Orientation, const QPointF
&from, const QPointF &to) const
A drawing primitive for displaying an interval like an error bar.
See also:
Symbol style.
Enumerator
Constructor
Parameters:
See also:
Returns:
See also:
Draw a symbol depending on its style
Parameters:
See also:
Returns:
See also:
Assign a brush. The brush is used for the Box style.
Parameters:
See also:
Build and assign a pen
In Qt5 the default pen width is 1.0 ( 0.0 in Qt4 ) what makes it non cosmetic ( see QPen::isCosmetic() ). This method has been introduced to hide this incompatibility.
Parameters:
See also:
Assign a pen
Parameters:
See also:
Specify the symbol style
Parameters:
See also:
Specify the width of the symbol It is used depending on the style.
Parameters:
See also:
Returns:
See also:
Returns:
See also:
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |