QTfrontend/frameTeam.cpp
changeset 1424 2b45d88716b0
parent 1389 6e411559cc7b
child 1475 bab5650fc894
equal deleted inserted replaced
1423:c23fa62f7c46 1424:2b45d88716b0
    23 #include "frameTeam.h"
    23 #include "frameTeam.h"
    24 #include "teamselhelper.h"
    24 #include "teamselhelper.h"
    25 #include "hwconsts.h"
    25 #include "hwconsts.h"
    26 
    26 
    27 FrameTeams::FrameTeams(QWidget* parent) :
    27 FrameTeams::FrameTeams(QWidget* parent) :
    28   QWidget(parent), maxHedgehogsPerGame(18), overallHedgehogs(0), mainLayout(this), nonInteractive(false)
    28   QFrame(parent), maxHedgehogsPerGame(18), overallHedgehogs(0), mainLayout(this), nonInteractive(false)
    29 {
    29 {
    30 	QPalette newPalette = palette();
    30 	QPalette newPalette = palette();
    31 	newPalette.setColor(QPalette::Window, QColor(0x13, 0x0f, 0x2c));
    31 	newPalette.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));
    32 	setPalette(newPalette);
    32 	setPalette(newPalette);
    33 	setAutoFillBackground(true);
    33 	setAutoFillBackground(true);
    34 	
    34 	
    35 	mainLayout.setSpacing(1);
    35 	mainLayout.setSpacing(1);
    36 
    36