QTfrontend/teamselhelper.cpp
changeset 612 333d095319de
parent 486 7ea71cd3acd5
child 749 3acf2371d73c
equal deleted inserted replaced
611:8cf6d27cec86 612:333d095319de
    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()));