Print subtests 2, 3 and 4
This commit is contained in:
parent
e2237110cf
commit
49b52f1dbc
21 changed files with 223 additions and 201 deletions
|
@ -200,22 +200,7 @@ void V2SvkModel::read(const ESGRAF48::V2SvkModel &model)
|
|||
emit dataChanged(index(0, 0), index(rowCount() - 1, columnCount() - 1));
|
||||
}
|
||||
|
||||
void V2SvkModel::printTo(QTextCursor &cursor) const
|
||||
std::string V2SvkModel::getName() const
|
||||
{
|
||||
cursor.insertBlock();
|
||||
|
||||
QTextCharFormat headerFormat;
|
||||
headerFormat.setFontPointSize(12);
|
||||
cursor.insertText(
|
||||
"Subtest 1: Verbzweitstellungsregel (V2) und Subjekt-Verb-Kontrollregel (SVK)",
|
||||
headerFormat);
|
||||
|
||||
QTextTableFormat tableFormat;
|
||||
tableFormat.setCellPadding(2);
|
||||
tableFormat.setCellSpacing(0);
|
||||
|
||||
QTextTable *table = cursor.insertTable(1, 1, tableFormat);
|
||||
|
||||
cursor.movePosition(QTextCursor::NextBlock);
|
||||
return "Subtest 1: Verbzweitstellungsregel (V2) und Subjekt-Verb-Kontrollregel (SVK)";
|
||||
}
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ public:
|
|||
void write(ESGRAF48::V2SvkModel &model) const;
|
||||
void read(const ESGRAF48::V2SvkModel &model);
|
||||
|
||||
void printTo(QTextCursor &cursor) const;
|
||||
|
||||
protected:
|
||||
bool isValidIndex(const QModelIndex &index) const override;
|
||||
|
||||
std::string getName() const override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue