static const int DEFAULT_HEIGHT = 480;
DrawingWindow(ThreadFunction fun,
static const int DEFAULT_HEIGHT = 480;
DrawingWindow(ThreadFunction fun,
void setColor(unsigned int color);
void setColor(const char *name);
void setColor(float red, float green, float blue);
void setColor(unsigned int color);
void setColor(const char *name);
void setColor(float red, float green, float blue);
void keyPressEvent(QKeyEvent *ev);
void paintEvent(QPaintEvent *ev);
void showEvent(QShowEvent *ev);
void timerEvent(QTimerEvent *ev);
private:
void keyPressEvent(QKeyEvent *ev);
void paintEvent(QPaintEvent *ev);
void showEvent(QShowEvent *ev);
void timerEvent(QTimerEvent *ev);
private: