This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
ESGRAF48/source/ResultWidget/ResultWidget.cpp

22 lines
351 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);
}