tools/MissionsEditor/hedgehogedit.h
branch0.9.14
changeset 4271 3fa9eb4d25b9
parent 4268 cc20f79361d8
child 4273 4035d5b78eeb
child 4274 8292066cb45c
equal deleted inserted replaced
4268:cc20f79361d8 4271:3fa9eb4d25b9
     1 #ifndef HEDGEHOGEDIT_H
       
     2 #define HEDGEHOGEDIT_H
       
     3 
       
     4 #include <QtGui/QFrame>
       
     5 
       
     6 namespace Ui {
       
     7     class HedgehogEdit;
       
     8 }
       
     9 
       
    10 class HedgehogEdit : public QFrame {
       
    11     Q_OBJECT
       
    12 public:
       
    13     HedgehogEdit(QWidget *parent = 0);
       
    14     ~HedgehogEdit();
       
    15 
       
    16     void setHedgehog(quint32 level = 0, quint32 health = 100, const QString & name = QString());
       
    17     void setHat(const QString & name);
       
    18     void setCoordinates(int x, int y);
       
    19 
       
    20 protected:
       
    21     void changeEvent(QEvent *e);
       
    22 
       
    23 private:
       
    24     Ui::HedgehogEdit *m_ui;
       
    25 };
       
    26 
       
    27 #endif // HEDGEHOGEDIT_H