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

The MainWindow class. More...

#include <mainwindow.h>

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

Public Slots

void on_actionAbout_triggered ()
 Slot to open program's about dialog (Menu About)
 
void on_actionOpen_triggered ()
 Slot to load a tournament (Menu Open)
 
void on_actionNewTournament_triggered ()
 Slot to open an new tournament dialog.
 
void on_actionSave_triggered ()
 Slot to save to the default profile.
 
void on_actionSaveAs_triggered ()
 Slot to save the profile to a file.
 
void create_tournament_slot (TournamentRunner::TournamentData tournament)
 Slot to create a new tournament. More...
 
void start_kata_round_slot (uint8_t round)
 Slot to start a kata round. More...
 
void next_kata_round_slot (uint8_t round)
 Slot to advance to the next kata round overview. More...
 
void tournament_finished_slot ()
 Slot to finish the tournament and show the tournament overview.
 

Public Member Functions

 MainWindow (QDialog &about_dialog, TournamentRunner::IPersistency &persistency_handler, std::shared_ptr< TournamentRunner::Tournament > tournament, QWidget *parent=0)
 Default Constructor. More...
 

Detailed Description

The MainWindow class.

Main window containing specific frames, e.g. MainFrame.

Constructor & Destructor Documentation

TournamentRunnerGUI::MainWindow::MainWindow ( QDialog &  about_dialog,
TournamentRunner::IPersistency &  persistency_handler,
std::shared_ptr< TournamentRunner::Tournament >  tournament,
QWidget *  parent = 0 
)

Default Constructor.

Parameters
about_dialog
parentParent Widget
about_dialogReference to the About Dialog which opens on request
persistency_handlerReference to the Persistency class
tournamentreference to the Tournament
parentParent Widget

Member Function Documentation

void TournamentRunnerGUI::MainWindow::create_tournament_slot ( TournamentRunner::TournamentData  tournament)
slot

Slot to create a new tournament.

Parameters
tournamentData for the tournament to create

Here is the caller graph for this function:

void TournamentRunnerGUI::MainWindow::next_kata_round_slot ( uint8_t  round)
slot

Slot to advance to the next kata round overview.

Parameters
round

Here is the call graph for this function:

Here is the caller graph for this function:

void TournamentRunnerGUI::MainWindow::start_kata_round_slot ( uint8_t  round)
slot

Slot to start a kata round.

Parameters
round

Here is the call graph for this function:

Here is the caller graph for this function:


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