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/VerbEnd/VerbEndModel.h

30 lines
548 B
C
Raw Normal View History

2018-05-23 16:43:57 +00:00
#pragma once
#include "CheckableTestModel.h"
#include "VerbEndModel.pb.h"
2018-05-23 16:43:57 +00:00
2018-12-02 17:26:22 +00:00
#include <QTextCursor>
class VerbEndModel : public CheckableTestModel
2018-05-23 16:43:57 +00:00
{
Q_OBJECT
public:
VerbEndModel(QObject *parent);
void write(ESGRAF48::VerbEndModel &model) const;
void read(const ESGRAF48::VerbEndModel &model);
2018-12-02 17:26:22 +00:00
unsigned int getCausalPoints() const;
2018-12-08 20:02:35 +00:00
protected:
std::string getName() const override;
2018-12-12 20:40:26 +00:00
void printSummaryTo(QTextCursor &cursor) const override;
private slots:
void modelChanged();
signals:
void causalPointsChanged(unsigned int points);
2018-05-23 16:43:57 +00:00
};