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/AkkusativDativ/AkkusativDativWidget.cpp

30 lines
654 B
C++
Raw Normal View History

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);
}