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

QwtColumnSymbol - A drawing primitive for columns.

Author

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

Version 6.1.4                                    Wed Jan 2 2019                               QwtColumnSymbol(3)

Constructor & Destructor Documentation

QwtColumnSymbol::QwtColumnSymbol(Stylestyle=NoStyle)
       Constructor

       Parameters:style Style of the symbol

       Seealso:setStyle(), style(), Style

Detailed Description

       A drawing primitive for columns.

Member Enumeration Documentation

enumQwtColumnSymbol::FrameStyle
       Frame Style used in Box style().

       Seealso:Style, setFrameStyle(), frameStyle(), setStyle(), setPalette()EnumeratorNoFrame
              No frame.

       Plain  A plain frame style.

       Raised A raised frame style.

   enumQwtColumnSymbol::Style
       Style

       Seealso:setStyle(), style()EnumeratorNoStyle
              No Style, the symbol draws nothing.

       Box    The  column  is  painted  with  a  frame  depending  on the frameStyle() and lineWidth() using the
              palette().

       UserStyle
              Styles >= QwtColumnSymbol::UserStyle are reserved for  derived  classes  of  QwtColumnSymbol  that
              overload draw() with additional application specific symbol types.

Member Function Documentation

voidQwtColumnSymbol::draw(QPainter*painter,constQwtColumnRect&rect)const[virtual]
       Draw the symbol depending on its style.

       Parameters:painter Painter
           rect Directed rectangle

       Seealso:drawBox()voidQwtColumnSymbol::drawBox(QPainter*painter,constQwtColumnRect&rect)const[protected]
       Draw the symbol when it is in Box style.

       Parameters:painter Painter
           rect Directed rectangle

       Seealso:draw()QwtColumnSymbol::FrameStyleQwtColumnSymbol::frameStyle()constReturns:
           Current frame style, that is used for the Box style.

       Seealso:setFrameStyle(), lineWidth(), setStyle()intQwtColumnSymbol::lineWidth()constReturns:
           Line width of the frame, that is used for the Box style.

       Seealso:setLineWidth(), frameStyle(), setStyle()constQPalette&QwtColumnSymbol::palette()constReturns:
           Current palette

       Seealso:setPalette()voidQwtColumnSymbol::setFrameStyle(FrameStyleframeStyle)
       Set the frame, that is used for the Box style.

       Parameters:frameStyle Frame style

       Seealso:frameStyle(), setLineWidth(), setStyle()voidQwtColumnSymbol::setLineWidth(intwidth)
       Set the line width of the frame, that is used for the Box style.

       Parameters:width Width

       Seealso:lineWidth(), setFrameStyle()voidQwtColumnSymbol::setPalette(constQPalette&palette)
       Assign a palette for the symbol

       Parameters:palette Palette

       Seealso:palette(), setStyle()voidQwtColumnSymbol::setStyle(Stylestyle)
       Specify the symbol style

       Parameters:style Style

       Seealso:style(), setPalette()QwtColumnSymbol::StyleQwtColumnSymbol::style()constReturns:
           Current symbol style

       Seealso:setStyle()

Name

       QwtColumnSymbol - A drawing primitive for columns.

Synopsis

       #include <qwt_column_symbol.h>

   PublicTypes
       enum Style { NoStyle = -1, Box, UserStyle = 1000 }
       enum FrameStyle { NoFrame, Plain, Raised }

   PublicMemberFunctionsQwtColumnSymbol (Style=NoStyle)
       virtual ~QwtColumnSymbol ()
           Destructor.
       void setFrameStyle (FrameStyle)
       FrameStyleframeStyle () const
       void setLineWidth (int width)
       int lineWidth () const
       void setPalette (const QPalette &)
       const QPalette & palette () const
       void setStyle (Style)
       Stylestyle () const
       virtual void draw (QPainter *, const QwtColumnRect &) const

   ProtectedMemberFunctions
       void drawBox (QPainter *, const QwtColumnRect &) const

See Also