35 return int(
data->getAllocatedSize());
67 return QString::number(
data->getAxisValue(row, 0));
70 return QString::number(
data->operator[](row));
Defines class AutomaticDataLoader1DResultModel.
Defines class RealDataItem.
Defines class SpecularDataItem.
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
virtual QString cellText(ColumnType type, int row, int col) const override
The text of the given cell.
virtual int rowCount() const override
The row count of the result table.
virtual bool rowHasError(int row) const override
Returns whether the row given in the index contains errors. Row counting starts with 0.
virtual int columnCount(ColumnType type) const override
The number of existing columns related to the given column type.
virtual QString headerTextOfCalculatedColumn(int column) const override
Return the table header text for the given column.
virtual bool rowIsSkipped(int row) const override
Returns whether the row given in the index is a skipped row. Row counting starts with 0.
AutomaticDataLoader1DResultModel(RealDataItem *item)
OutputData< double > * getOutputData()
The RealDataItem class represents intensity data imported from file and intended for fitting.
SpecularDataItem * specularDataItem()