tools/MissionsEditor/teamedit.h
branchexperimental3D
changeset 4343 19cbea33e4d2
parent 4006 45b63c2a694f
parent 4341 46b8791e577f
child 4345 2c93d6a10869
equal deleted inserted replaced
4006:45b63c2a694f 4343:19cbea33e4d2
     1 #ifndef TEAMEDIT_H
       
     2 #define TEAMEDIT_H
       
     3 
       
     4 #include <QtGui/QWidget>
       
     5 
       
     6 namespace Ui {
       
     7     class TeamEdit;
       
     8 }
       
     9 
       
    10 class TeamEdit : public QWidget {
       
    11     Q_OBJECT
       
    12 public:
       
    13     TeamEdit(QWidget *parent = 0);
       
    14     ~TeamEdit();
       
    15 
       
    16     void reset();
       
    17     void setTeam(const QString & teamName = QString(), quint32 color = 0xdd0000);
       
    18     void addHedgehog(quint32 level = 0, quint32 health = 100, const QString & name = QString());
       
    19     void setFort(const QString & name);
       
    20     void setGrave(const QString & name);
       
    21     void setLastHHHat(const QString & name);
       
    22     void setLastHHCoords(int x, int y);
       
    23     void setVoicepack(const QString & name);
       
    24 protected:
       
    25     void changeEvent(QEvent *e);
       
    26 
       
    27 private:
       
    28     Ui::TeamEdit *m_ui;
       
    29 };
       
    30 
       
    31 #endif // TEAMEDIT_H