QTfrontend/frameTeam.cpp
changeset 577 57b91a5cb547
parent 486 7ea71cd3acd5
child 616 00928b3cf505
equal deleted inserted replaced
576:35a1af355ada 577:57b91a5cb547
    20 #include "teamselhelper.h"
    20 #include "teamselhelper.h"
    21 
    21 
    22 #include <QResizeEvent>
    22 #include <QResizeEvent>
    23 #include <QCoreApplication>
    23 #include <QCoreApplication>
    24 
    24 
    25 using namespace std;
       
    26 
       
    27 FrameTeams::FrameTeams(QWidget* parent) :
    25 FrameTeams::FrameTeams(QWidget* parent) :
    28   QWidget(parent), maxHedgehogsPerGame(18), overallHedgehogs(0), mainLayout(this), nonInteractive(false)
    26   QWidget(parent), maxHedgehogsPerGame(18), overallHedgehogs(0), mainLayout(this), nonInteractive(false)
    29 {
    27 {
    30   mainLayout.setSpacing(1);
    28   mainLayout.setSpacing(1);
    31 
    29 
    32   availableColors.push_back(QColor(0, 0, 255));
    30   availableColors.push_back(QColor(  0, 255, 255));
    33   availableColors.push_back(QColor(0, 255, 0));
    31   availableColors.push_back(QColor(255, 127, 127));
    34   availableColors.push_back(QColor(0, 255, 255));
    32   availableColors.push_back(QColor(103, 167, 231));
    35   availableColors.push_back(QColor(255, 0, 0));
    33   availableColors.push_back(QColor( 37, 181,  61));
    36   availableColors.push_back(QColor(255, 0, 255));
    34   availableColors.push_back(QColor(247, 237, 112));
    37   availableColors.push_back(QColor(255, 255, 0));
    35   availableColors.push_back(QColor(192,  85, 160));
    38 
    36 
    39   resetColors();
    37   resetColors();
    40 }
    38 }
    41 
    39 
    42 void FrameTeams::setNonInteractive()
    40 void FrameTeams::setNonInteractive()