ESGRAF48/source/SubTests/V2Svk/V2SvkWidget.cpp

30 lines
534 B
C++
Raw Normal View History

2018-06-25 21:04:32 +00:00
#include "V2SvkWidget.h"
#include "ui_V2SvkWidget.h"
#include "V2SvkModel.h"
#include "TPeModel.h"
2018-06-25 21:04:32 +00:00
V2SvkWidget::V2SvkWidget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::V2SvkWidget)
{
ui->setupUi(this);
ui->wfTableView->horizontalHeader()->hide();
ui->tpeTableView->horizontalHeader()->hide();
2018-06-25 21:04:32 +00:00
}
V2SvkWidget::~V2SvkWidget()
{
delete ui;
}
void V2SvkWidget::setV2SvkModel(V2SvkModel *model)
{
ui->wfTableView->setModel(model);
}
void V2SvkWidget::setTPeModel(TPeModel *model)
{
ui->tpeTableView->setModel(model);
2018-06-25 21:04:32 +00:00
}