12 #ifndef QWT_PLOT_CANVAS_H
13 #define QWT_PLOT_CANVAS_H
17 #include "qwt_global.h"
90 void setFocusIndicator(FocusIndicator);
91 FocusIndicator focusIndicator()
const;
93 void setPaintAttribute(PaintAttribute,
bool on =
true);
94 bool testPaintAttribute(PaintAttribute)
const;
96 QPixmap *paintCache();
97 const QPixmap *paintCache()
const;
98 void invalidatePaintCache();
103 virtual void hideEvent(QHideEvent *);
105 virtual void paintEvent(QPaintEvent *);
107 virtual void drawContents(QPainter *);
108 virtual void drawFocusIndicator(QPainter *);
110 void drawCanvas(QPainter *painter = NULL);
113 void setSystemBackground(
bool);