ESGRAF48/source/SubTests/V2Svk/V2SvkModel.h

28 lines
592 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
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);
2018-12-13 19:46:38 +00:00
unsigned int getV2Points() const;
unsigned int getSvkPoints() const;
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-12-13 19:46:38 +00:00
void printSummaryTo(QTextCursor &cursor) const override;
2018-06-25 21:04:32 +00:00
};