This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
ESGRAF48/source/SubTests/V2Svk/V2SvkModel.h

26 lines
516 B
C
Raw Normal View History

2018-06-25 21:04:32 +00:00
#pragma once
#include "PrintableModel.h"
2019-01-12 20:42:52 +00:00
2018-06-25 21:04:32 +00:00
#include "CheckableTestModel.h"
2018-11-13 23:17:29 +00:00
#include "V2SvkModel.pb.h"
2018-06-25 21:04:32 +00:00
2019-01-12 20:42:52 +00:00
class V2SvkModel : public CheckableTestModel, public PrintableModel
2018-06-25 21:04:32 +00:00
{
Q_OBJECT
public:
V2SvkModel(QObject *parent);
2019-01-13 17:44:07 +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);
2019-01-12 20:42:52 +00:00
void printTo(QPainter &painter) const override;
protected:
bool isValidIndex(const QModelIndex &index) const override;
2018-06-25 21:04:32 +00:00
};