diff options
Diffstat (limited to 'app/draw.hpp')
-rw-r--r-- | app/draw.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/draw.hpp b/app/draw.hpp index 41d5d9c..f8e93a4 100644 --- a/app/draw.hpp +++ b/app/draw.hpp @@ -2,6 +2,7 @@ #define DRAW_H #include <qimage.h> +#include <qtimer.h> #include <qwidget.h> class DrawWidget : public QWidget { @@ -15,9 +16,14 @@ class DrawWidget : public QWidget { unsigned m_width, m_height; ~DrawWidget(); + private slots: + void redraw(); + private: QImage m_img; unsigned char i; + + QTimer m_timer; }; #endif |