mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Блокировка кнопок EditTrainees EditInstructors при деавторизации
This commit is contained in:
@@ -22,6 +22,12 @@ ViewerInstructors::~ViewerInstructors()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void ViewerInstructors::setAuthComplited(bool authComplited)
|
||||
{
|
||||
this->authComplited = authComplited;
|
||||
updateButtons();
|
||||
}
|
||||
|
||||
void ViewerInstructors::changeEvent(QEvent *event)
|
||||
{
|
||||
// В случае получения события изменения языка приложения
|
||||
|
||||
@@ -17,6 +17,9 @@ public:
|
||||
explicit ViewerInstructors(ConnectorToServer* connectorToServer, QWidget *parent = nullptr);
|
||||
~ViewerInstructors();
|
||||
|
||||
public:
|
||||
void setAuthComplited(bool authComplited);
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent * event) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user