mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
bugFixing 6
This commit is contained in:
@@ -13,6 +13,8 @@ DialogEditInstructor::DialogEditInstructor(QWidget *parent) :
|
|||||||
ui->editName->setProperty("mandatoryField", true);
|
ui->editName->setProperty("mandatoryField", true);
|
||||||
ui->editLogin->setProperty("mandatoryField", true);
|
ui->editLogin->setProperty("mandatoryField", true);
|
||||||
ui->editPassword->setProperty("mandatoryField", true);
|
ui->editPassword->setProperty("mandatoryField", true);
|
||||||
|
|
||||||
|
ui->btnOK->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
DialogEditInstructor::~DialogEditInstructor()
|
DialogEditInstructor::~DialogEditInstructor()
|
||||||
@@ -36,6 +38,8 @@ void DialogEditInstructor::setInstructor(Instructor instructor)
|
|||||||
ui->editName->setEnabled(false);
|
ui->editName->setEnabled(false);
|
||||||
else
|
else
|
||||||
ui->editName->setEnabled(true);
|
ui->editName->setEnabled(true);
|
||||||
|
|
||||||
|
ui->btnOK->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
Instructor DialogEditInstructor::getInstructor()
|
Instructor DialogEditInstructor::getInstructor()
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ void DialogEditGroup::setGroup(Group group)
|
|||||||
groupInput = group;
|
groupInput = group;
|
||||||
|
|
||||||
ui->editName->setText(group.getName());
|
ui->editName->setText(group.getName());
|
||||||
|
|
||||||
|
ui->btnOK->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
Group DialogEditGroup::getGroup()
|
Group DialogEditGroup::getGroup()
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ void DialogEditTrainee::setTrainee(Trainee trainee)
|
|||||||
|
|
||||||
ui->checkArchived->setChecked(trainee.getArchived());
|
ui->checkArchived->setChecked(trainee.getArchived());
|
||||||
ui->checkLoggedIn->setChecked(trainee.getLoggedIn());
|
ui->checkLoggedIn->setChecked(trainee.getLoggedIn());
|
||||||
|
|
||||||
|
ui->btnOK->setEnabled(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
Trainee DialogEditTrainee::getTrainee()
|
Trainee DialogEditTrainee::getTrainee()
|
||||||
|
|||||||
Reference in New Issue
Block a user