ESGRAF48/source/SubTests/LateSkills/GenitivModel.h

21 lines
468 B
C++

#pragma once
#include "LateSkillsModel.h"
#include "LateSkillsGenitivModel.pb.h"
class GenitivModel : public LateSkillsModel
{
Q_OBJECT
public:
GenitivModel(QObject *parent);
bool setData(const QModelIndex &index, const QVariant &value,
int role = Qt::EditRole) override;
void read(const ESGRAF48::LateSkillsGenitivModel &model);
void write(ESGRAF48::LateSkillsGenitivModel &model) const;
protected:
void printHeader(QPainter &painter) const override;
};