ESGRAF48/source/Genus/GenusWidget.cpp

20 lines
305 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)
2018-05-22 03:55:46 +00:00
, m_model(new GenusModel(this))
2018-05-20 17:13:18 +00:00
{
ui->setupUi(this);
2018-05-22 03:55:46 +00:00
ui->tableView->setModel(m_model);
2018-05-20 17:13:18 +00:00
}
GenusWidget::~GenusWidget()
{
delete ui;
}