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);
|
|
|
|
}
|
|
|
|
|
|
|
|
PluralWidget::~PluralWidget()
|
|
|
|
{
|
|
|
|
delete ui;
|
|
|
|
}
|
|
|
|
|
|
|
|
void PluralWidget::setModel(PluralModel *model)
|
|
|
|
{
|
|
|
|
ui->pluralTableView->setModel(model);
|
2018-08-26 12:24:05 +00:00
|
|
|
ui->pluralTableView->resizeColumnsToContents();
|
2018-06-04 16:48:58 +00:00
|
|
|
}
|