QtPdCom  1.0.0
Classes | Public Member Functions | Private Attributes | Friends | List of all members
QtPdCom::TableColumn::Impl Class Reference
Collaboration diagram for QtPdCom::TableColumn::Impl:
Collaboration graph
[legend]

Classes

class  Subscription
 

Public Member Functions

 Impl (TableColumn *parent, const QString &header)
 
 ~Impl ()
 
void stateChanged (PdCom::Subscription::State state)
 
void newValues (std::chrono::nanoseconds)
 

Private Attributes

TableColumnparent
 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.
 
QColor highlightColor
 
QColor disabledColor
 
std::unique_ptr< Subscriptionsubscription
 

Friends

class TableColumn
 

Constructor & Destructor Documentation

◆ Impl()

QtPdCom::TableColumn::Impl::Impl ( TableColumn parent,
const QString &  header 
)
inline

◆ ~Impl()

QtPdCom::TableColumn::Impl::~Impl ( )
inline

References editData.

Member Function Documentation

◆ newValues()

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

◆ stateChanged()

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

Friends And Related Function Documentation

◆ TableColumn

friend class TableColumn
friend

Member Data Documentation

◆ dataPresent

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

Valid data have been received.

Referenced by newValues(), and stateChanged().

◆ decimals

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

Number of decimal digits.

◆ disabledColor

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

◆ editData

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

Temporary editing data.

Referenced by stateChanged(), and ~Impl().

◆ enabled

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

Column enabled.

◆ enabledRows

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

Enabled table rows.

◆ header

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

Table column header.

◆ highlightColor

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

◆ highlightRow

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

Index of the row to highlight, or -1.

◆ offset

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

Offset for values.

◆ parent

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

Parent object.

Referenced by newValues(), and stateChanged().

◆ scale

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

Scale factor for values.

◆ subscription

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

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