28 lines
546 B
C++
28 lines
546 B
C++
#include "AkkusativDativWidget.h"
|
|
#include "ui_AkkusativDativWidget.h"
|
|
|
|
#include "AkkusativModel.h"
|
|
#include "DativModel.h"
|
|
|
|
AkkusativDativWidget::AkkusativDativWidget(QWidget *parent)
|
|
: QWidget(parent)
|
|
, ui(new Ui::AkkusativDativWidget)
|
|
{
|
|
ui->setupUi(this);
|
|
}
|
|
|
|
AkkusativDativWidget::~AkkusativDativWidget()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void AkkusativDativWidget::setAkkusativModel(AkkusativModel *model)
|
|
{
|
|
ui->akkusativTableView->setModel(model);
|
|
}
|
|
|
|
void AkkusativDativWidget::setDativModel(DativModel *model)
|
|
{
|
|
ui->dativTableView->setModel(model);
|
|
}
|