QTfrontend/frameTeam.h
changeset 348 c91b983de18f
parent 240 c7f0a4f7a54a
child 352 4665bfe25470
equal deleted inserted replaced
347:6521e1b2cd40 348:c91b983de18f
    20 #define _FRAME_TEAM_INCLUDED
    20 #define _FRAME_TEAM_INCLUDED
    21 
    21 
    22 #include <QWidget>
    22 #include <QWidget>
    23 #include <QList>
    23 #include <QList>
    24 #include <QColor>
    24 #include <QColor>
       
    25 #include <QMultiMap>
    25 
    26 
    26 #include "teamselect.h"
    27 #include "teamselect.h"
    27 #include <map>
       
    28 
    28 
    29 class FrameTeams : public QWidget
    29 class FrameTeams : public QWidget
    30 {
    30 {
    31   Q_OBJECT
    31   Q_OBJECT
    32 
    32 
    48   int overallHedgehogs;
    48   int overallHedgehogs;
    49   QList<QColor> availableColors;
    49   QList<QColor> availableColors;
    50   QList<QColor>::Iterator currentColor;
    50   QList<QColor>::Iterator currentColor;
    51 
    51 
    52   QVBoxLayout mainLayout;
    52   QVBoxLayout mainLayout;
    53   typedef map<HWTeam, QWidget*> tmapTeamToWidget;
    53   typedef QMultiMap<HWTeam, QWidget*> tmapTeamToWidget;
    54   tmapTeamToWidget teamToWidget;
    54   tmapTeamToWidget teamToWidget;
    55 };
    55 };
    56 
    56 
    57 #endif // _FRAME_TAM_INCLUDED
    57 #endif // _FRAME_TAM_INCLUDED