The ParticipantModel class.
More...
#include <participant_model.h>
|
| | ParticipantModel (TournamentRunner::Tournament &tournament, QObject *parent=0) |
| | ParticipantModel. 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 |
| |
|
bool | removeRows (int position, int rows, const QModelIndex &index=QModelIndex()) final |
| |
|
Qt::ItemFlags | flags (const QModelIndex &index) const final |
| |
The ParticipantModel class.
The model for the participant table view
ParticipantModel.
- Parameters
-
| tournament | Reference to the tournament |
| parent | Parent widget |
| int TournamentRunnerGUI::ParticipantModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
final |
| QVariant TournamentRunnerGUI::ParticipantModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
final |
| QVariant TournamentRunnerGUI::ParticipantModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
final |
| int TournamentRunnerGUI::ParticipantModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
final |
Return the number of registred participant
The documentation for this class was generated from the following files: