QTfrontend/frameTeam.h
author unc0rr
Sun, 30 Jul 2006 18:59:35 +0000
changeset 92 0c359a7a2356
parent 63 27e2b5bb6d4b
child 117 d21a48200772
permissions -rw-r--r--
- Fix win message to appear only after all hedgehogs death - 2 more land templates

#ifndef _FRAME_TEAM_INCLUDED
#define _FRAME_TEAM_INCLUDED

#include <QWidget>

#include "teamselect.h"
#include <map>

class FrameTeams : public QWidget
{
  Q_OBJECT

 public:
  FrameTeams(QWidget* parent=0);
  QWidget* getTeamWidget(tmprop team);

 public slots:
  void addTeam(tmprop team);
  void removeTeam(tmprop team);

 private:
  QVBoxLayout mainLayout;
  typedef map<tmprop, QWidget*> tmapTeamToWidget;
  tmapTeamToWidget teamToWidget;
};

#endif // _FRAME_TAM_INCLUDED