10 #ifndef QWT_PLOT_OPENGL_CANVAS_H 
   11 #define QWT_PLOT_OPENGL_CANVAS_H 
   13 #include "qwt_global.h" 
   14 #include "qwt_plot_abstract_canvas.h" 
   16 #include <qopenglwidget.h> 
   38     Q_PROPERTY( QFrame::Shadow frameShadow READ frameShadow WRITE setFrameShadow )
 
   39     Q_PROPERTY( QFrame::Shape frameShape READ frameShape WRITE setFrameShape )
 
   40     Q_PROPERTY( 
int lineWidth READ lineWidth WRITE setLineWidth )
 
   41     Q_PROPERTY( 
int midLineWidth READ midLineWidth WRITE setMidLineWidth )
 
   42     Q_PROPERTY( 
int frameWidth READ frameWidth )
 
   43     Q_PROPERTY( QRect frameRect READ frameRect DESIGNABLE 
false )
 
   45     Q_PROPERTY( 
double borderRadius READ borderRadius WRITE setBorderRadius )
 
   53     Q_INVOKABLE QPainterPath borderPath( 
const QRect& ) 
const;
 
   55     virtual bool event( QEvent* ) QWT_OVERRIDE;
 
   61     virtual void paintEvent( QPaintEvent* ) QWT_OVERRIDE;
 
   63     virtual void initializeGL() QWT_OVERRIDE;
 
   64     virtual void paintGL() QWT_OVERRIDE;
 
   65     virtual void resizeGL( 
int width, 
int height ) QWT_OVERRIDE;
 
   68     void init( 
const QSurfaceFormat& );
 
   69     virtual void clearBackingStore() QWT_OVERRIDE;
 
Base class of QwtPlotOpenGLCanvas and QwtPlotGLCanvas.
virtual void invalidateBackingStore()=0
Invalidate the internal backing store.
An alternative canvas for a QwtPlot derived from QOpenGLWidget.