equal
deleted
inserted
replaced
20 #define _TEAMSEL_HELPER_INCLUDED |
20 #define _TEAMSEL_HELPER_INCLUDED |
21 |
21 |
22 #include <QLabel> |
22 #include <QLabel> |
23 #include <QWidget> |
23 #include <QWidget> |
24 #include <QString> |
24 #include <QString> |
|
25 #include <QPushButton> |
25 |
26 |
26 #include "teamselect.h" |
27 #include "teamselect.h" |
27 #include "hedgehogerWidget.h" |
28 #include "hedgehogerWidget.h" |
28 |
29 |
29 class TeamLabel : public QLabel |
30 class TeamLabel : public QLabel |
45 { |
46 { |
46 Q_OBJECT |
47 Q_OBJECT |
47 |
48 |
48 private slots: |
49 private slots: |
49 void activateTeam(); |
50 void activateTeam(); |
|
51 void changeTeamColor(); |
50 |
52 |
51 public: |
53 public: |
52 TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent); |
54 TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent); |
53 void setPlaying(bool isPlaying); |
55 void setPlaying(bool isPlaying); |
54 unsigned char getHedgehogsNum() const; |
56 HWTeamTempParams getTeamParams() const; |
55 |
57 |
56 private: |
58 private: |
57 TeamShowWidget(); |
59 TeamShowWidget(); |
58 QHBoxLayout mainLayout; |
60 QHBoxLayout mainLayout; |
59 HWTeam m_team; |
61 HWTeam m_team; |
60 bool m_isPlaying; |
62 bool m_isPlaying; |
61 CHedgehogerWidget* phhoger; |
63 CHedgehogerWidget* phhoger; |
|
64 QPushButton* colorButt; |
62 |
65 |
63 signals: |
66 signals: |
64 void teamStatusChanged(HWTeam team); |
67 void teamStatusChanged(HWTeam team); |
65 }; |
68 }; |
66 |
69 |