--- a/QTfrontend/hwform.cpp Sat Jan 13 15:13:23 2007 +0000
+++ b/QTfrontend/hwform.cpp Sat Jan 13 22:12:30 2007 +0000
@@ -313,6 +313,14 @@
for(QStringList::iterator it=addedTeams.begin(); it!=addedTeams.end(); ++it) {
ui.pageNetGame->pNetTeamsWidget->addTeam(*it, true);
}
+
+ /*
+ QStringList lstQSPlaying;
+ std::for_each(lstPlaying.begin(), lstPlaying.end(), lstQSPlaying.push_back);
+ QStringList removedTeams=teams;
+ for(QStringList::iterator it=teams.begin()
+ list<HWTeam>::iterator removedItem=std::find(addedTeams.begin(), addedTeams.end(), nm);
+ */
}
void HWForm::StartMPGame()
--- a/QTfrontend/pages.cpp Sat Jan 13 15:13:23 2007 +0000
+++ b/QTfrontend/pages.cpp Sat Jan 13 22:12:30 2007 +0000
@@ -447,13 +447,9 @@
{
QFont * font14 = new QFont("MS Shell Dlg", 14);
QGridLayout * pageLayout = new QGridLayout(this);
- //pageLayout->setColumnStretch(0, 1);
- //pageLayout->setColumnStretch(1, 2);
- //pageLayout->setColumnStretch(2, 1);
pGameCFG=new GameCFGWidget(this);
pageLayout->addWidget(pGameCFG, 0, 0);
-
pNetTeamsWidget=new TeamSelWidget(this);
pageLayout->addWidget(pNetTeamsWidget, 0, 1);
@@ -463,18 +459,10 @@
BtnBack->setText(QPushButton::tr("Back"));
pageLayout->addWidget(BtnBack, 1, 0);
- BtnAddTeam = new QPushButton(this);
- BtnAddTeam->setFont(*font14);
- BtnAddTeam->setText(QPushButton::tr("Add Team"));
- //pageLayout->addWidget(BtnAddTeam, 1, 1);
-
BtnGo = new QPushButton(this);
BtnGo->setFont(*font14);
BtnGo->setText(QPushButton::tr("Go!"));
pageLayout->addWidget(BtnGo, 1, 1);
-
- listNetTeams = new QListWidget(this);
- //pageLayout->addWidget(listNetTeams, 0, 1);
}
PageInfo::PageInfo(QWidget* parent) : QWidget(parent)
--- a/QTfrontend/pages.h Sat Jan 13 15:13:23 2007 +0000
+++ b/QTfrontend/pages.h Sat Jan 13 22:12:30 2007 +0000
@@ -187,9 +187,7 @@
PageNetGame(QWidget* parent = 0);
QPushButton *BtnBack;
- QPushButton *BtnAddTeam;
QPushButton *BtnGo;
- QListWidget *listNetTeams;
TeamSelWidget* pNetTeamsWidget;