QTfrontend/ui/widget/teamselhelper.cpp
branchios-develop
changeset 13413 ba39a1d396c0
parent 13228 d23742ccf92b
equal deleted inserted replaced
13411:6e8b807bda4b 13413:ba39a1d396c0
    55 
    55 
    56     butt = new QPushButton(difficultyIcon, team.name().replace("&","&&"), this);
    56     butt = new QPushButton(difficultyIcon, team.name().replace("&","&&"), this);
    57     butt->setFlat(true);
    57     butt->setFlat(true);
    58     butt->setToolTip(team.owner());
    58     butt->setToolTip(team.owner());
    59     mainLayout.addWidget(butt);
    59     mainLayout.addWidget(butt);
    60     butt->setStyleSheet("QPushButton{"
       
    61                         "icon-size: 48px;"
       
    62                         "text-align: left;"
       
    63                         "background-color: #0d0544;"
       
    64                         "color: orange;"
       
    65                         "font: bold;"
       
    66                         "border-width: 2px;"
       
    67                         "margin: 6px 0px 6px 0px;"
       
    68                         "}");
       
    69 
    60 
    70     if(m_isPlaying)
    61     if(m_isPlaying)
    71     {
    62     {
    72         // team color
    63         // team color
    73         colorWidget = new ColorWidget(DataManager::instance().colorsModel(), this);
    64         colorWidget = new ColorWidget(DataManager::instance().colorsModel(), this);