Man page - qwtcolumnsymbol(3)
Packages contas this manual
Manual
| QwtColumnSymbol(3) | Qwt User's Guide | QwtColumnSymbol(3) |
NAME
QwtColumnSymbol - A drawing primitive for columns.
SYNOPSIS
#include <qwt_column_symbol.h>
Public Types
enum Style { NoStyle = -1, Box,
UserStyle = 1000 }
enum FrameStyle { NoFrame, Plain, Raised }
Public Member Functions
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
Protected Member Functions
void drawBox (QPainter *, const QwtColumnRect &)
const
Detailed Description
A drawing primitive for columns.
Member Enumeration Documentation
enum QwtColumnSymbol::FrameStyle
Frame Style used in Box style().
See also:
Enumerator
enum QwtColumnSymbol::Style
Style
See also:
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.
Constructor & Destructor Documentation
QwtColumnSymbol::QwtColumnSymbol (Style style = NoStyle)
Constructor
Parameters:
See also:
Member Function Documentation
void QwtColumnSymbol::draw (QPainter * painter, const QwtColumnRect & rect) const [virtual]
Draw the symbol depending on its style.
Parameters:
rect Directed rectangle
See also:
void QwtColumnSymbol::drawBox (QPainter * painter, const QwtColumnRect & rect) const [protected]
Draw the symbol when it is in Box style.
Parameters:
rect Directed rectangle
See also:
QwtColumnSymbol::FrameStyle QwtColumnSymbol::frameStyle () const
Returns:
See also:
int QwtColumnSymbol::lineWidth () const
Returns:
See also:
const QPalette & QwtColumnSymbol::palette () const
Returns:
See also:
void QwtColumnSymbol::setFrameStyle (FrameStyle frameStyle)
Set the frame, that is used for the Box style.
Parameters:
See also:
void QwtColumnSymbol::setLineWidth (int width)
Set the line width of the frame, that is used for the Box style.
Parameters:
See also:
void QwtColumnSymbol::setPalette (const QPalette & palette)
Assign a palette for the symbol
Parameters:
See also:
void QwtColumnSymbol::setStyle (Style style)
Specify the symbol style
Parameters:
See also:
QwtColumnSymbol::Style QwtColumnSymbol::style () const
Returns:
See also:
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
| Wed Jan 2 2019 | Version 6.1.4 |