ESGRAF48/source/SubTests/V2Svk/V2SvkModel.h

27 lines
522 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
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
void write(ESGRAF48::V2SvkModel &model) const;
void read(const ESGRAF48::V2SvkModel &model);
protected:
bool isValidIndex(const QModelIndex &index) const override;
2018-12-08 20:02:35 +00:00
std::string getName() const override;
2018-12-12 21:19:42 +00:00
void printTableTo(QTextCursor &cursor) const override;
2018-06-25 21:04:32 +00:00
};