23 #ifndef QTPDCOM_TABLEMODEL_IMPL_H    24 #define QTPDCOM_TABLEMODEL_IMPL_H    28 #include <QAbstractTableModel>    32 #define DEFAULT_DECIMALS 15    33 #define DEFAULT_HIGHLIGHT_COLOR QColor(152, 183, 255)    34 #define DEFAULT_DISABLED_COLOR QColor(220, 220, 220)    79         void stateChanged(PdCom::Subscription::State state);
    83             emit parent->valueChanged();
    86         void insertRow(
int position, 
int count);
    87         void deleteRow(
int position, 
int count);
    89         QString getRow(
int row, 
const QLocale &locale) 
const;
    90         bool setRow(QString valueStr, 
int row, 
const QLocale &locale);
    92         void ensureEditData();
 void updateRows()
Calculates the number of table rows. 
Definition: TableModel.cpp:619
double upperLimit
Upper limit for value of column (this is a hint for the Input Method to limit the value)...
Definition: TableModelImpl.h:109
quint32 decimals
Number of decimal digits. 
Definition: TableModelImpl.h:105
Table Column. 
Definition: TableColumn.h:43
QtPdCom::IntVariable visibleRowCount
Definition: TableModelImpl.h:64
double scale
Scale factor for values. 
Definition: TableModelImpl.h:98
void newValues(std::chrono::nanoseconds)
Definition: TableModelImpl.h:80
Definition: BroadcastModel.h:32
QHash< unsigned int, bool > enabledRows
Enabled table rows. 
Definition: TableModelImpl.h:103
double * editData
Temporary editing data. 
Definition: TableModelImpl.h:101
bool dataPresent
Valid data have been received. 
Definition: TableModelImpl.h:100
Table model. 
Definition: TableModelImpl.h:44
void ensureEditing()
Definition: TableModel.cpp:653
unsigned int rowCapacity
Definition: TableModelImpl.h:55
Impl(TableModel *parent)
Definition: TableModelImpl.h:47
Table model. 
Definition: TableModel.h:42
QVector< TableColumn * > ColumnVector
Column vector type. 
Definition: TableModelImpl.h:56
double offset
Offset for values. 
Definition: TableModelImpl.h:99
std::unique_ptr< Subscription > subscription
Definition: TableModelImpl.h:115
int highlightRow
Index of the row to highlight, or -1. 
Definition: TableModelImpl.h:104
unsigned int visibleRows
Definition: TableModelImpl.h:54
TableColumn * parent
Parent object. 
Definition: TableModelImpl.h:95
QtPdCom::IntVariable valueHighlightRow
Definition: TableModelImpl.h:63
QColor disabledColor
Definition: TableModelImpl.h:113
QString header
Table column header. 
Definition: TableModelImpl.h:96
class Q_DECL_HIDDEN Impl
Definition: TableColumn.h:126
double lowerLimit
Lower limit for value of column (this is a hint for the Input Method to limit the value)...
Definition: TableModelImpl.h:106
TableModel *const parent
Definition: TableModelImpl.h:52
unsigned int rows
Definition: TableModelImpl.h:53
Definition: TableModelImpl.h:71
QColor highlightColor
Definition: TableModelImpl.h:112
bool enabled
Column enabled. 
Definition: TableModelImpl.h:102
ColumnVector columnVector
Vector of table columns. 
Definition: TableModelImpl.h:58