Model for FittingWindow.
More...
#include <FittingModel.h>
Model for FittingWindow.
Definition at line 14 of file FittingModel.h.
◆ FittingModel()
FittingModel::FittingModel |
( |
| ) |
|
◆ ~FittingModel()
FittingModel::~FittingModel |
( |
| ) |
|
|
virtual |
◆ data()
QVariant FittingModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
Override for special processing.
Definition at line 21 of file FittingModel.cpp.
28 if (role == Qt::BackgroundRole &&
29 index.row() == rowCount() - 1 &&
33 return QVariant::fromValue (QColor (Qt::lightGray));
37 return QStandardItemModel::data (index, role);
const int COLUMN_POLYNOMIAL_TERMS
The documentation for this class was generated from the following files: