2018-06-16 15:54:27 +00:00
|
|
|
#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);
|
2018-06-26 12:12:52 +00:00
|
|
|
ui->akkusativTableView->horizontalHeader()->hide();
|
|
|
|
ui->dativTableView->horizontalHeader()->hide();
|
2018-06-16 15:54:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
AkkusativDativWidget::~AkkusativDativWidget()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AkkusativDativWidget::setAkkusativModel(AkkusativModel *model)
|
|
|
|
{
|
|
|
|
ui->akkusativTableView->setModel(model);
|
|
|
|
}
|
|
|
|
|
|
|
|
void AkkusativDativWidget::setDativModel(DativModel *model)
|
|
|
|
{
|
|
|
|
ui->dativTableView->setModel(model);
|
|
|
|
}
|