changeset 132 | 2d0f404cdf05 |
child 140 | 50ccde437ea1 |
131:482f78c595ec | 132:2d0f404cdf05 |
---|---|
1 #ifndef _HEDGEHOGER_WIDGET |
|
2 #define _HEDGEHOGER_WIDGET |
|
3 |
|
4 #include <QWidget> |
|
5 |
|
6 class CHedgehogerWidget : public QWidget |
|
7 { |
|
8 Q_OBJECT |
|
9 |
|
10 public: |
|
11 CHedgehogerWidget(QWidget * parent = 0); |
|
12 |
|
13 protected: |
|
14 virtual void paintEvent(QPaintEvent* event); |
|
15 virtual void mousePressEvent ( QMouseEvent * event ); |
|
16 |
|
17 private: |
|
18 unsigned char numHedgedogs; |
|
19 }; |
|
20 |
|
21 #endif // _HEDGEHOGER_WIDGET |