ESGRAF48/source/SubTests/V2Svk/WFModel.h

25 lines
512 B
C
Raw Normal View History

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;
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
protected:
2019-02-03 18:53:51 +00:00
std::set<int> v2Tests() const override;
std::set<int> svkTests() const override;
bool isValidIndex(const QModelIndex &index) const override;
2018-06-25 21:04:32 +00:00
};