QTfrontend/hedgehogerWidget.h
author displacer
Fri, 15 Sep 2006 15:45:30 +0000
changeset 147 52a3c431db8a
parent 140 50ccde437ea1
child 150 d9e8a336195c
permissions -rw-r--r--
maximum number of teams and hedgehogs

#ifndef _HEDGEHOGER_WIDGET
#define _HEDGEHOGER_WIDGET

#include <QWidget>

class CHedgehogerWidget : public QWidget
{
  Q_OBJECT

 public:
  CHedgehogerWidget(QWidget * parent = 0);
  ~CHedgehogerWidget();
  unsigned char getHedgehogsNum();

 protected:
  virtual void paintEvent(QPaintEvent* event);
  virtual void mousePressEvent ( QMouseEvent * event );
  
 private:
  unsigned char numHedgehogs;
};

#endif // _HEDGEHOGER_WIDGET