10 #ifndef QWT_PLOT_GLCANVAS_H
11 #define QWT_PLOT_GLCANVAS_H
13 #include "qwt_global.h"
49 Q_PROPERTY( Shadow frameShadow READ frameShadow WRITE setFrameShadow )
50 Q_PROPERTY(
Shape frameShape READ frameShape WRITE setFrameShape )
51 Q_PROPERTY(
int lineWidth READ lineWidth WRITE setLineWidth )
52 Q_PROPERTY(
int midLineWidth READ midLineWidth WRITE setMidLineWidth )
53 Q_PROPERTY(
int frameWidth READ frameWidth )
54 Q_PROPERTY( QRect frameRect READ frameRect DESIGNABLE
false )
68 Plain = QFrame::Plain,
71 Raised = QFrame::Raised,
74 Sunken = QFrame::Sunken
90 NoFrame = QFrame::NoFrame,
99 void setFrameStyle(
int style );
100 int frameStyle()
const;
102 void setFrameShadow( Shadow );
103 Shadow frameShadow()
const;
105 void setFrameShape( Shape );
106 Shape frameShape()
const;
108 void setLineWidth(
int );
109 int lineWidth()
const;
111 void setMidLineWidth(
int );
112 int midLineWidth()
const;
114 int frameWidth()
const;
115 QRect frameRect()
const;
117 Q_INVOKABLE QPainterPath borderPath(
const QRect & )
const;
119 virtual bool event( QEvent * );
125 virtual void paintEvent( QPaintEvent * );
127 virtual void drawBackground( QPainter * );
128 virtual void drawBorder( QPainter * );
129 virtual void drawItems( QPainter * );
Shadow
Frame shadow.
Definition: qwt_plot_glcanvas.h:65
An alternative canvas for a QwtPlot derived from QGLWidget.
Definition: qwt_plot_glcanvas.h:43
Shape
Frame shape.
Definition: qwt_plot_glcanvas.h:88
A 2-D plotting widget.
Definition: qwt_plot.h:74