#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. 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 |
QwtPlot * | plot () |
Return parent plot widget. More... | |
const QwtPlot * | plot () const |
Return parent plot widget. More... | |
QwtPlotAbstractCanvas (QWidget *canvasWidget) | |
void | setBorderRadius (double) |
void | setFocusIndicator (FocusIndicator) |
virtual | ~QwtPlotAbstractCanvas () |
Protected Member Functions | |
virtual void | initializeGL () |
virtual void | paintEvent (QPaintEvent *) |
virtual void | paintGL () |
virtual void | resizeGL (int width, int height) |
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 () |
void | init (const QSurfaceFormat &) |
Private Attributes | |
PrivateData * | d_data |
Additional Inherited Members | |
Public Types inherited from QwtPlotAbstractGLCanvas | |
enum | PaintAttribute { BackingStore = 1, ImmediatePaint = 8 } |
Paint attributes. More... | |
typedef QFlags< PaintAttribute > | PaintAttributes |
Paint attributes. More... | |
Public Types inherited from QwtPlotAbstractCanvas | |
enum | FocusIndicator { NoFocusIndicator, CanvasFocusIndicator, ItemFocusIndicator } |
Focus indicator The default setting is NoFocusIndicator. More... | |
Definition at line 19 of file qwt_plot_opengl_canvas.h.
|
explicit |
Constructor.
plot | Parent plot widget |
Definition at line 45 of file qwt_plot_opengl_canvas.cpp.
|
explicit |
Definition at line 55 of file qwt_plot_opengl_canvas.cpp.
|
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.
|
privatevirtual |
Implements QwtPlotAbstractGLCanvas.
Definition at line 133 of file qwt_plot_opengl_canvas.cpp.
|
virtual |
Qt event handler for QEvent::PolishRequest and QEvent::StyleChange
event | Qt Event |
Definition at line 97 of file qwt_plot_opengl_canvas.cpp.
|
private |
Definition at line 62 of file qwt_plot_opengl_canvas.cpp.
|
protectedvirtual |
Definition at line 144 of file qwt_plot_opengl_canvas.cpp.
|
virtual |
Implements QwtPlotAbstractGLCanvas.
Definition at line 128 of file qwt_plot_opengl_canvas.cpp.
|
protectedvirtual |
Paint event
event | Paint event |
Definition at line 86 of file qwt_plot_opengl_canvas.cpp.
|
protectedvirtual |
Definition at line 148 of file qwt_plot_opengl_canvas.cpp.
|
slot |
Definition at line 123 of file qwt_plot_opengl_canvas.cpp.
|
protectedvirtual |
Definition at line 212 of file qwt_plot_opengl_canvas.cpp.
|
private |
Definition at line 56 of file qwt_plot_opengl_canvas.h.
|
readwrite |
Definition at line 30 of file qwt_plot_opengl_canvas.h.
|
read |
Definition at line 28 of file qwt_plot_opengl_canvas.h.
|
readwrite |
Definition at line 23 of file qwt_plot_opengl_canvas.h.
|
readwrite |
Definition at line 24 of file qwt_plot_opengl_canvas.h.
|
read |
Definition at line 27 of file qwt_plot_opengl_canvas.h.
|
readwrite |
Definition at line 25 of file qwt_plot_opengl_canvas.h.
|
readwrite |
Definition at line 26 of file qwt_plot_opengl_canvas.h.