diff -r c3eda0c68cd6 -r 27e2b5bb6d4b QTfrontend/teamselect.h --- a/QTfrontend/teamselect.h Sun Feb 05 18:51:54 2006 +0000 +++ b/QTfrontend/teamselect.h Fri Feb 24 16:06:12 2006 +0000 @@ -3,16 +3,19 @@ #include #include -#include +class QFrame; #include #include +class TeamSelWidget; +class FrameTeams; + using namespace std; struct tmprop { - tmprop(QString nm) : teamName(nm){}; + tmprop(QString nm) : teamName(nm) {}; QString teamName; QString pixmapFileName; bool operator==(const tmprop& t1) const { @@ -36,16 +39,14 @@ void changeTeamStatus(tmprop team); private: - QVBoxLayout mainLayout; + void addScrArea(FrameTeams* pfteams, QColor color); + FrameTeams* frameDontPlaying; + FrameTeams* framePlaying; - QFrame* playingColorFrame; - QFrame* dontPlayingColorFrame; - QGridLayout* playingLayout; - QGridLayout* dontPlayingLayout; + QVBoxLayout mainLayout; list curPlayingTeams; list curDontPlayingTeams; - map teamToWidget; }; #endif // _TEAM_SELECT_INCLUDED