QtPdCom  1.3.3
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
QtPdCom::TableModel::Impl Class Reference

Table model. More...

#include <TableModelImpl.h>

Collaboration diagram for QtPdCom::TableModel::Impl:
Collaboration graph
[legend]

Public Member Functions

 Impl (TableModel *parent)
 

Private Types

typedef QVector< TableColumn * > ColumnVector
 Column vector type. More...
 

Private Member Functions

void updateRows ()
 Calculates the number of table rows. More...
 
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. More...
 
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

Member Function Documentation

◆ ensureEditing()

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

◆ updateRows()

void TableModel::Impl::updateRows ( )
private

Calculates the number of table rows.

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

Friends And Related Function Documentation

◆ TableModel

friend class TableModel
friend

Member Data Documentation

◆ columnVector

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

Vector of table columns.

Referenced by updateRows().

◆ parent

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

Referenced by 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 updateRows().


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