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 ()
void setFrameStyle (FrameStyle style)
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.
See also:
Style, setFrameStyle(), frameStyle(), setStyle(), setPalette()
Enumerator:
NoFrame
No frame.
Plain
A plain frame style.
Raised
A raised frame style.
See also:
setStyle(), style()
Enumerator:
NoStyle
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.
Parameters:
style Style of the symbol
See also:
setStyle(), style(), Style
Destructor.
Parameters:
painter Painter
rect Directed rectangle
See also:
drawBox()
Parameters:
painter Painter
rect Directed rectangle
See also:
draw()
Current frame style, that is used for the Box style.
See also:
setFrameStyle(), lineWidth(), setStyle()
Line width of the frame, that is used for the Box style.
See also:
setLineWidth(), frameStyle(), setStyle()
Current palette
See also:
setPalette()
Parameters:
frameStyle Frame style
See also:
frameStyle(), setLineWidth(), setStyle()
Parameters:
width Width
See also:
lineWidth(), setFrameStyle()
Parameters:
palette Palette
See also:
palette(), setStyle()
Parameters:
style Style
See also:
style(), setPalette()
Current symbol style
See also:
setStyle()
Generated automatically by Doxygen for Qwt User's Guide from the source code.