Classes | Public Slots | Public Member Functions | Protected Member Functions | Properties | Private Member Functions | Private Attributes | List of all members
QwtPlotOpenGLCanvas Class Reference

#include <qwt_plot_opengl_canvas.h>

Inheritance diagram for QwtPlotOpenGLCanvas:
Inheritance graph
[legend]

Classes

class  PrivateData
 

Public Slots

void replot ()
 

Public Member Functions

Q_INVOKABLE QPainterPath borderPath (const QRect &) const
 
virtual bool event (QEvent *) QWT_OVERRIDE
 
virtual Q_INVOKABLE void invalidateBackingStore () QWT_OVERRIDE
 
 QwtPlotOpenGLCanvas (QwtPlot *=NULL)
 Constructor. More...
 
 QwtPlotOpenGLCanvas (const QSurfaceFormat &, QwtPlot *=NULL)
 
virtual ~QwtPlotOpenGLCanvas ()
 Destructor. More...
 
- Public Member Functions inherited from QwtPlotAbstractGLCanvas
QRect frameRect () const
 
QFrame::Shadow frameShadow () const
 
QFrame::Shape frameShape () const
 
int frameStyle () const
 
int frameWidth () const
 
int lineWidth () const
 
int midLineWidth () const
 
 QwtPlotAbstractGLCanvas (QWidget *canvasWidget)
 
void setFrameShadow (QFrame::Shadow)
 
void setFrameShape (QFrame::Shape)
 
void setFrameStyle (int style)
 
void setLineWidth (int)
 
void setMidLineWidth (int)
 
void setPaintAttribute (PaintAttribute, bool on=true)
 Changing the paint attributes. More...
 
bool testPaintAttribute (PaintAttribute) const
 
virtual ~QwtPlotAbstractGLCanvas ()
 
- Public Member Functions inherited from QwtPlotAbstractCanvas
double borderRadius () const
 
FocusIndicator focusIndicator () const
 
QwtPlotplot ()
 Return parent plot widget. More...
 
const QwtPlotplot () const
 Return parent plot widget. More...
 
 QwtPlotAbstractCanvas (QWidget *canvasWidget)
 
void setBorderRadius (double)
 
void setFocusIndicator (FocusIndicator)
 
virtual ~QwtPlotAbstractCanvas ()
 

Protected Member Functions

virtual void initializeGL () QWT_OVERRIDE
 
virtual void paintEvent (QPaintEvent *) QWT_OVERRIDE
 
virtual void paintGL () QWT_OVERRIDE
 
virtual void resizeGL (int width, int height) QWT_OVERRIDE
 
- Protected Member Functions inherited from QwtPlotAbstractGLCanvas
void draw (QPainter *)
 
void replot ()
 
- Protected Member Functions inherited from QwtPlotAbstractCanvas
QPainterPath borderPath2 (const QRect &rect) const
 
QWidget * canvasWidget ()
 
const QWidget * canvasWidget () const
 
virtual void drawBackground (QPainter *)
 
virtual void drawBorder (QPainter *)
 
void drawCanvas (QPainter *)
 
virtual void drawFocusIndicator (QPainter *)
 
void drawStyled (QPainter *, bool)
 
void drawUnstyled (QPainter *)
 
void fillBackground (QPainter *)
 
void updateStyleSheetInfo ()
 Update the cached information about the current style sheet. More...
 

Properties

double borderRadius
 
QRect frameRect
 
QFrame::Shadow frameShadow
 
QFrame::Shape frameShape
 
int frameWidth
 
int lineWidth
 
int midLineWidth
 

Private Member Functions

virtual void clearBackingStore () QWT_OVERRIDE
 
void init (const QSurfaceFormat &)
 

Private Attributes

PrivateDatad_data
 

Additional Inherited Members

- Public Types inherited from QwtPlotAbstractGLCanvas
enum  PaintAttribute { BackingStore = 1, ImmediatePaint = 8 }
 Paint attributes. More...
 
typedef QFlags< PaintAttributePaintAttributes
 Paint attributes. More...
 
- Public Types inherited from QwtPlotAbstractCanvas
enum  FocusIndicator { NoFocusIndicator, CanvasFocusIndicator, ItemFocusIndicator }
 Focus indicator The default setting is NoFocusIndicator. More...
 

Detailed Description

Definition at line 20 of file qwt_plot_opengl_canvas.h.

Constructor & Destructor Documentation

QwtPlotOpenGLCanvas::QwtPlotOpenGLCanvas ( QwtPlot plot = NULL)
explicit

Constructor.

Parameters
plotParent plot widget
See also
QwtPlot::setCanvas()

Definition at line 49 of file qwt_plot_opengl_canvas.cpp.

QwtPlotOpenGLCanvas::QwtPlotOpenGLCanvas ( const QSurfaceFormat &  format,
QwtPlot plot = NULL 
)
explicit

Definition at line 59 of file qwt_plot_opengl_canvas.cpp.

QwtPlotOpenGLCanvas::~QwtPlotOpenGLCanvas ( )
virtual

Destructor.

Definition at line 79 of file qwt_plot_opengl_canvas.cpp.

Member Function Documentation

QPainterPath QwtPlotOpenGLCanvas::borderPath ( const QRect &  rect) const

Definition at line 143 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::clearBackingStore ( )
privatevirtual

Implements QwtPlotAbstractGLCanvas.

Definition at line 137 of file qwt_plot_opengl_canvas.cpp.

bool QwtPlotOpenGLCanvas::event ( QEvent *  event)
virtual

Qt event handler for QEvent::PolishRequest and QEvent::StyleChange

Parameters
eventQt Event
Returns
See QGLWidget::event()

Definition at line 101 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::init ( const QSurfaceFormat &  format)
private

Definition at line 66 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::initializeGL ( )
protectedvirtual

Definition at line 148 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::invalidateBackingStore ( )
virtual

Implements QwtPlotAbstractGLCanvas.

Definition at line 132 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::paintEvent ( QPaintEvent *  event)
protectedvirtual

Paint event

Parameters
eventPaint event
See also
QwtPlot::drawCanvas()

Definition at line 90 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::paintGL ( )
protectedvirtual

Definition at line 152 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::replot ( )
slot

Definition at line 127 of file qwt_plot_opengl_canvas.cpp.

void QwtPlotOpenGLCanvas::resizeGL ( int  width,
int  height 
)
protectedvirtual

Definition at line 223 of file qwt_plot_opengl_canvas.cpp.

Member Data Documentation

PrivateData* QwtPlotOpenGLCanvas::d_data
private

Definition at line 57 of file qwt_plot_opengl_canvas.h.

Property Documentation

double QwtPlotOpenGLCanvas::borderRadius
readwrite

Definition at line 31 of file qwt_plot_opengl_canvas.h.

QRect QwtPlotOpenGLCanvas::frameRect
read

Definition at line 29 of file qwt_plot_opengl_canvas.h.

QFrame::Shadow QwtPlotOpenGLCanvas::frameShadow
readwrite

Definition at line 24 of file qwt_plot_opengl_canvas.h.

QFrame::Shape QwtPlotOpenGLCanvas::frameShape
readwrite

Definition at line 25 of file qwt_plot_opengl_canvas.h.

int QwtPlotOpenGLCanvas::frameWidth
read

Definition at line 28 of file qwt_plot_opengl_canvas.h.

int QwtPlotOpenGLCanvas::lineWidth
readwrite

Definition at line 26 of file qwt_plot_opengl_canvas.h.

int QwtPlotOpenGLCanvas::midLineWidth
readwrite

Definition at line 27 of file qwt_plot_opengl_canvas.h.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:50