tools/MissionsEditor/hedgehogedit.h
changeset 4309 a69c73c5d173
parent 4307 eb0f5c45e7ab
parent 4283 7dbdaeecebbf
child 4312 2610ad7c6d6c
child 4313 0690067bc5ff
equal deleted inserted replaced
4307:eb0f5c45e7ab 4309:a69c73c5d173
     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