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.
20 lines
373 B
C++
20 lines
373 B
C++
#include "userform.h"
|
|
#include "ui_userform.h"
|
|
|
|
UserForm::UserForm(QWidget *parent) :
|
|
AutoForm<User>(parent),
|
|
ui(new Ui::UserForm)
|
|
{
|
|
ui->setupUi(this);
|
|
registerBinding(ui->login);
|
|
registerBinding(ui->password);
|
|
registerBinding(ui->name);
|
|
registerBinding(ui->isAdmin);
|
|
registerBinding(ui->active);
|
|
}
|
|
|
|
UserForm::~UserForm()
|
|
{
|
|
delete ui;
|
|
}
|