ESGRAF48/source/SubTests/V2Svk/V2SvkModel.h

22 lines
418 B
C
Raw Permalink 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
class V2SvkModel : public CheckableTestModel
{
Q_OBJECT
public:
V2SvkModel(QObject *parent);
unsigned int getV2Points();
unsigned int getSvkPoints();
2018-11-13 23:17:29 +00:00
void writeProtoBuf(ESGRAF48::V2SvkModel &model) const;
void readProtoBuf(const ESGRAF48::V2SvkModel &model);
protected:
bool isValidIndex(const QModelIndex &index) const override;
2018-06-25 21:04:32 +00:00
};