10 #ifndef QWT_PLOT_OPENGL_CANVAS_H 11 #define QWT_PLOT_OPENGL_CANVAS_H 16 #include <qopenglwidget.h> 24 Q_PROPERTY( QFrame::Shadow frameShadow READ frameShadow WRITE setFrameShadow )
25 Q_PROPERTY( QFrame::Shape frameShape READ frameShape WRITE setFrameShape )
26 Q_PROPERTY(
int lineWidth READ lineWidth WRITE setLineWidth )
27 Q_PROPERTY(
int midLineWidth READ midLineWidth WRITE setMidLineWidth )
28 Q_PROPERTY(
int frameWidth READ frameWidth )
29 Q_PROPERTY( QRect frameRect READ frameRect DESIGNABLE false )
31 Q_PROPERTY(
double borderRadius READ borderRadius WRITE setBorderRadius )
38 Q_INVOKABLE virtual
void invalidateBackingStore()
QWT_OVERRIDE;
39 Q_INVOKABLE QPainterPath borderPath( const QRect & ) const;
41 virtual
bool event( QEvent * ) QWT_OVERRIDE;
47 virtual
void paintEvent( QPaintEvent * ) QWT_OVERRIDE;
49 virtual
void initializeGL() QWT_OVERRIDE;
50 virtual
void paintGL() QWT_OVERRIDE;
51 virtual
void resizeGL(
int width,
int height ) QWT_OVERRIDE;
54 void init( const QSurfaceFormat & );
55 virtual
void clearBackingStore() QWT_OVERRIDE;