logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

QwtCompassWindArrow - An indicator for the wind direction.

Author

       Generated automatically by Doxygen for Qwt User's Guide from the source code.

Version 6.1.4                                    Wed Jan 2 2019                           QwtCompassWindArrow(3)

Constructor & Destructor Documentation

QwtCompassWindArrow::QwtCompassWindArrow(Stylestyle,constQColor&light=Qt::white,constQColor&dark=Qt::gray)
       Constructor

       Parameters:style Arrow style
           light Light color
           dark Dark color

Detailed Description

       An indicator for the wind direction.

       QwtCompassWindArrow shows the direction where the wind comes from.

       • QPalette::Light
          Used for Style1, or the light half of Style2

       • QPalette::Dark
          Used for the dark half of Style2

       Seealso:QwtDial, QwtCompass

Member Enumeration Documentation

enumQwtCompassWindArrow::Style
       Style of the arrow.

       EnumeratorStyle1 A needle pointing to the center.

       Style2 A needle pointing to the center.

Member Function Documentation

voidQwtCompassWindArrow::drawNeedle(QPainter*painter,doublelength,QPalette::ColorGroupcolorGroup)const[protected],[virtual]
       Draw the needle

       Parameters:painter Painter
           length Length of the needle
           colorGroup Color group, used for painting

       Implements QwtDialNeedle.

Name

       QwtCompassWindArrow - An indicator for the wind direction.

Synopsis

       #include <qwt_dial_needle.h>

       Inherits QwtDialNeedle.

   PublicTypes
       enum Style { Style1, Style2 }
           Style of the arrow.

   PublicMemberFunctionsQwtCompassWindArrow (Style, const QColor &light=Qt::white, const QColor &dark=Qt::gray)

   ProtectedMemberFunctions
       virtual void drawNeedle (QPainter *, double length, QPalette::ColorGroup) const

See Also