equal
deleted
inserted
replaced
37 FrameTeams(QWidget* parent=0); |
37 FrameTeams(QWidget* parent=0); |
38 QWidget* getTeamWidget(HWTeam team); |
38 QWidget* getTeamWidget(HWTeam team); |
39 bool isFullTeams() const; |
39 bool isFullTeams() const; |
40 void resetColors(); |
40 void resetColors(); |
41 void setHHNum(const HWTeam& team); |
41 void setHHNum(const HWTeam& team); |
|
42 void setTeamColor(const HWTeam& team); |
42 void setNonInteractive(); |
43 void setNonInteractive(); |
|
44 |
|
45 signals: |
|
46 void teamColorChanged(const HWTeam&); |
43 |
47 |
44 public slots: |
48 public slots: |
45 void addTeam(HWTeam team, bool willPlay); |
49 void addTeam(HWTeam team, bool willPlay); |
46 void removeTeam(HWTeam team); |
50 void removeTeam(HWTeam team); |
47 |
51 |
49 const int maxHedgehogsPerGame; |
53 const int maxHedgehogsPerGame; |
50 int overallHedgehogs; |
54 int overallHedgehogs; |
51 QList<QColor> availableColors; |
55 QList<QColor> availableColors; |
52 QList<QColor>::Iterator currentColor; |
56 QList<QColor>::Iterator currentColor; |
53 |
57 |
|
58 void emitTeamColorChanged(const HWTeam& team); |
|
59 |
54 QVBoxLayout mainLayout; |
60 QVBoxLayout mainLayout; |
55 typedef QMultiMap<HWTeam, QWidget*> tmapTeamToWidget; |
61 typedef QMultiMap<HWTeam, QWidget*> tmapTeamToWidget; |
56 tmapTeamToWidget teamToWidget; |
62 tmapTeamToWidget teamToWidget; |
57 bool nonInteractive; |
63 bool nonInteractive; |
58 }; |
64 }; |