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/LateSkills/GenitivModel.h

20 lines
484 B
C
Raw Normal View History

2018-06-26 14:59:51 +00:00
#pragma once
2019-02-07 21:36:39 +00:00
#include "LateSkillsModel.h"
#include "LateSkillsGenitivModel.pb.h"
2018-06-26 14:59:51 +00:00
2019-02-07 21:36:39 +00:00
class GenitivModel : public LateSkillsModel
2018-06-26 14:59:51 +00:00
{
2019-10-05 14:14:45 +00:00
Q_OBJECT
2018-06-26 14:59:51 +00:00
public:
2019-10-05 14:14:45 +00:00
GenitivModel(QObject* parent);
bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override;
2019-10-05 14:14:45 +00:00
void read(const ESGRAF48::LateSkillsGenitivModel& model);
void write(ESGRAF48::LateSkillsGenitivModel& model) const;
2019-02-07 21:36:39 +00:00
protected:
2019-10-05 14:14:45 +00:00
void printHeader(QPainter& painter) const override;
2018-06-26 14:59:51 +00:00
};