ESGRAF48/source/ResultWidget/ResultWidget.cpp

22 lines
351 B
C++
Raw Normal View History

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