ESGRAF48/source/SubTests/V2Svk/WFModel.h

26 lines
510 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
class WFModel : public CheckableTestModel, public PrintableModel
2018-06-25 21:04:32 +00:00
{
Q_OBJECT
public:
2019-01-31 19:14:38 +00:00
WFModel(QObject *parent);
2018-06-25 21:04:32 +00:00
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
};