23 #ifndef QTPDCOM_TABLECOLUMN_H 24 #define QTPDCOM_TABLECOLUMN_H 29 #include <pdcom5/Process.h> 48 TableColumn(
const QString & = QString(), QObject *parent =
nullptr);
51 void setHeader(
const QString &);
52 const QString &getHeader()
const;
68 quint32 getDecimals()
const;
69 void setDecimals(quint32);
73 double getLowerLimit()
const;
74 void setLowerLimit(
double);
76 double getUpperLimit()
const;
77 void setUpperLimit(
double);
79 unsigned int getRows()
const;
81 QVariant data(
unsigned int,
int)
const;
82 QVariant headerData(
int)
const;
83 Qt::ItemFlags flags(
unsigned int)
const;
84 bool setData(
unsigned int,
const QString &,
int);
85 void setEnabled(
bool,
int = -1);
87 bool isEditing()
const;
88 bool isEnabled()
const;
92 void setHighlightRow(
int);
94 void setHighlightColor(QColor);
95 void setDisabledColor(QColor);
110 HighlightRole = Qt::UserRole + 1,
121 void dimensionChanged();
122 void headerChanged();
126 class Q_DECL_HIDDEN Impl;
Table Column.
Definition: TableColumn.h:43
Exception type.
Definition: TableColumn.h:99
Transmission mode for subscriptions.
Definition: Transmission.h:77
Definition: TableColumn.h:115
Definition: BroadcastModel.h:32
Exception(const QString &msg)
Constructor.
Definition: TableColumn.h:103
Table model.
Definition: TableModel.h:42
#define QTPDCOM_PUBLIC
Definition: Export.h:30
std::unique_ptr< Impl > impl
Definition: TableColumn.h:127
Definition: TableColumn.h:113
Definition: TableColumn.h:114
Roles
Definition: TableColumn.h:109
Definition: TableColumn.h:112
QString msg
Exception message.
Definition: TableColumn.h:106
constexpr struct QtPdCom::event_mode_tag event_mode
element is not valid due to columncount < nelem
Definition: TableColumn.h:111