Seperated the Param data from the model.
This makes saving and loading the parameter data easier to do without cluttering up the model class.
This commit is contained in:
parent
3bf1ef4fe0
commit
0cbd0d16a1
3 changed files with 29 additions and 15 deletions
|
|
@ -135,3 +135,13 @@ bool ParamListModel::removeRows(int row, int count, const QModelIndex &parent)
|
|||
// // FIXME: Implement me!
|
||||
// endRemoveColumns();
|
||||
//}
|
||||
|
||||
const t_ParamList& ParamListModel::GetParams() const
|
||||
{
|
||||
return m_paramList;
|
||||
}
|
||||
|
||||
void ParamListModel::SetParams(t_ParamList params)
|
||||
{
|
||||
m_paramList = std::move(params);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue