#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... | |
| QwtVectorFieldArrow (qreal headWidth=6.0, qreal tailWidth=1.0) | |
| Constructor. More... | |
| virtual void | setLength (qreal length) QWT_OVERRIDE |
| virtual | ~QwtVectorFieldArrow () 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 draws a filled arrow with outline, using a triangular head of constant width.
Definition at line 61 of file qwt_vectorfield_symbol.h.
| QwtVectorFieldArrow::QwtVectorFieldArrow | ( | qreal | headWidth = 6.0, |
| qreal | tailWidth = 1.0 |
||
| ) |
Constructor.
The length is initialized by headWidth + 4
| headWidth | Width of the triangular head |
| tailWidth | Width of the arrow tail |
Definition at line 74 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Destructor.
Definition at line 80 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Implements QwtVectorFieldSymbol.
Definition at line 90 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Draw the symbol/arrow.
Implements QwtVectorFieldSymbol.
Definition at line 95 of file qwt_vectorfield_symbol.cpp.
|
virtual |
Set the length of the symbol/arrow
Implements QwtVectorFieldSymbol.
Definition at line 85 of file qwt_vectorfield_symbol.cpp.
|
private |
Definition at line 73 of file qwt_vectorfield_symbol.h.