#include "userform.h" #include "ui_userform.h" UserForm::UserForm(QWidget *parent) : AutoForm(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; }