QTfrontend/frameTeam.h
changeset 383 09a8795105a4
parent 382 e7220e48ead1
child 471 e1eb64ba5e9c
equal deleted inserted replaced
382:e7220e48ead1 383:09a8795105a4
    36  public:
    36  public:
    37   FrameTeams(QWidget* parent=0);
    37   FrameTeams(QWidget* parent=0);
    38   QWidget* getTeamWidget(HWTeam team);
    38   QWidget* getTeamWidget(HWTeam team);
    39   bool isFullTeams() const;
    39   bool isFullTeams() const;
    40   void resetColors();
    40   void resetColors();
       
    41   void resetTeams();
    41   void setHHNum(const HWTeam& team);
    42   void setHHNum(const HWTeam& team);
    42   void setTeamColor(const HWTeam& team);
    43   void setTeamColor(const HWTeam& team);
    43   void setNonInteractive();
    44   void setNonInteractive();
    44   QColor getNextColor() const;
    45   QColor getNextColor() const;
    45 
    46 
    57   QList<QColor>::Iterator currentColor;
    58   QList<QColor>::Iterator currentColor;
    58 
    59 
    59   void emitTeamColorChanged(const HWTeam& team);
    60   void emitTeamColorChanged(const HWTeam& team);
    60 
    61 
    61   QVBoxLayout mainLayout;
    62   QVBoxLayout mainLayout;
    62   typedef QMultiMap<HWTeam, QWidget*> tmapTeamToWidget;
    63   typedef QMap<HWTeam, QWidget*> tmapTeamToWidget;
    63   tmapTeamToWidget teamToWidget;
    64   tmapTeamToWidget teamToWidget;
    64   bool nonInteractive;
    65   bool nonInteractive;
    65 };
    66 };
    66 
    67 
    67 #endif // _FRAME_TAM_INCLUDED
    68 #endif // _FRAME_TAM_INCLUDED