ESGRAF48/source/SubTests/V2Svk/WFModel.h

21 lines
376 B
C
Raw Normal View History

2018-06-25 21:04:32 +00:00
#pragma once
#include "CheckableTestModel.h"
2018-11-13 23:17:29 +00:00
#include "V2SvkModel.pb.h"
2018-06-25 21:04:32 +00:00
2019-01-31 19:14:38 +00:00
class WFModel : public CheckableTestModel
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
unsigned int getV2Points();
unsigned int getSvkPoints();
2018-11-13 23:17:29 +00:00
void write(ESGRAF48::V2SvkModel &model) const;
void read(const ESGRAF48::V2SvkModel &model);
2019-01-31 19:14:38 +00:00
bool isValidIndex(const QModelIndex &index) const;
2018-06-25 21:04:32 +00:00
};