ESGRAF48/source/SubTests/V2Svk/V2SvkWidget.cpp

23 lines
382 B
C++
Raw Normal View History

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