ESGRAF48/source/SubTests/V2Svk/V2SvkModel.h

26 lines
516 B
C++

#pragma once
#include "PrintableModel.h"
#include "CheckableTestModel.h"
#include "V2SvkModel.pb.h"
class V2SvkModel : public CheckableTestModel, public PrintableModel
{
Q_OBJECT
public:
V2SvkModel(QObject *parent);
unsigned int getV2Points() const;
unsigned int getSvkPoints() const;
void write(ESGRAF48::V2SvkModel &model) const;
void read(const ESGRAF48::V2SvkModel &model);
void printTo(QPainter &painter) const override;
protected:
bool isValidIndex(const QModelIndex &index) const override;
};