QTfrontend/teamselhelper.h
author unc0rr
Sun, 15 Jan 2006 23:32:58 +0000
changeset 51 b6e3ae05857f
parent 50 9ab4067dabec
child 61 505691a09dee
permissions -rw-r--r--
- Get rid of hwserv and runhelper - Rename hw -> hwengine - Updated copyright info - Fixed graves not reacting on explosion - Fixed fpc warning - Fill Land by another ( hope better) way - One more land template

#ifndef _TEAMSEL_HELPER_INCLUDED
#define _TEAMSEL_HELPER_INCLUDED

#include <QLabel>
#include <QWidget>
#include <QString>

#include "teamselect.h"

class TeamLabel : public QLabel
{
 Q_OBJECT

 public:
 TeamLabel(const QString& inp_str) : QLabel(inp_str) {};

 signals:
 void teamActivated(QString team_name);

 public slots:
 void teamButtonClicked();

};

class TeamShowWidget : public QWidget
{
 Q_OBJECT

 private slots:
 void activateTeam();

 public:
 TeamShowWidget(tmprop team);
 
 private:
 QHBoxLayout mainLayout;
 tmprop m_team;

 signals:
 void teamStatusChanged(tmprop team);
};

#endif // _TEAMSEL_HELPER_INCLUDED