QTfrontend/hedgehogerWidget.h
author displacer
Sat, 16 Sep 2006 17:24:41 +0000
changeset 150 d9e8a336195c
parent 147 52a3c431db8a
child 153 dc10da2a73f9
permissions -rw-r--r--
team hedgehogs number improved

#ifndef _HEDGEHOGER_WIDGET
#define _HEDGEHOGER_WIDGET

#include <QWidget>

class FrameTeams;

class CHedgehogerWidget : public QWidget
{
  Q_OBJECT

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

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

#endif // _HEDGEHOGER_WIDGET