QwtPlotAbstractGLCanvas(3)
π QwtPlotAbstractGLCanvas(3) π
from the Library Functions Manual β yes bestie, we're in the man pages now, and this one is giving base-class main character energy
π NAME
QwtPlotAbstractGLCanvas β Base class of QwtPlotOpenGLCanvas and QwtPlotGLCanvas.
β¨ SYNOPSIS
#include <qwt_plot_abstract_canvas.h>
Inherits QwtPlotAbstractCanvas.
Inherited by QwtPlotGLCanvas, and QwtPlotOpenGLCanvas.
πΈ Public Types
enum PaintAttribute { BackingStore = 1, ImmediatePaint = 8 }β Paint attributes.typedef QFlags< PaintAttribute > PaintAttributesβ Paint attributes.
π Public Types inherited from QwtPlotAbstractCanvas
enum FocusIndicator { NoFocusIndicator, CanvasFocusIndicator, ItemFocusIndicator }β Focus indicator. The default setting isNoFocusIndicator.
π¦ Public Member Functions
QwtPlotAbstractGLCanvas (QWidget *canvasWidget)β Constructor.virtual ~QwtPlotAbstractGLCanvas ()β Destructor.void setPaintAttribute (PaintAttribute, bool on=true)β Changing the paint attributes.bool testPaintAttribute (PaintAttribute) constβ Test whether a paint attribute is enabled.void setFrameStyle (int style)β Set the frame style.int frameStyle () constβ Get the frame style.void setFrameShadow (QFrame::Shadow)β Set the frame shadow.QFrame::Shadow frameShadow () constβ Get the frame shadow.void setFrameShape (QFrame::Shape)β Set the frame shape.QFrame::Shape frameShape () constβ Get the frame shape.void setLineWidth (int)β Set the frame line width.int lineWidth () constβ Get the line width of the frame.void setMidLineWidth (int)β Set the frame mid line width.int midLineWidth () constβ Get the midline width of the frame.int frameWidth () constβ Get the frame width.QRect frameRect () constβ Get the rectangle where the frame is drawn in.virtual void invalidateBackingStore ()=0β Invalidate the internal backing store.
π Public Member Functions inherited from QwtPlotAbstractCanvas
QwtPlotAbstractCanvas (QWidget *canvasWidget)β Constructor.virtual ~QwtPlotAbstractCanvas ()β Destructor.QwtPlot * plot ()β Return parent plot widget.const QwtPlot * plot () constβ Return parent plot widget.void setFocusIndicator (FocusIndicator)β Set the focus indicator.FocusIndicator focusIndicator () constβ Get the focus indicator.void setBorderRadius (double)β Set the border radius.double borderRadius () constβ Get the border radius.
π₯ Protected Member Functions
void replot ()β Invalidate the paint cache and repaint the canvas.void draw (QPainter *)β Helper function for the derived plot canvas.
π Protected Member Functions inherited from QwtPlotAbstractCanvas
QWidget * canvasWidget ()β Get the canvas widget.const QWidget * canvasWidget () constβ Get the canvas widget.virtual void drawFocusIndicator (QPainter *)β Draw the focus indicator.virtual void drawBorder (QPainter *)β Draw the border.virtual void drawBackground (QPainter *)β Helper function for the derived plot canvas.void fillBackground (QPainter *)β Helper function for the derived plot canvas.void drawCanvas (QPainter *)β Draw the plot to the canvas.void drawStyled (QPainter *, bool)β Helper function for the derived plot canvas.void drawUnstyled (QPainter *)β Helper function for the derived plot canvas.QPainterPath canvasBorderPath (const QRect &rect) constβ Get the canvas border path.void updateStyleSheetInfo ()β Update the cached information about the current style sheet.
πΈ DETAILED DESCRIPTION
Base class of QwtPlotOpenGLCanvas and QwtPlotGLCanvas.
Definition at line 87 of file qwt_plot_abstract_canvas.h.
π MEMBER TYPEDEF DOCUMENTATION
typedef QFlags<PaintAttribute > QwtPlotAbstractGLCanvas::PaintAttributes
Paint attributes. An ORed combination of PaintAttribute values.
Definition at line 122 of file qwt_plot_abstract_canvas.h.
π¦ MEMBER ENUMERATION DOCUMENTATION
enum QwtPlotAbstractGLCanvas::PaintAttribute
Paint attributes. The default setting enables BackingStore and Opaque.
See also setPaintAttribute(), testPaintAttribute()
Enumerator
BackingStoreβ Paint double buffered reusing the content of the pixmap buffer when possible. Using a backing store might improve the performance significantly, when working with widget overlays ( like rubber bands ). Disabling the cache might improve the performance for incremental paints (usingQwtPlotDirectPainter).
See also backingStore(), invalidateBackingStore()
ImmediatePaintβ WhenImmediatePaintis setreplot()callsrepaint()instead ofupdate().
See also replot(), QWidget::repaint(), QWidget::update()
Definition at line 97 of file qwt_plot_abstract_canvas.h.
π CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
QwtPlotAbstractGLCanvas::QwtPlotAbstractGLCanvas (QWidget * canvasWidget) [explicit]
Constructor.
canvasWidgetβ plot canvas widget
Definition at line 904 of file qwt_plot_abstract_canvas.cpp.
QwtPlotAbstractGLCanvas::~QwtPlotAbstractGLCanvas () [virtual]
Destructor.
Definition at line 914 of file qwt_plot_abstract_canvas.cpp.
π₯ MEMBER FUNCTION DOCUMENTATION
void QwtPlotAbstractGLCanvas::draw (QPainter * painter) [protected]
Helper function for the derived plot canvas.
Definition at line 1112 of file qwt_plot_abstract_canvas.cpp.
QRect QwtPlotAbstractGLCanvas::frameRect () const
Returns:
- The rectangle where the frame is drawn in.
Definition at line 1105 of file qwt_plot_abstract_canvas.cpp.
QFrame::Shadow QwtPlotAbstractGLCanvas::frameShadow () const
Returns:
- Frame shadow
See also setFrameShadow(), QFrame::setFrameShadow()
Definition at line 1000 of file qwt_plot_abstract_canvas.cpp.
QFrame::Shape QwtPlotAbstractGLCanvas::frameShape () const
Returns:
- Frame shape
See also setFrameShape(), QFrame::frameShape()
Definition at line 1020 of file qwt_plot_abstract_canvas.cpp.
int QwtPlotAbstractGLCanvas::frameStyle () const
Returns:
- The bitwise OR between a
frameShape()and aframeShadow()
See also setFrameStyle(), QFrame::frameStyle()
Definition at line 980 of file qwt_plot_abstract_canvas.cpp.
int QwtPlotAbstractGLCanvas::frameWidth () const
Returns:
- Frame width depending on the style, line width and midline width.
Definition at line 1084 of file qwt_plot_abstract_canvas.cpp.
virtual void QwtPlotAbstractGLCanvas::invalidateBackingStore () [pure virtual]
Invalidate the internal backing store.
Implemented in QwtPlotGLCanvas, and QwtPlotOpenGLCanvas.
int QwtPlotAbstractGLCanvas::lineWidth () const
Returns:
- Line width of the frame
See also setLineWidth(), midLineWidth()
Definition at line 1048 of file qwt_plot_abstract_canvas.cpp.
int QwtPlotAbstractGLCanvas::midLineWidth () const
Returns:
- Midline width of the frame
See also setMidLineWidth(), lineWidth()
Definition at line 1076 of file qwt_plot_abstract_canvas.cpp.
void QwtPlotAbstractGLCanvas::replot () [protected]
Invalidate the paint cache and repaint the canvas.
See also invalidatePaintCache()
Definition at line 1093 of file qwt_plot_abstract_canvas.cpp.
void QwtPlotAbstractGLCanvas::setFrameShadow (QFrame::Shadow shadow)
Set the frame shadow.
shadowβ Frame shadow
See also frameShadow(), setFrameShape(), QFrame::setFrameShadow()
Definition at line 991 of file qwt_plot_abstract_canvas.cpp.
void QwtPlotAbstractGLCanvas::setFrameShape (QFrame::Shape shape)
Set the frame shape.
shapeβ Frame shape
See also frameShape(), setFrameShadow(), QFrame::frameShape()
Definition at line 1011 of file qwt_plot_abstract_canvas.cpp.
void QwtPlotAbstractGLCanvas::setFrameStyle (int style)
Set the frame style.
styleβ The bitwise OR between a shape and a shadow.
See also frameStyle(), QFrame::setFrameStyle(), setFrameShadow(), setFrameShape()
Definition at line 965 of file qwt_plot_abstract_canvas.cpp.
void QwtPlotAbstractGLCanvas::setLineWidth (int width)
Set the frame line width.
The default line width is 2 pixels.
widthβ Line width of the frame
See also lineWidth(), setMidLineWidth()
Definition at line 1033 of file qwt_plot_abstract_canvas.cpp.
void QwtPlotAbstractGLCanvas::setMidLineWidth (int width)
Set the frame mid line width.
The default midline width is 0 pixels.
widthβ Midline width of the frame
See also midLineWidth(), setLineWidth()
Definition at line 1061 of file qwt_plot_abstract_canvas.cpp.
void QwtPlotAbstractGLCanvas::setPaintAttribute (PaintAttribute attribute, bool on = true)
Changing the paint attributes.
attributeβ Paint attributeonβ On/Off
See also testPaintAttribute()
Definition at line 927 of file qwt_plot_abstract_canvas.cpp.
bool QwtPlotAbstractGLCanvas::testPaintAttribute (PaintAttribute attribute) const
Test whether a paint attribute is enabled.
attributeβ Paint attribute
Returns:
true, when attribute is enabled
See also setPaintAttribute()
Definition at line 952 of file qwt_plot_abstract_canvas.cpp.
π AUTHOR
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Final footer vibe check: source/version is the Qwt User's Guide, the page is QwtPlotAbstractGLCanvas(3), and the date is not printed on this footer. Doxygen generated the Author bit automatically from the source code. That's the whole page, bestie β periodt. π
π
π¦ 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