QtPdCom  1.5.2
TableModel::Impl Class Reference

Table model. More...

#include <TableModelImpl.h>

Collaboration diagram for 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()

Member Function Documentation

◆ ensureEditing()

◆ updateRows()

void TableModel::Impl::updateRows ( )
private

Calculates the number of table rows.

◆ TableModel

friend class TableModel
friend

Member Data Documentation

◆ columnVector

Vector of table columns.

◆ parent

◆ rowCapacity

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

◆ rows

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

◆ valueHighlightRow

◆ visibleRowCount

◆ visibleRows

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

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