ESGRAF48/source/ResultWidget/ResultWidget.cpp
2018-06-06 18:05:30 +02:00

21 lines
341 B
C++

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