BCESolve
BCEProbabilityTableModel Class Reference

Table models for BCEViewer. More...

#include <bceprobabilitytablemodel.hpp>

Inheritance diagram for BCEProbabilityTableModel:
Collaboration diagram for BCEProbabilityTableModel:

Public Member Functions

 BCEProbabilityTableModel (BCEGame *_game)
 Constructor.
 
Qt::ItemFlags flags (const QModelIndex &index) const
 Returns flags. More...
 
int rowCount (const QModelIndex &parent=QModelIndex()) const Q_DECL_OVERRIDE
 Returns the number of row player actions.
 
int columnCount (const QModelIndex &parent=QModelIndex()) const Q_DECL_OVERRIDE
 Returns the number of column player actions.
 
void emitLayoutChanged ()
 Emits layoutChanged signal.
 

Protected Attributes

BCEGamegame
 Pointer to the associated game.
 

Detailed Description

Table models for BCEViewer.

Specializes QAbstractTableModel for the BCEViewer program. Sets flags, reimplements the rowCount and columnCount methods to return the numbers of actions.

Member Function Documentation

◆ flags()

Qt::ItemFlags BCEProbabilityTableModel::flags ( const QModelIndex &  index) const
inline

Returns flags.

Returns flags that indicate the model is enabled, can be edited, and can be selected.


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