QTfrontend/ui/widget/teamselhelper.cpp
changeset 13228 d23742ccf92b
parent 11046 47a8c19ecb60
equal deleted inserted replaced
13227:26c739440bef 13228:d23742ccf92b
    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);