EHM DAL 0.2.3
Data abstraction layer for Eastside Hockey Manager
Loading...
Searching...
No Matches
ehm_dal::flags::FlagTable Class Reference
Inheritance diagram for ehm_dal::flags::FlagTable:

Public Member Functions

void add (const qint32 value, const QString &text)
 
void addNoneValue (const qint32 value)
 
QVariant data (const QModelIndex &index, qint32 role=Qt::DisplayRole) const override
 
QString text (const qint32 id)
 
qint32 rowCount (const QModelIndex &parent=QModelIndex()) const override
 
- Public Member Functions inherited from ehm_dal::tables::AbstractBaseModel
 AbstractBaseModel (ehm_dal::column_data::ColumnData *column_data=new ehm_dal::column_data::ColumnData(), QObject *parent=nullptr)
 
ehm_dal::column_data::ColumnDatacolumnData ()
 Returns the ehm_dal::column_data::ColumnData.
 
ehm_dal::column_data::ColumnDataconstColumnData () const
 
qint32 columnCount (const QModelIndex &parent=QModelIndex()) const override
 Returns the number of columns in the table.
 
qint32 size () const
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 Returns the item flags for the given index.
 
QVariant headerData (qint32 section, Qt::Orientation orientation, qint32 role=Qt::DisplayRole) const override
 Returns the data for the given role and section in the header with the specified orientation. For horizontal headers, the section number corresponds to the column number. Similarly, for vertical headers, the section number corresponds to the row number.
 
std::unique_ptr< QSortFilterProxyModel > proxy ()
 
virtual QString modelName () const
 
virtual constexpr AbstractTableModelType modelType () const
 

Additional Inherited Members

- Public Types inherited from ehm_dal::tables::AbstractBaseModel
enum class  AbstractTableModelType : quint8 { AbstractClass , GameTable , GameChildTable , GameChildTreeTable }
 
- Protected Member Functions inherited from ehm_dal::tables::AbstractBaseModel
bool emitModifiedColumns (const qint32 row, const std::vector< qint32 > &modified_columns, const QList< qint32 > &modified_roles=QList< qint32 >())