28 if (role == Qt::BackgroundRole &&
29 index.row() == rowCount() - 1 &&
33 return QVariant::fromValue (QColor (Qt::lightGray));
37 return QStandardItemModel::data (index, role);
virtual QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
Override for special processing.
const int COLUMN_POLYNOMIAL_TERMS
FittingModel()
Single constructor.