--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/QTfrontend/teamselhelper.cpp Sun Jan 15 23:31:34 2006 +0000
@@ -0,0 +1,30 @@
+#include "teamselhelper.h"
+
+#include <QPixmap>
+#include <QPushButton>
+
+void TeamLabel::teamButtonClicked()
+{
+ emit teamActivated(text());
+}
+
+TeamShowWidget::TeamShowWidget(tmprop team) :
+ mainLayout(this), m_team(team)
+{
+ QLabel* pixlbl=new QLabel();
+ pixlbl->setPixmap(QPixmap("./Data/Graphics/thinking.png"));
+ mainLayout.addWidget(pixlbl);
+
+ TeamLabel* lbl=new TeamLabel(team.teamName);
+ mainLayout.addWidget(lbl);
+
+ QPushButton* butt=new QPushButton("o");
+ mainLayout.addWidget(butt);
+
+ QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam()));
+}
+
+void TeamShowWidget::activateTeam()
+{
+ emit teamStatusChanged(m_team);
+}