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 09:08:50 +00:00
|
|
|
ui->genusTableView->horizontalHeader()->hide();
|
2018-05-20 17:13:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
GenusWidget::~GenusWidget()
|
|
|
|
{
|
2018-05-23 09:08:50 +00:00
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|
|
|
|
void GenusWidget::setModel(GenusModel *model)
|
|
|
|
{
|
|
|
|
ui->genusTableView->setModel(model);
|
2018-05-20 17:13:18 +00:00
|
|
|
}
|