23#ifndef BCECONDITIONALTABLEMODEL_HPP
24#define BCECONDITIONALTABLEMODEL_HPP
27#include <QAbstractTableModel>
30#include "bcetablemodel.hpp"
54 QVariant
data(
const QModelIndex & index,
55 int role)
const Q_DECL_OVERRIDE;
59 bool setData(
const QModelIndex & index,
const QVariant & value,
int role);
63 Qt::Orientation orientation,
67 int rowCount(
const QModelIndex & parent = QModelIndex()) const Q_DECL_OVERRIDE {
72 int columnCount(
const QModelIndex & parent = QModelIndex()) const Q_DECL_OVERRIDE {
const vector< int > & getNumTypes() const
Returns a vector of the numbers of types.
Definition: bceabstractgame.hpp:251
Table models for BCEViewer.
Definition: bceconditionaltablemodel.hpp:41
int rowCount(const QModelIndex &parent=QModelIndex()) const Q_DECL_OVERRIDE
Returns the number of row player types.
Definition: bceconditionaltablemodel.hpp:67
QVariant data(const QModelIndex &index, int role) const Q_DECL_OVERRIDE
Reimplements the data method.
Definition: bceconditionaltablemodel.cpp:26
BCEConditionalTableModel(BCEGame *_game, int _state)
Constructor.
Definition: bceconditionaltablemodel.hpp:46
QVariant headerData(int section, Qt::Orientation orientation, int role) const
Labels Rows and Columns in the Conditional Distn Table.
Definition: bceconditionaltablemodel.cpp:45
int columnCount(const QModelIndex &parent=QModelIndex()) const Q_DECL_OVERRIDE
Returns the number of column player types.
Definition: bceconditionaltablemodel.hpp:72
bool setData(const QModelIndex &index, const QVariant &value, int role)
Reimplements the setData method.
Definition: bceconditionaltablemodel.cpp:66
The base class for games of incomplete information.
Definition: bcegame.hpp:40
Table models for BCEViewer.
Definition: bcetablemodel.hpp:40
BCEGame * game
Pointer to the associated game.
Definition: bcetablemodel.hpp:73