10 #ifndef QWT_PLOT_ABSTRACT_CANVAS_H 
   11 #define QWT_PLOT_ABSTRACT_CANVAS_H 
   13 #include "qwt_global.h" 
   55     void setFocusIndicator( FocusIndicator );
 
   56     FocusIndicator focusIndicator() 
const;
 
   58     void setBorderRadius( 
double );
 
   59     double borderRadius() 
const;
 
   62     QWidget* canvasWidget();
 
   63     const QWidget* canvasWidget() 
const;
 
   65     virtual void drawFocusIndicator( QPainter* );
 
   66     virtual void drawBorder( QPainter* );
 
   67     virtual void drawBackground( QPainter* );
 
   69     void fillBackground( QPainter* );
 
   70     void drawCanvas( QPainter* );
 
   71     void drawStyled( QPainter*, 
bool );
 
   72     void drawUnstyled( QPainter* );
 
   74     QPainterPath canvasBorderPath( 
const QRect& rect ) 
const;
 
   75     void updateStyleSheetInfo();
 
  130     void setFrameStyle( 
int style );
 
  131     int frameStyle() 
const;
 
  133     void setFrameShadow( QFrame::Shadow );
 
  134     QFrame::Shadow frameShadow() 
const;
 
  136     void setFrameShape( QFrame::Shape );
 
  137     QFrame::Shape frameShape() 
const;
 
  139     void setLineWidth( 
int );
 
  140     int lineWidth() 
const;
 
  142     void setMidLineWidth( 
int );
 
  143     int midLineWidth() 
const;
 
  145     int frameWidth() 
const;
 
  146     QRect frameRect() 
const;
 
  153     void draw( QPainter* );
 
  156     virtual void clearBackingStore() = 0;
 
Base class for all type of plot canvases.
FocusIndicator
Focus indicator The default setting is NoFocusIndicator.
@ NoFocusIndicator
Don't paint a focus indicator.
Base class of QwtPlotOpenGLCanvas and QwtPlotGLCanvas.
virtual void invalidateBackingStore()=0
Invalidate the internal backing store.
PaintAttribute
Paint attributes.
QFlags< PaintAttribute > PaintAttributes
Paint attributes.