QTfrontend/frameTeam.h
changeset 63 27e2b5bb6d4b
child 117 d21a48200772
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QTfrontend/frameTeam.h	Fri Feb 24 16:06:12 2006 +0000
@@ -0,0 +1,27 @@
+#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