Print most of the table structures

This commit is contained in:
Michael Mandl 2019-02-03 19:53:51 +01:00
parent f895ec0c1c
commit ab862aeaf1
31 changed files with 411 additions and 203 deletions

View file

@ -42,6 +42,7 @@ target_link_libraries(${PROJECT_NAME}
CheckableItem
CheckableTest
CheckableTestModel
PrintableModel
Qt5::Widgets
${Protobuf_LIBRARIES}
)

View file

@ -1,8 +1,10 @@
#include "VerbEndModel.h"
VerbEndModel::VerbEndModel(QObject *parent)
: CheckableTestModel(parent)
: PrintableModel(parent)
{
m_title = "Subtest 2: Verbendstellungsregel (VE)";
m_tests = { { "Telefonat",
{ "Kausal", "Kausal", "Relativ", "Kausal",
"Final", "Temporal", "Temporal" } },
@ -98,3 +100,4 @@ void VerbEndModel::read(const ESGRAF48::VerbEndModel &model)
emit dataChanged(index(0, 0), index(rowCount() - 1, columnCount() - 1));
}

View file

@ -1,9 +1,9 @@
#pragma once
#include "CheckableTestModel.h"
#include "PrintableModel.h"
#include "VerbEndModel.pb.h"
class VerbEndModel : public CheckableTestModel
class VerbEndModel : public PrintableModel
{
Q_OBJECT