2018-06-25 21:04:32 +00:00
|
|
|
#pragma once
|
|
|
|
|
2019-02-03 18:53:51 +00:00
|
|
|
#include "V2SvkModel.h"
|
2018-11-13 23:17:29 +00:00
|
|
|
#include "V2SvkModel.pb.h"
|
2018-06-25 21:04:32 +00:00
|
|
|
|
2019-02-03 18:53:51 +00:00
|
|
|
class WFModel : public V2SvkModel
|
2018-06-25 21:04:32 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-01-31 19:14:38 +00:00
|
|
|
WFModel(QObject *parent);
|
2018-06-25 21:04:32 +00:00
|
|
|
|
2019-02-03 18:53:51 +00:00
|
|
|
unsigned int getV2Points() const override;
|
|
|
|
unsigned int getSvkPoints() const override;
|
2018-11-17 00:19:03 +00:00
|
|
|
|
2019-02-03 18:53:51 +00:00
|
|
|
void write(ESGRAF48::V2SvkModel &model) const override;
|
|
|
|
void read(const ESGRAF48::V2SvkModel &model) override;
|
2019-01-12 20:42:52 +00:00
|
|
|
|
2018-11-17 00:19:03 +00:00
|
|
|
protected:
|
2019-02-03 18:53:51 +00:00
|
|
|
std::set<int> v2Tests() const override;
|
|
|
|
std::set<int> svkTests() const override;
|
|
|
|
|
2018-11-17 00:19:03 +00:00
|
|
|
bool isValidIndex(const QModelIndex &index) const override;
|
2018-06-25 21:04:32 +00:00
|
|
|
};
|