equal
deleted
inserted
replaced
66 colorButt->setGeometry(0, 0, 30, 30); |
66 colorButt->setGeometry(0, 0, 30, 30); |
67 changeTeamColor(); |
67 changeTeamColor(); |
68 connect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor())); |
68 connect(colorButt, SIGNAL(clicked()), this, SLOT(changeTeamColor())); |
69 mainLayout.addWidget(colorButt); |
69 mainLayout.addWidget(colorButt); |
70 |
70 |
71 // hedgehogs num |
71 phhoger=new CHedgehogerWidget(QImage(":/res/hh25x25.png"), this); |
72 phhoger=new CHedgehogerWidget(this); |
|
73 connect(phhoger, SIGNAL(hedgehogsNumChanged()), this, SLOT(hhNumChanged())); |
72 connect(phhoger, SIGNAL(hedgehogsNumChanged()), this, SLOT(hhNumChanged())); |
74 mainLayout.addWidget(phhoger); |
73 mainLayout.addWidget(phhoger); |
75 } |
74 } |
76 |
75 |
77 QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam())); |
76 QObject::connect(butt, SIGNAL(clicked()), this, SLOT(activateTeam())); |