QTfrontend/teamselect.cpp
changeset 1389 6e411559cc7b
parent 1066 1f1b3686a2b0
child 1424 2b45d88716b0
equal deleted inserted replaced
1388:5e7920f2e2aa 1389:6e411559cc7b
   213 
   213 
   214 TeamSelWidget::TeamSelWidget(QWidget* parent) :
   214 TeamSelWidget::TeamSelWidget(QWidget* parent) :
   215   QGroupBox(parent), mainLayout(this), m_acceptOuter(false)
   215   QGroupBox(parent), mainLayout(this), m_acceptOuter(false)
   216 {
   216 {
   217   setTitle(QGroupBox::tr("Playing teams"));
   217   setTitle(QGroupBox::tr("Playing teams"));
   218   framePlaying=new FrameTeams();
   218   framePlaying = new FrameTeams();
   219   frameDontPlaying=new FrameTeams();
   219   frameDontPlaying = new FrameTeams();
   220 //  addScrArea(framePlaying, QColor("DarkTurquoise"));
       
   221 //  addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow"));
       
   222   QPalette p;
   220   QPalette p;
       
   221   p.setColor(QPalette::Window, QColor(0x13, 0x0f, 0x2c));
   223   addScrArea(framePlaying, p.color(QPalette::Window).light(105), 200);
   222   addScrArea(framePlaying, p.color(QPalette::Window).light(105), 200);
   224   addScrArea(frameDontPlaying, p.color(QPalette::Window).dark(105), 0);
   223   addScrArea(frameDontPlaying, p.color(QPalette::Window).dark(105), 0);
   225   QPushButton * btnSetup = new QPushButton(this);
   224   QPushButton * btnSetup = new QPushButton(this);
   226   btnSetup->setText(QPushButton::tr("Setup"));
   225   btnSetup->setText(QPushButton::tr("Setup"));
   227   connect(btnSetup, SIGNAL(clicked()), this, SIGNAL(SetupClicked()));
   226   connect(btnSetup, SIGNAL(clicked()), this, SIGNAL(SetupClicked()));