#include <qwt_vectorfield_symbol.h>
Classes | |
class | PrivateData |
Public Member Functions | |
virtual qreal | length () const QWT_OVERRIDE |
virtual void | paint (QPainter *) const QWT_OVERRIDE |
Draw the symbol/arrow. More... | |
QwtVectorFieldThinArrow (qreal headWidth=6.0) | |
Constructor. More... | |
virtual void | setLength (qreal length) QWT_OVERRIDE |
virtual | ~QwtVectorFieldThinArrow () QWT_OVERRIDE |
Destructor. More... | |
Public Member Functions inherited from QwtVectorFieldSymbol | |
QwtVectorFieldSymbol () | |
Constructor. More... | |
virtual | ~QwtVectorFieldSymbol () |
Destructor. More... | |
Private Attributes | |
PrivateData * | m_data |
Arrow implementation that only used lines, with optionally a filled arrow or only lines.
Definition at line 81 of file qwt_vectorfield_symbol.h.
QwtVectorFieldThinArrow::QwtVectorFieldThinArrow | ( | qreal | headWidth = 6.0 | ) |
Constructor.
The length is initialized by headWidth + 4
headWidth | Width of the triangular head |
Definition at line 128 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Destructor.
Definition at line 134 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Implements QwtVectorFieldSymbol.
Definition at line 152 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Draw the symbol/arrow.
Implements QwtVectorFieldSymbol.
Definition at line 157 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Set the length of the symbol/arrow
Implements QwtVectorFieldSymbol.
Definition at line 139 of file qwt_vectorfield_symbol.cpp.
|
private |
Definition at line 93 of file qwt_vectorfield_symbol.h.