18 connect(
m_ScanAverager -> inputData(), SIGNAL(operationCompleted()),
19 this, SLOT(operationCompleted()));
34 if (parent.column() > 0) {
75 if (!index.isValid()) {
79 if (role == Qt::DisplayRole) {
81 int row = index.row();
82 int col = index.column();
88 return scan -> name();
91 return scan -> maxRowCount();
112 (
int section, Qt::Orientation orientation,
int role)
const
114 if (orientation == Qt::Horizontal && role == Qt::DisplayRole) {
126 return tr(
"Col %1").arg(section-3);
130 if (orientation == Qt::Vertical && role == Qt::DisplayRole) {
QAbstractTableModel inherited
int columnCount(const QModelIndex &parent=QModelIndex()) const
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
void operationCompleted()
QseScanAverager * m_ScanAverager
QseScanAveragerModel(QseScanAverager *averager, QTableView *table, QObject *parent=0)
QseScanAverager * m_ScanAverager
QseColumn * column(int n) const
int rowCount(const QModelIndex &parent=QModelIndex()) const
QVariant data(const QModelIndex &index, int role) const