QTfrontend/ui/widget/teamselect.cpp
changeset 8726 ef2abeafa7cb
parent 8432 f2d57e987ba9
child 8886 5c521d1fdd63
equal deleted inserted replaced
8725:5529b353d025 8726:ef2abeafa7cb
   255     setTitle(QGroupBox::tr("Playing teams"));
   255     setTitle(QGroupBox::tr("Playing teams"));
   256     framePlaying = new FrameTeams();
   256     framePlaying = new FrameTeams();
   257     frameDontPlaying = new FrameTeams();
   257     frameDontPlaying = new FrameTeams();
   258 
   258 
   259     // Add notice about number of required teams.
   259     // Add notice about number of required teams.
   260     numTeamNotice = new QLabel("Two teams are required to play!");
   260     numTeamNotice = new QLabel(tr("At least two teams are required to play!"));
   261     mainLayout.addWidget(numTeamNotice);
   261     mainLayout.addWidget(numTeamNotice);
   262 
   262 
   263     QPalette p;
   263     QPalette p;
   264     p.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));
   264     p.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));
   265     addScrArea(framePlaying, p.color(QPalette::Window).light(105), 150);
   265     addScrArea(framePlaying, p.color(QPalette::Window).light(105), 150);