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/Genus/GenusWidget.cpp

24 lines
375 B
C++
Raw Normal View History

2018-05-20 17:13:18 +00:00
#include "GenusWidget.h"
#include "ui_GenusWidget.h"
2018-05-22 03:55:46 +00:00
#include "GenusModel.h"
2018-05-20 17:13:18 +00:00
GenusWidget::GenusWidget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::GenusWidget)
{
ui->setupUi(this);
2018-05-22 03:55:46 +00:00
2018-05-23 15:47:04 +00:00
ui->genusTableView->horizontalHeader()->hide();
2018-05-20 17:13:18 +00:00
}
GenusWidget::~GenusWidget()
{
2018-05-23 15:47:04 +00:00
delete ui;
2018-05-23 09:08:50 +00:00
}
void GenusWidget::setModel(GenusModel *model)
{
2018-05-23 15:47:04 +00:00
ui->genusTableView->setModel(model);
2018-05-20 17:13:18 +00:00
}