16 #include "Base/Axis/Frame.h"
36 return int(
data->size());
69 return QString::number(
data->frame().projectedCoord(row, 0));
72 return QString::number(
data->operator[](row));
Defines class AutomaticDataLoader1DResultModel.
Defines class RealDataItem.
Defines class SpecularDataItem.
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const override
virtual bool rowIsSkipped(const QModelIndex &index) const
Returns whether the row given in the index is a skipped row. Only override this for performance reaso...
int columnCount(const QModelIndex &parent=QModelIndex()) const override
QString cellText(ColumnType type, int row, int col) const override
The text of the given cell. For convenience, column starts at 0 for the given column type,...
virtual bool rowHasError(const QModelIndex &index) const
Returns whether the row given in the index contains errors. Only override this for performance reason...
int rowCount() const override
The row count of the result table.
QString headerTextOfCalculatedColumn(int column) const override
Return the table header text for the given column. For convenience, column starts at 0 for first calc...
AutomaticDataLoader1DResultModel(RealDataItem *item)
Datafield * getDatafield()
Provides access to experimental data, for display and fitting. Owns an AbstractDataLoader.
SpecularDataItem * specularDataItem()