|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
Arrow implementation that draws a filled arrow with outline, using a triangular head of constant width. More...
#include <qwt_vectorfield_symbol.h>
Classes | |
| class | PrivateData |
Public Member Functions | |
| QwtVectorFieldArrow (qreal headWidth=6.0, qreal tailWidth=1.0) | |
| Constructor with head and tail width parameters. | |
| virtual | ~QwtVectorFieldArrow () override |
| Destructor. | |
| virtual void | setLength (qreal length) override |
| Set the length of the arrow. | |
| virtual qreal | length () const override |
| Return the length of the arrow. | |
| virtual void | paint (QPainter *) const override |
| Draw the arrow. | |
Public Member Functions inherited from QwtVectorFieldSymbol | |
| QwtVectorFieldSymbol () | |
| Constructor. | |
| virtual | ~QwtVectorFieldSymbol () |
| Destructor. | |
Arrow implementation that draws a filled arrow with outline, using a triangular head of constant width.
| QwtVectorFieldArrow::QwtVectorFieldArrow | ( | qreal | headWidth = 6.0, |
| qreal | tailWidth = 1.0 |
||
| ) |
Constructor with head and tail width parameters.
Constructor
The length is initialized by headWidth + 4
| headWidth | Width of the triangular head |
| tailWidth | Width of the arrow tail |
|
overridevirtual |
Destructor.
Destructor
.
|
overridevirtual |
Return the length of the arrow.
Implements QwtVectorFieldSymbol.
|
overridevirtual |
|
overridevirtual |
Set the length of the arrow.
Implements QwtVectorFieldSymbol.