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/SubTests/Plural/PluralWidget.cpp

24 lines
387 B
C++
Raw Permalink Normal View History

2018-06-04 16:48:58 +00:00
#include "PluralWidget.h"
#include "ui_PluralWidget.h"
#include "PluralModel.h"
PluralWidget::PluralWidget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::PluralWidget)
{
ui->setupUi(this);
2019-02-02 13:44:01 +00:00
ui->pluralTableView->horizontalHeader()->hide();
2018-06-04 16:48:58 +00:00
}
PluralWidget::~PluralWidget()
{
delete ui;
}
void PluralWidget::setModel(PluralModel *model)
{
ui->pluralTableView->setModel(model);
}