QTfrontend/ui/widget/teamselect.cpp
changeset 8140 a098374b847b
parent 8129 98e4a60da2ca
child 8424 225ede46e3dc
equal deleted inserted replaced
8138:cfb228baa598 8140:a098374b847b
   267     framePlaying = new FrameTeams();
   267     framePlaying = new FrameTeams();
   268     frameDontPlaying = new FrameTeams();
   268     frameDontPlaying = new FrameTeams();
   269 
   269 
   270     // Add notice about number of required teams.
   270     // Add notice about number of required teams.
   271     numTeamNotice = new QLabel("Two teams are required to play!");
   271     numTeamNotice = new QLabel("Two teams are required to play!");
   272     mainLayout.addWidget((QWidget*)numTeamNotice);
   272     mainLayout.addWidget(numTeamNotice);
   273 
   273 
   274     QPalette p;
   274     QPalette p;
   275     p.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));
   275     p.setColor(QPalette::Window, QColor(0x00, 0x00, 0x00));
   276     addScrArea(framePlaying, p.color(QPalette::Window).light(105), 250);
   276     addScrArea(framePlaying, p.color(QPalette::Window).light(105), 250);
   277     addScrArea(frameDontPlaying, p.color(QPalette::Window).dark(105), 0);
   277     addScrArea(frameDontPlaying, p.color(QPalette::Window).dark(105), 0);