Kata Tournament Runner  0.1.00
 All Classes Namespaces Functions Variables Enumerations Groups Pages
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
TournamentRunnerGUI::MainFrame Class Reference

The MainFrame class shows the tournament overview before any round is executed. More...

#include <mainframe.h>

Inheritance diagram for TournamentRunnerGUI::MainFrame:
Inheritance graph
[legend]
Collaboration diagram for TournamentRunnerGUI::MainFrame:
Collaboration graph
[legend]

Public Slots

void register_participant_slot (TournamentRunner::Karateka participant)
 Slot to register the participant to the tournament. More...
 
void update_tournament_slot (TournamentRunner::TournamentData tournament_data)
 Slot to update the tournament data. More...
 

Signals

void start_kata_tournament (uint8_t round)
 Start tournament signal. More...
 

Public Member Functions

 MainFrame (TournamentRunner::Tournament &tournament, QWidget *parent=0)
 Default Constructor. More...
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event) final
 

Detailed Description

The MainFrame class shows the tournament overview before any round is executed.

Constructor & Destructor Documentation

TournamentRunnerGUI::MainFrame::MainFrame ( TournamentRunner::Tournament &  tournament,
QWidget *  parent = 0 
)
explicit

Default Constructor.

Parameters
tournamentReference to the tournament
parentParent Widget

Member Function Documentation

void TournamentRunnerGUI::MainFrame::register_participant_slot ( TournamentRunner::Karateka  participant)
slot

Slot to register the participant to the tournament.

Parameters
participantThe karateka to add to the tournament

Here is the call graph for this function:

void TournamentRunnerGUI::MainFrame::start_kata_tournament ( uint8_t  round)
signal

Start tournament signal.

Used to start the kata tournament

void TournamentRunnerGUI::MainFrame::update_tournament_slot ( TournamentRunner::TournamentData  tournament_data)
slot

Slot to update the tournament data.

Parameters
tournament_dataThe new data of the tournament

Here is the call graph for this function:


The documentation for this class was generated from the following files: