QtPdCom  1.6.1
Public Member Functions | Private Attributes | Friends | List of all members
QtPdCom::QtPdCom::TableColumn::Impl Class Reference

#include <TableModelImpl.h>

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

Public Member Functions

 Impl (TableColumn *parent, const QString &header)
 
 ~Impl ()
 
void stateChanged (PdCom::Subscription::State state)
 
void newValues (std::chrono::nanoseconds)
 
void insertRow (int position, int count)
 
void deleteRow (int position, int count)
 
QString getRow (int row, const QLocale &locale) const
 
bool setRow (QString valueStr, int row, const QLocale &locale)
 
void ensureEditData ()
 

Private Attributes

TableColumn * parent
 Parent object.
 
QString header
 Table column header.
 
double scale
 Scale factor for values.
 
double offset
 Offset for values.
 
bool dataPresent
 Valid data have been received.
 
double * editData
 Temporary editing data.
 
bool enabled
 Column enabled.
 
QHash< unsigned int, bool > enabledRows
 Enabled table rows.
 
int highlightRow
 Index of the row to highlight, or -1.
 
quint32 decimals
 Number of decimal digits.
 
double lowerLimit
 Lower limit for value of column (this is a hint for the Input Method to limit the value).
 
double upperLimit
 Upper limit for value of column (this is a hint for the Input Method to limit the value).
 
QColor highlightColor
 
QColor disabledColor
 
std::unique_ptr< Subscription > subscription
 

Friends

class TableColumn
 

Constructor & Destructor Documentation

◆ Impl()

TableColumn::Impl::Impl ( TableColumn *  parent,
const QString &  header 
)

◆ ~Impl()

TableColumn::Impl::~Impl ( )

Member Function Documentation

◆ deleteRow()

void TableColumn::Impl::deleteRow ( int  position,
int  count 
)

◆ ensureEditData()

void TableColumn::Impl::ensureEditData ( )

◆ getRow()

QString TableColumn::Impl::getRow ( int  row,
const QLocale &  locale 
) const

◆ insertRow()

void TableColumn::Impl::insertRow ( int  position,
int  count 
)

◆ newValues()

void QtPdCom::QtPdCom::TableColumn::Impl::newValues ( std::chrono::nanoseconds  )
inline

◆ setRow()

bool TableColumn::Impl::setRow ( QString  valueStr,
int  row,
const QLocale &  locale 
)

◆ stateChanged()

void TableColumn::Impl::stateChanged ( PdCom::Subscription::State  state)

Friends And Related Function Documentation

◆ TableColumn

friend class TableColumn
friend

Member Data Documentation

◆ dataPresent

bool QtPdCom::QtPdCom::TableColumn::Impl::dataPresent
private

Valid data have been received.

◆ decimals

quint32 QtPdCom::QtPdCom::TableColumn::Impl::decimals
private

Number of decimal digits.

◆ disabledColor

QColor QtPdCom::QtPdCom::TableColumn::Impl::disabledColor
private

◆ editData

double* QtPdCom::QtPdCom::TableColumn::Impl::editData
private

Temporary editing data.

◆ enabled

bool QtPdCom::QtPdCom::TableColumn::Impl::enabled
private

Column enabled.

◆ enabledRows

QHash<unsigned int, bool> QtPdCom::QtPdCom::TableColumn::Impl::enabledRows
private

Enabled table rows.

◆ header

QString QtPdCom::QtPdCom::TableColumn::Impl::header
private

Table column header.

◆ highlightColor

QColor QtPdCom::QtPdCom::TableColumn::Impl::highlightColor
private

◆ highlightRow

int QtPdCom::QtPdCom::TableColumn::Impl::highlightRow
private

Index of the row to highlight, or -1.

◆ lowerLimit

double QtPdCom::QtPdCom::TableColumn::Impl::lowerLimit
private

Lower limit for value of column (this is a hint for the Input Method to limit the value).

◆ offset

double QtPdCom::QtPdCom::TableColumn::Impl::offset
private

Offset for values.

◆ parent

TableColumn* QtPdCom::QtPdCom::TableColumn::Impl::parent
private

Parent object.

◆ scale

double QtPdCom::QtPdCom::TableColumn::Impl::scale
private

Scale factor for values.

◆ subscription

std::unique_ptr<Subscription> QtPdCom::QtPdCom::TableColumn::Impl::subscription
private

◆ upperLimit

double QtPdCom::QtPdCom::TableColumn::Impl::upperLimit
private

Upper limit for value of column (this is a hint for the Input Method to limit the value).


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