author | sheepluva |
Mon, 28 Jun 2010 09:33:10 +0200 | |
changeset 3580 | 85bd667955f2 |
parent 2596 | 41b46f83d088 |
permissions | -rw-r--r-- |
2589 | 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 |
||
2596
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
16 |
void reset(); |
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
17 |
void setTeam(const QString & teamName = QString(), quint32 color = 0xdd0000); |
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
18 |
void addHedgehog(quint32 level = 0, quint32 health = 100, const QString & name = QString()); |
2594 | 19 |
void setFort(const QString & name); |
20 |
void setGrave(const QString & name); |
|
2596
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
21 |
void setLastHHHat(const QString & name); |
41b46f83d088
Compete loading teams/hedgehogs part from mission config
unc0rr
parents:
2594
diff
changeset
|
22 |
void setLastHHCoords(int x, int y); |
2594 | 23 |
void setVoicepack(const QString & name); |
2589 | 24 |
protected: |
25 |
void changeEvent(QEvent *e); |
|
26 |
||
27 |
private: |
|
28 |
Ui::TeamEdit *m_ui; |
|
29 |
}; |
|
30 |
||
31 |
#endif // TEAMEDIT_H |