equal
deleted
inserted
replaced
4 #include <QLabel> |
4 #include <QLabel> |
5 #include <QWidget> |
5 #include <QWidget> |
6 #include <QString> |
6 #include <QString> |
7 |
7 |
8 #include "teamselect.h" |
8 #include "teamselect.h" |
|
9 #include "hedgehogerWidget.h" |
9 |
10 |
10 class TeamLabel : public QLabel |
11 class TeamLabel : public QLabel |
11 { |
12 { |
12 Q_OBJECT |
13 Q_OBJECT |
13 |
14 |
30 void activateTeam(); |
31 void activateTeam(); |
31 |
32 |
32 public: |
33 public: |
33 TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent = 0); |
34 TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent = 0); |
34 void setPlaying(bool isPlaying); |
35 void setPlaying(bool isPlaying); |
|
36 unsigned char getHedgehogsNum(); |
35 |
37 |
36 private: |
38 private: |
37 QHBoxLayout mainLayout; |
39 QHBoxLayout mainLayout; |
38 HWTeam m_team; |
40 HWTeam m_team; |
39 bool m_isPlaying; |
41 bool m_isPlaying; |
|
42 CHedgehogerWidget* phhoger; |
40 |
43 |
41 signals: |
44 signals: |
42 void teamStatusChanged(HWTeam team); |
45 void teamStatusChanged(HWTeam team); |
43 }; |
46 }; |
44 |
47 |