QWT 7.0.1
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
QwtVectorFieldThinArrow Class Reference

Arrow implementation that only used lines, with optionally a filled arrow or only lines. More...

#include <qwt_vectorfield_symbol.h>

Inheritance diagram for QwtVectorFieldThinArrow:
QwtVectorFieldSymbol

Classes

class  PrivateData
 

Public Member Functions

 QwtVectorFieldThinArrow (qreal headWidth=6.0)
 Constructor.
 
virtual ~QwtVectorFieldThinArrow () QWT_OVERRIDE
 Destructor.
 
virtual void setLength (qreal length) QWT_OVERRIDE
 Set the length of the symbol/arrow.
 
virtual qreal length () const QWT_OVERRIDE
 
virtual void paint (QPainter *) const QWT_OVERRIDE
 Draw the symbol/arrow.
 
- Public Member Functions inherited from QwtVectorFieldSymbol
 QwtVectorFieldSymbol ()
 Constructor.
 
virtual ~QwtVectorFieldSymbol ()
 Destructor.
 

Detailed Description

Arrow implementation that only used lines, with optionally a filled arrow or only lines.

Constructor & Destructor Documentation

◆ QwtVectorFieldThinArrow()

QwtVectorFieldThinArrow::QwtVectorFieldThinArrow ( qreal  headWidth = 6.0)

Constructor.

The length is initialized by headWidth + 4

Parameters
headWidthWidth of the triangular head
See also
setLength()

Member Function Documentation

◆ length()

qreal QwtVectorFieldThinArrow::length ( ) const
virtual
Returns
length of the symbol/arrow
See also
setLength()

Implements QwtVectorFieldSymbol.

◆ paint()

void QwtVectorFieldThinArrow::paint ( QPainter *  ) const
virtual

Draw the symbol/arrow.

Implements QwtVectorFieldSymbol.

◆ setLength()

void QwtVectorFieldThinArrow::setLength ( qreal  length)
virtual

Set the length of the symbol/arrow.

See also
length()

Implements QwtVectorFieldSymbol.


The documentation for this class was generated from the following files: