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

The KataRoundParticipantModel class. More...

#include <kata_round_participant_model.h>

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

Public Member Functions

 KataRoundParticipantModel (const uint8_t kata_round, TournamentRunner::Tournament &tournament, std::vector< size_t > startlist, QObject *parent=0)
 KataRoundParticipantModel. More...
 
int rowCount (const QModelIndex &parent=QModelIndex()) const final
 
int columnCount (const QModelIndex &parent=QModelIndex()) const final
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const final
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const final
 

Detailed Description

The KataRoundParticipantModel class.

The model for the participant table view of each round

Constructor & Destructor Documentation

TournamentRunnerGUI::KataRoundParticipantModel::KataRoundParticipantModel ( const uint8_t  kata_round,
TournamentRunner::Tournament &  tournament,
std::vector< size_t >  startlist,
QObject *  parent = 0 
)

KataRoundParticipantModel.

Parameters
kata_roundThe round the model is for. Depending on this argument participants are visible or not.
tournamentReference to the Tournament
startlistThe startlist for the round.
parentParent Widget

Member Function Documentation

int TournamentRunnerGUI::KataRoundParticipantModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
final

QVariant TournamentRunnerGUI::KataRoundParticipantModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
final

Here is the call graph for this function:

QVariant TournamentRunnerGUI::KataRoundParticipantModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
final

int TournamentRunnerGUI::KataRoundParticipantModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
final


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