ESGRAF48/source/Genus/GenusWidget.cpp

20 lines
305 B
C++

#include "GenusWidget.h"
#include "ui_GenusWidget.h"
#include "GenusModel.h"
GenusWidget::GenusWidget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::GenusWidget)
, m_model(new GenusModel(this))
{
ui->setupUi(this);
ui->tableView->setModel(m_model);
}
GenusWidget::~GenusWidget()
{
delete ui;
}