QwtColumnSymbol(3) Qwt User's Guide QwtColumnSymbol(3)

QwtColumnSymbol - A drawing primitive for columns.

#include <qwt_column_symbol.h>


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


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


void drawBox (QPainter *, const QwtColumnRect &) const

A drawing primitive for columns.

enum QwtColumnSymbol::FrameStyle

Frame Style used in Box style().

See also:

Style, setFrameStyle(), frameStyle(), setStyle(), setPalette()

Enumerator

No frame.
A plain frame style.
A raised frame style.

enum QwtColumnSymbol::Style

Style

See also:

setStyle(), style()

Enumerator

No Style, the symbol draws nothing.
The column is painted with a frame depending on the frameStyle() and lineWidth() using the palette().
Styles >= QwtColumnSymbol::UserStyle are reserved for derived classes of QwtColumnSymbol that overload draw() with additional application specific symbol types.

Constructor

Parameters:

style Style of the symbol

See also:

setStyle(), style(), Style

Draw the symbol depending on its style.

Parameters:

painter Painter
rect Directed rectangle

See also:

drawBox()

Draw the symbol when it is in Box style.

Parameters:

painter Painter
rect Directed rectangle

See also:

draw()

QwtColumnSymbol::FrameStyle QwtColumnSymbol::frameStyle () const

Returns:

Current frame style, that is used for the Box style.

See also:

setFrameStyle(), lineWidth(), setStyle()

Returns:

Line width of the frame, that is used for the Box style.

See also:

setLineWidth(), frameStyle(), setStyle()

Returns:

Current palette

See also:

setPalette()

Set the frame, that is used for the Box style.

Parameters:

frameStyle Frame style

See also:

frameStyle(), setLineWidth(), setStyle()

Set the line width of the frame, that is used for the Box style.

Parameters:

width Width

See also:

lineWidth(), setFrameStyle()

Assign a palette for the symbol

Parameters:

palette Palette

See also:

palette(), setStyle()

Specify the symbol style

Parameters:

style Style

See also:

style(), setPalette()

QwtColumnSymbol::Style QwtColumnSymbol::style () const

Returns:

Current symbol style

See also:

setStyle()

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

Wed Jan 2 2019 Version 6.1.4