QtPdCom  1.5.2
QtPdCom::TableModel::Impl Class Reference

Table model. More...

#include <TableModelImpl.h>

Collaboration diagram for QtPdCom::TableModel::Impl:

Public Member Functions

 Impl (TableModel *parent)

Private Types

typedef QVector< TableColumn * > ColumnVector
 Column vector type.

Private Member Functions

void updateRows ()
 Calculates the number of table rows.
void ensureEditing ()

Private Attributes

TableModel *const parent
unsigned int rows = 0
unsigned int visibleRows = UINT_MAX
unsigned int rowCapacity = 0
ColumnVector columnVector
 Vector of table columns.
QtPdCom::IntVariable valueHighlightRow
QtPdCom::IntVariable visibleRowCount

Friends

class TableModel

Detailed Description

Table model.

See also
TableColumn.

Member Typedef Documentation

◆ ColumnVector

Column vector type.

Constructor & Destructor Documentation

◆ Impl()

QtPdCom::TableModel::Impl::Impl ( TableModel * parent)
inline

References parent, and TableModel.

Member Function Documentation

◆ ensureEditing()

void QtPdCom::TableModel::Impl::ensureEditing ( )
private

References columnVector, parent, and visibleRows.

◆ updateRows()

void TableModel::Impl::updateRows ( )
private

Calculates the number of table rows.

References columnVector, parent, rowCapacity, rows, and visibleRows.

◆ TableModel

friend class TableModel
friend

References TableModel.

Referenced by Impl(), and TableModel.

Member Data Documentation

◆ columnVector

ColumnVector QtPdCom::TableModel::Impl::columnVector
private

Vector of table columns.

Referenced by ensureEditing(), and updateRows().

◆ parent

TableModel* const QtPdCom::TableModel::Impl::parent
private

Referenced by ensureEditing(), Impl(), and updateRows().

◆ rowCapacity

unsigned int QtPdCom::TableModel::Impl::rowCapacity = 0
private

Referenced by updateRows().

◆ rows

unsigned int QtPdCom::TableModel::Impl::rows = 0
private

Referenced by updateRows().

◆ valueHighlightRow

QtPdCom::IntVariable QtPdCom::TableModel::Impl::valueHighlightRow
private

◆ visibleRowCount

QtPdCom::IntVariable QtPdCom::TableModel::Impl::visibleRowCount
private

◆ visibleRows

unsigned int QtPdCom::TableModel::Impl::visibleRows = UINT_MAX
private

Referenced by ensureEditing(), and updateRows().


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