QTfrontend/teamselhelper.cpp
changeset 1424 2b45d88716b0
parent 1419 8650a8f55006
child 1426 b80048899fa7
equal deleted inserted replaced
1423:c23fa62f7c46 1424:2b45d88716b0
    34 TeamShowWidget::TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent) :
    34 TeamShowWidget::TeamShowWidget(HWTeam team, bool isPlaying, QWidget * parent) :
    35   QWidget(parent), mainLayout(this), m_team(team), m_isPlaying(isPlaying), phhoger(0),
    35   QWidget(parent), mainLayout(this), m_team(team), m_isPlaying(isPlaying), phhoger(0),
    36   colorButt(0)
    36   colorButt(0)
    37 {
    37 {
    38 	QPalette newPalette = palette();
    38 	QPalette newPalette = palette();
    39 	newPalette.setColor(QPalette::Window, QColor(0x13, 0x0f, 0x2c));
    39 	newPalette.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));
    40 	setPalette(newPalette);
    40 	setPalette(newPalette);
    41 	setAutoFillBackground(true);
    41 	setAutoFillBackground(true);
    42 
    42 
    43 	mainLayout.setSpacing(3);
    43 	mainLayout.setSpacing(3);
    44 	mainLayout.setMargin(0);
    44 	mainLayout.setMargin(0);