QTfrontend/hedgehogerWidget.h
changeset 140 50ccde437ea1
parent 132 2d0f404cdf05
child 147 52a3c431db8a
equal deleted inserted replaced
139:340ded7cc336 140:50ccde437ea1
     7 {
     7 {
     8   Q_OBJECT
     8   Q_OBJECT
     9 
     9 
    10  public:
    10  public:
    11   CHedgehogerWidget(QWidget * parent = 0);
    11   CHedgehogerWidget(QWidget * parent = 0);
       
    12   unsigned char getHedgehogsNum();
    12 
    13 
    13  protected:
    14  protected:
    14   virtual void paintEvent(QPaintEvent* event);
    15   virtual void paintEvent(QPaintEvent* event);
    15   virtual void mousePressEvent ( QMouseEvent * event );
    16   virtual void mousePressEvent ( QMouseEvent * event );
    16   
    17   
    17  private:
    18  private:
    18   unsigned char numHedgedogs;
    19   unsigned char numHedgehogs;
    19 };
    20 };
    20 
    21 
    21 #endif // _HEDGEHOGER_WIDGET
    22 #endif // _HEDGEHOGER_WIDGET