added setData and flags

This commit is contained in:
moerp
2021-05-28 16:49:53 +02:00
parent fc4875dd27
commit 4d781c3523
3 changed files with 27 additions and 1 deletions

View File

@ -12,6 +12,8 @@ public:
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
Qt::ItemFlags flags(const QModelIndex &index) const override;
void SetStartValues(int pBase, int pExp, int pMod);