#include <qwt_plot_opengl_canvas.h>
Classes | |
class | PrivateData |
Public Slots | |
void | replot () |
Public Member Functions | |
Q_INVOKABLE QPainterPath | borderPath (const QRect &) const |
virtual bool | event (QEvent *) |
virtual Q_INVOKABLE void | invalidateBackingStore () |
QwtPlotOpenGLCanvas (QwtPlot *=NULL) | |
Constructor. | |
QwtPlotOpenGLCanvas (const QSurfaceFormat &, QwtPlot *=NULL) | |
virtual | ~QwtPlotOpenGLCanvas () |
Destructor. | |
Protected Member Functions | |
virtual void | initializeGL () |
virtual void | paintEvent (QPaintEvent *) |
virtual void | paintGL () |
virtual void | resizeGL (int width, int height) |
Properties | |
double | borderRadius |
QRect | frameRect |
QFrame::Shadow | frameShadow |
QFrame::Shape | frameShape |
int | frameWidth |
int | lineWidth |
int | midLineWidth |
Private Member Functions | |
virtual void | clearBackingStore () |
void | init (const QSurfaceFormat &) |
Private Attributes | |
PrivateData * | d_data |
Definition at line 19 of file qwt_plot_opengl_canvas.h.
QwtPlotOpenGLCanvas::QwtPlotOpenGLCanvas | ( | QwtPlot * | plot = NULL | ) | [explicit] |
Constructor.
plot | Parent plot widget |
Definition at line 45 of file qwt_plot_opengl_canvas.cpp.
QwtPlotOpenGLCanvas::QwtPlotOpenGLCanvas | ( | const QSurfaceFormat & | format, |
QwtPlot * | plot = NULL |
||
) | [explicit] |
Definition at line 55 of file qwt_plot_opengl_canvas.cpp.
QwtPlotOpenGLCanvas::~QwtPlotOpenGLCanvas | ( | ) | [virtual] |
Destructor.
Definition at line 75 of file qwt_plot_opengl_canvas.cpp.
QPainterPath QwtPlotOpenGLCanvas::borderPath | ( | const QRect & | rect | ) | const |
Definition at line 139 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::clearBackingStore | ( | ) | [private, virtual] |
Implements QwtPlotAbstractGLCanvas.
Definition at line 133 of file qwt_plot_opengl_canvas.cpp.
bool QwtPlotOpenGLCanvas::event | ( | QEvent * | event | ) | [virtual] |
Qt event handler for QEvent::PolishRequest and QEvent::StyleChange
event | Qt Event |
Definition at line 97 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::init | ( | const QSurfaceFormat & | format | ) | [private] |
Definition at line 62 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::initializeGL | ( | ) | [protected, virtual] |
Definition at line 144 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::invalidateBackingStore | ( | ) | [virtual] |
Implements QwtPlotAbstractGLCanvas.
Definition at line 128 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Paint event
event | Paint event |
Definition at line 86 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::paintGL | ( | ) | [protected, virtual] |
Definition at line 148 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::replot | ( | ) | [slot] |
Invalidate the paint cache and repaint the canvas
Reimplemented from QwtPlotAbstractGLCanvas.
Definition at line 123 of file qwt_plot_opengl_canvas.cpp.
void QwtPlotOpenGLCanvas::resizeGL | ( | int | width, |
int | height | ||
) | [protected, virtual] |
Definition at line 212 of file qwt_plot_opengl_canvas.cpp.
PrivateData* QwtPlotOpenGLCanvas::d_data [private] |
Reimplemented from QwtPlotAbstractGLCanvas.
Definition at line 56 of file qwt_plot_opengl_canvas.h.
double QwtPlotOpenGLCanvas::borderRadius [read, write] |
Definition at line 30 of file qwt_plot_opengl_canvas.h.
QRect QwtPlotOpenGLCanvas::frameRect [read] |
Definition at line 28 of file qwt_plot_opengl_canvas.h.
QFrame::Shadow QwtPlotOpenGLCanvas::frameShadow [read, write] |
Definition at line 23 of file qwt_plot_opengl_canvas.h.
QFrame::Shape QwtPlotOpenGLCanvas::frameShape [read, write] |
Definition at line 24 of file qwt_plot_opengl_canvas.h.
int QwtPlotOpenGLCanvas::frameWidth [read] |
Definition at line 27 of file qwt_plot_opengl_canvas.h.
int QwtPlotOpenGLCanvas::lineWidth [read, write] |
Definition at line 25 of file qwt_plot_opengl_canvas.h.
int QwtPlotOpenGLCanvas::midLineWidth [read, write] |
Definition at line 26 of file qwt_plot_opengl_canvas.h.