equal
deleted
inserted
replaced
92 QGroupBox(parent), mainLayout(this) |
92 QGroupBox(parent), mainLayout(this) |
93 { |
93 { |
94 setTitle(QGroupBox::tr("Playing teams")); |
94 setTitle(QGroupBox::tr("Playing teams")); |
95 framePlaying=new FrameTeams(); |
95 framePlaying=new FrameTeams(); |
96 frameDontPlaying=new FrameTeams(); |
96 frameDontPlaying=new FrameTeams(); |
97 addScrArea(framePlaying, QColor("DarkTurquoise")); |
97 // addScrArea(framePlaying, QColor("DarkTurquoise")); |
98 addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow")); |
98 // addScrArea(frameDontPlaying, QColor("LightGoldenrodYellow")); |
|
99 QPalette p; |
|
100 addScrArea(framePlaying, p.color(QPalette::Window).light(105)); |
|
101 addScrArea(frameDontPlaying, p.color(QPalette::Window).dark(105)); |
99 } |
102 } |
100 |
103 |
101 void TeamSelWidget::resetPlayingTeams(const QList<HWTeam>& teamslist) |
104 void TeamSelWidget::resetPlayingTeams(const QList<HWTeam>& teamslist) |
102 { |
105 { |
103 list<HWTeam>::iterator it; |
106 list<HWTeam>::iterator it; |