equal
deleted
inserted
replaced
44 |
44 |
45 class TeamShowWidget : public QWidget |
45 class TeamShowWidget : public QWidget |
46 { |
46 { |
47 Q_OBJECT |
47 Q_OBJECT |
48 |
48 |
|
49 public slots: |
|
50 void changeTeamColor(QColor color=QColor()); |
|
51 |
49 private slots: |
52 private slots: |
50 void activateTeam(); |
53 void activateTeam(); |
51 void changeTeamColor(); |
54 void hhNumChanged(); |
52 |
55 |
53 public: |
56 public: |
54 TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent); |
57 TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent); |
55 void setPlaying(bool isPlaying); |
58 void setPlaying(bool isPlaying); |
56 void setHHNum(unsigned int num); |
59 void setHHNum(unsigned int num); |
57 void setNonInteractive(); |
60 void setNonInteractive(); |
|
61 HWTeam getTeam() const; |
58 |
62 |
59 private: |
63 private: |
60 TeamShowWidget(); |
64 TeamShowWidget(); |
61 QHBoxLayout mainLayout; |
65 QHBoxLayout mainLayout; |
62 HWTeam m_team; |
66 HWTeam m_team; |
64 CHedgehogerWidget* phhoger; |
68 CHedgehogerWidget* phhoger; |
65 QPushButton* colorButt; |
69 QPushButton* colorButt; |
66 QPushButton* butt; |
70 QPushButton* butt; |
67 QPushButton* bText; |
71 QPushButton* bText; |
68 |
72 |
69 private slots: |
|
70 void hhNumChanged(); |
|
71 |
|
72 signals: |
73 signals: |
73 void teamStatusChanged(HWTeam team); |
74 void teamStatusChanged(HWTeam team); |
74 void hhNmChanged(const HWTeam&); |
75 void hhNmChanged(const HWTeam&); |
|
76 void teamColorChanged(const HWTeam&); |
75 }; |
77 }; |
76 |
78 |
77 #endif // _TEAMSEL_HELPER_INCLUDED |
79 #endif // _TEAMSEL_HELPER_INCLUDED |