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/LateSkills/LateSkillsWidget.cpp

30 lines
622 B
C++
Raw Normal View History

2018-06-26 14:59:51 +00:00
#include "LateSkillsWidget.h"
#include "ui_LateSkillsWidget.h"
#include "PassivModel.h"
#include "GenitivModel.h"
LateSkillsWidget::LateSkillsWidget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::LateSkillsWidget)
{
ui->setupUi(this);
ui->passivTableView->horizontalHeader()->hide();
ui->genitivTableView->horizontalHeader()->hide();
}
LateSkillsWidget::~LateSkillsWidget()
{
delete ui;
}
void LateSkillsWidget::setPassivModel(PassivModel *model)
{
ui->passivTableView->setModel(model);
}
void LateSkillsWidget::setGenitivModel(GenitivModel *model)
{
ui->genitivTableView->setModel(model);
}