tools/MissionsEditor/teamedit.h
author unc0rr
Fri, 30 Oct 2009 19:28:44 +0000
changeset 2594 0047e16dbacb
parent 2589 4329597c85c8
child 2596 41b46f83d088
permissions -rw-r--r--
Add loading team parameters

#ifndef TEAMEDIT_H
#define TEAMEDIT_H

#include <QtGui/QWidget>

namespace Ui {
    class TeamEdit;
}

class TeamEdit : public QWidget {
    Q_OBJECT
public:
    TeamEdit(QWidget *parent = 0);
    ~TeamEdit();

    void addTeam(const QString & teamName = QString(), quint32 color = 0xdd0000);
    void setFort(const QString & name);
    void setGrave(const QString & name);
    void setVoicepack(const QString & name);
protected:
    void changeEvent(QEvent *e);

private:
    Ui::TeamEdit *m_ui;
};

#endif // TEAMEDIT_H