QwtColumnSymbol(3)
π QwtColumnSymbol(3) π
okay bestie, welcome to the QwtColumnSymbol(3) page from the Library Functions Manual β it's part of the Qwt User's Guide, and we're about to make this column-drawing primitive make sense. π
πΈ NAME πΈ
QwtColumnSymbol β a drawing primitive for columns. literally what it says on the tin, and it's iconic. β¨
π¦ 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)β constructor with that defaultNoStylevibe.virtual ~QwtColumnSymbol ()β destructor. bye bestie π«Άvoid setFrameStyle (FrameStyle)β setter for the frame style.FrameStyle frameStyle () constβ getter for the frame style.void setLineWidth (int width)β setter for line width.int lineWidth () constβ getter for line width.void setPalette (const QPalette &)β setter for palette.const QPalette & palette () constβ getter for palette.void setStyle (Style)β setter for style.Style style () constβ getter for style.virtual void draw (QPainter *, const QwtColumnRect &) constβ draws the symbol; virtual, so main character energy.void drawBox (QPainter *, const QwtColumnRect &) constβ protected box-drawing helper. secret menu item, iykyk.
π§ Protected Member Functions π§
void drawBox (QPainter *, const QwtColumnRect &) constβ the protected box-drawing helper, very behind-the-scenes.
π Detailed Description π
QwtColumnSymbol is a drawing primitive for columns. that's the whole thesis, and it ate. π
source clue: Definition at line 74 of file qwt_column_symbol.h.
π₯ Member Enumeration Documentation π₯
π enum QwtColumnSymbol::FrameStyle π
frame style used in Box style(). yes, the capitalization is doing its own thing.
See also: Style, setFrameStyle(), frameStyle(), setStyle(), setPalette()
Enumerator:
NoFrameβ no frame. zero drama.Plainβ a plain frame style.Raisedβ a raised frame style.
source clue: Definition at line 104 of file qwt_column_symbol.h.
π enum QwtColumnSymbol::Style π
style. that's the label, bestie.
See also: setStyle(), style()
Enumerator:
NoStyleβ no style; the symbol draws nothing. ghost mode π»Boxβ the column is painted with a frame depending on theframeStyle()andlineWidth()using thepalette().UserStyleβ styles>= QwtColumnSymbol::UserStyleare reserved for derived classes ofQwtColumnSymbolthat overloaddraw()with additional application specific symbol types.
source clue: Definition at line 81 of file qwt_column_symbol.h.
π«Ά Constructor & Destructor Documentation π«Ά
π QwtColumnSymbol::QwtColumnSymbol (Style style = NoStyle) [explicit] π
constructor. it's explicit, so no sneaky implicit conversions. periodt.
Parameters:
styleβ style of the symbol.
See also: setStyle(), style(), Style
source clue: Definition at line 135 of file qwt_column_symbol.cpp.
π QwtColumnSymbol::~QwtColumnSymbol () [virtual] π
destructor. it's virtual, and it's saying goodbye with grace. π
source clue: Definition at line 142 of file qwt_column_symbol.cpp.
β Member Function Documentation β
π void QwtColumnSymbol::draw (QPainter * painter, const QwtColumnRect & rect) const [virtual] π
draws the symbol depending on its style. virtual draw, so derived classes can do their own thing.
Parameters:
painterβ painter.rectβ directed rectangle.
See also: drawBox()
source clue: Definition at line 238 of file qwt_column_symbol.cpp.
π void QwtColumnSymbol::drawBox (QPainter * painter, const QwtColumnRect & rect) const [protected] π
draws the symbol when it's in Box style. protected helper behavior, very behind-the-scenes.
Parameters:
painterβ painter.rectβ directed rectangle.
See also: draw()
source clue: Definition at line 264 of file qwt_column_symbol.cpp.
π QwtColumnSymbol::FrameStyle QwtColumnSymbol::frameStyle () const π
Returns: current frame style, that is used for the Box style.
See also: setFrameStyle(), lineWidth(), setStyle()
source clue: Definition at line 202 of file qwt_column_symbol.cpp.
π int QwtColumnSymbol::lineWidth () const π
Returns: line width of the frame, that is used for the Box style.
See also: setLineWidth(), frameStyle(), setStyle()
source clue: Definition at line 225 of file qwt_column_symbol.cpp.
π const QPalette & QwtColumnSymbol::palette () const π
Returns: current palette.
See also: setPalette()
source clue: Definition at line 182 of file qwt_column_symbol.cpp.
π void QwtColumnSymbol::setFrameStyle (FrameStyle frameStyle) π
sets the frame that is used for the Box style.
Parameters:
frameStyleβ frame style.
See also: frameStyle(), setLineWidth(), setStyle()
source clue: Definition at line 193 of file qwt_column_symbol.cpp.
π void QwtColumnSymbol::setLineWidth (int width) π
sets the line width of the frame, that is used for the Box style.
Parameters:
widthβ width.
See also: lineWidth(), setFrameStyle()
source clue: Definition at line 213 of file qwt_column_symbol.cpp.
π void QwtColumnSymbol::setPalette (const QPalette & palette) π
assigns a palette for the symbol.
Parameters:
paletteβ palette.
See also: palette(), setStyle()
source clue: Definition at line 173 of file qwt_column_symbol.cpp.
π void QwtColumnSymbol::setStyle (Style style) π
specifies the symbol style.
Parameters:
styleβ style.
See also: style(), setPalette()
source clue: Definition at line 153 of file qwt_column_symbol.cpp.
π QwtColumnSymbol::Style QwtColumnSymbol::style () const π
Returns: current symbol style.
See also: setStyle()
source clue: Definition at line 162 of file qwt_column_symbol.cpp.
π AUTHOR π
Generated automatically by Doxygen for Qwt User's Guide from the source code.
cute sign-off bestie π: source/version is Qwt User's Guide and QwtColumnSymbol(3) β the original footer didn't list a date, so no invented date tea here, just the manual-name vibe π«Άβ¨
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms