10 #ifndef QWT_PLOT_GLCANVAS_H
11 #define QWT_PLOT_GLCANVAS_H
13 #include "qwt_global.h"
16 #include <qpainterpath.h>
44 Q_PROPERTY(
Shadow frameShadow READ frameShadow WRITE setFrameShadow )
45 Q_PROPERTY(
Shape frameShape READ frameShape WRITE setFrameShape )
46 Q_PROPERTY(
int lineWidth READ lineWidth WRITE setLineWidth )
47 Q_PROPERTY(
int midLineWidth READ midLineWidth WRITE setMidLineWidth )
48 Q_PROPERTY(
int frameWidth READ frameWidth )
49 Q_PROPERTY( QRect frameRect READ frameRect DESIGNABLE
false )
63 Plain = QFrame::Plain,
66 Raised = QFrame::Raised,
69 Sunken = QFrame::Sunken
85 NoFrame = QFrame::NoFrame,
94 void setFrameStyle(
int style );
95 int frameStyle()
const;
97 void setFrameShadow( Shadow );
98 Shadow frameShadow()
const;
100 void setFrameShape( Shape );
101 Shape frameShape()
const;
103 void setLineWidth(
int );
104 int lineWidth()
const;
106 void setMidLineWidth(
int );
107 int midLineWidth()
const;
109 int frameWidth()
const;
110 QRect frameRect()
const;
112 Q_INVOKABLE QPainterPath borderPath(
const QRect & )
const;
114 virtual bool event( QEvent * );
120 virtual void paintEvent( QPaintEvent * );
122 virtual void drawBackground( QPainter * );
123 virtual void drawBorder( QPainter * );
124 virtual void drawItems( QPainter * );