You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
465 B
C++
25 lines
465 B
C++
9 years ago
|
#include "seasonnamedialog.h"
|
||
|
#include "ui_seasonnamedialog.h"
|
||
|
|
||
|
SeasonNameDialog::SeasonNameDialog(SeasonPtr season, QWidget *parent) :
|
||
|
QDialog(parent),
|
||
|
ui(new Ui::SeasonNameDialog)
|
||
|
{
|
||
|
ui->setupUi(this);
|
||
|
|
||
|
m_binder.registerBinding(ui->name);
|
||
|
m_binder.setData(season.data());
|
||
|
m_binder.bindToUi();
|
||
|
}
|
||
|
|
||
|
SeasonNameDialog::~SeasonNameDialog()
|
||
|
{
|
||
|
delete ui;
|
||
|
}
|
||
|
|
||
|
void SeasonNameDialog::accept()
|
||
|
{
|
||
|
m_binder.bindToData();
|
||
|
QDialog::accept();
|
||
|
}
|