ESGRAF48/source/SubTests/LateSkills/PassivModel.h

20 lines
461 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 "LateSkillsPassivModel.pb.h"
2018-06-26 14:59:51 +00:00
2019-02-07 21:36:39 +00:00
class PassivModel : public LateSkillsModel
2018-06-26 14:59:51 +00:00
{
Q_OBJECT
public:
PassivModel(QObject *parent);
2019-02-07 21:36:39 +00:00
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override;
void read(const ESGRAF48::LateSkillsPassivModel &model);
void write(ESGRAF48::LateSkillsPassivModel &model) const;
2019-02-07 21:36:39 +00:00
protected:
void printHeader(QPainter &painter) const override;
2018-06-26 14:59:51 +00:00
};