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 default NoStyle vibe.
  • 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 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.

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