equal
deleted
inserted
replaced
12 |
12 |
13 void TeamSelWidget::addTeam(tmprop team) |
13 void TeamSelWidget::addTeam(tmprop team) |
14 { |
14 { |
15 frameDontPlaying->addTeam(team); |
15 frameDontPlaying->addTeam(team); |
16 curDontPlayingTeams.push_back(team); |
16 curDontPlayingTeams.push_back(team); |
17 QObject::connect(frameDontPlaying->getTeamWidget(team), SIGNAL(teamStatusChanged(tmprop)), |
17 QObject::connect(frameDontPlaying->getTeamWidget(team), SIGNAL(teamStatusChanged(tmprop)), |
18 this, SLOT(changeTeamStatus(tmprop))); |
18 this, SLOT(changeTeamStatus(tmprop))); |
19 } |
19 } |
20 |
20 |
21 void TeamSelWidget::removeTeam(tmprop team) |
21 void TeamSelWidget::removeTeam(tmprop team) |
22 { |
22 { |
54 |
54 |
55 void TeamSelWidget::addScrArea(FrameTeams* pfteams, QColor color) |
55 void TeamSelWidget::addScrArea(FrameTeams* pfteams, QColor color) |
56 { |
56 { |
57 VertScrArea* area=new VertScrArea(color); |
57 VertScrArea* area=new VertScrArea(color); |
58 area->setWidget(pfteams); |
58 area->setWidget(pfteams); |
59 mainLayout.addWidget(area, 50); |
59 mainLayout.addWidget(area, 30); |
60 } |
60 } |
61 |
61 |
62 TeamSelWidget::TeamSelWidget(QWidget* parent) : |
62 TeamSelWidget::TeamSelWidget(QWidget* parent) : |
63 QWidget(parent), mainLayout(this) |
63 QWidget(parent), mainLayout(this) |
64 { |
64 { |