equal
deleted
inserted
replaced
66 // team color |
66 // team color |
67 colorButt = new QPushButton(this); |
67 colorButt = new QPushButton(this); |
68 colorButt->setMaximumWidth(26); |
68 colorButt->setMaximumWidth(26); |
69 colorButt->setMinimumHeight(26); |
69 colorButt->setMinimumHeight(26); |
70 colorButt->setGeometry(0, 0, 26, 26); |
70 colorButt->setGeometry(0, 0, 26, 26); |
71 |
71 |
72 changeTeamColor(); |
72 changeTeamColor(); |
73 connect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor())); |
73 connect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor())); |
74 mainLayout.addWidget(colorButt); |
74 mainLayout.addWidget(colorButt); |
75 |
75 |
76 phhoger = new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this); |
76 phhoger = new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this); |
86 void TeamShowWidget::setInteractivity(bool interactive) |
86 void TeamShowWidget::setInteractivity(bool interactive) |
87 { |
87 { |
88 if(m_team.isNetTeam()) { |
88 if(m_team.isNetTeam()) { |
89 butt->setEnabled(interactive); |
89 butt->setEnabled(interactive); |
90 } |
90 } |
91 |
91 |
92 colorButt->setEnabled(interactive); |
92 colorButt->setEnabled(interactive); |
93 phhoger->setEnabled(interactive); |
93 phhoger->setEnabled(interactive); |
94 } |
94 } |
95 |
95 |
96 void TeamShowWidget::setHHNum(unsigned int num) |
96 void TeamShowWidget::setHHNum(unsigned int num) |