ESGRAF48/source/ResultWidget/ResultWidget.cpp

22 lines
341 B
C++
Raw Permalink Normal View History

#include "ResultWidget.h"
#include "ui_ResultWidget.h"
2018-06-06 16:05:30 +00:00
#include "ResultModel.h"
ResultWidget::ResultWidget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::ResultWidget)
{
ui->setupUi(this);
}
ResultWidget::~ResultWidget()
{
delete ui;
}
2018-06-06 16:05:30 +00:00
void ResultWidget::setModel(ResultModel *model)
{
ui->resultTableView->setModel(model);
}