10 #ifndef QWT_PLOT_GLCANVAS_H 11 #define QWT_PLOT_GLCANVAS_H 13 #include "qwt_global.h" 43 Q_PROPERTY(
Shadow frameShadow READ frameShadow WRITE setFrameShadow )
44 Q_PROPERTY(
Shape frameShape READ frameShape WRITE setFrameShape )
45 Q_PROPERTY(
int lineWidth READ lineWidth WRITE setLineWidth )
46 Q_PROPERTY(
int midLineWidth READ midLineWidth WRITE setMidLineWidth )
47 Q_PROPERTY(
int frameWidth READ frameWidth )
48 Q_PROPERTY( QRect frameRect READ frameRect DESIGNABLE
false )
62 Plain = QFrame::Plain,
65 Raised = QFrame::Raised,
68 Sunken = QFrame::Sunken
84 NoFrame = QFrame::NoFrame,
93 void setFrameStyle(
int style );
94 int frameStyle()
const;
96 void setFrameShadow( Shadow );
97 Shadow frameShadow()
const;
99 void setFrameShape( Shape );
100 Shape frameShape()
const;
102 void setLineWidth(
int );
103 int lineWidth()
const;
105 void setMidLineWidth(
int );
106 int midLineWidth()
const;
108 int frameWidth()
const;
109 QRect frameRect()
const;
111 Q_INVOKABLE QPainterPath borderPath(
const QRect & )
const;
113 virtual bool event( QEvent * );
119 virtual void paintEvent( QPaintEvent * );
121 virtual void drawBackground( QPainter * );
122 virtual void drawBorder( QPainter * );
123 virtual void drawItems( QPainter * );
Shadow
Frame shadow.
Definition: qwt_plot_glcanvas.h:59
An alternative canvas for a QwtPlot derived from QGLWidget.
Definition: qwt_plot_glcanvas.h:37
Shape
Frame shape.
Definition: qwt_plot_glcanvas.h:82
A 2-D plotting widget.
Definition: qwt_plot.h:75