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
|
|
|
|
2018-11-26 20:47:42 +00:00
|
|
|
#include <QTextCursor>
|
|
|
|
|
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
|
|
|
|
2018-11-20 06:59:12 +00:00
|
|
|
void write(ESGRAF48::V2SvkModel &model) const;
|
|
|
|
void read(const ESGRAF48::V2SvkModel &model);
|
2018-11-17 00:19:03 +00:00
|
|
|
|
2018-11-26 20:47:42 +00:00
|
|
|
void printTo(QTextCursor &cursor) const;
|
|
|
|
|
2018-11-17 00:19:03 +00:00
|
|
|
protected:
|
|
|
|
bool isValidIndex(const QModelIndex &index) const override;
|
2018-06-25 21:04:32 +00:00
|
|
|
};
|