30 lines
534 B
C++
30 lines
534 B
C++
#include "V2SvkWidget.h"
|
|
#include "ui_V2SvkWidget.h"
|
|
|
|
#include "V2SvkModel.h"
|
|
#include "TPeModel.h"
|
|
|
|
V2SvkWidget::V2SvkWidget(QWidget *parent)
|
|
: QWidget(parent)
|
|
, ui(new Ui::V2SvkWidget)
|
|
{
|
|
ui->setupUi(this);
|
|
ui->wfTableView->horizontalHeader()->hide();
|
|
ui->tpeTableView->horizontalHeader()->hide();
|
|
}
|
|
|
|
V2SvkWidget::~V2SvkWidget()
|
|
{
|
|
delete ui;
|
|
}
|
|
|
|
void V2SvkWidget::setV2SvkModel(V2SvkModel *model)
|
|
{
|
|
ui->wfTableView->setModel(model);
|
|
}
|
|
|
|
void V2SvkWidget::setTPeModel(TPeModel *model)
|
|
{
|
|
ui->tpeTableView->setModel(model);
|
|
}
|