waitAnimationWidget при ожидании подтв-я блок-ки

This commit is contained in:
2026-01-23 12:17:41 +03:00
parent fe15f059e4
commit 19222cd855
8 changed files with 40 additions and 2 deletions

View File

@@ -102,6 +102,8 @@ void ViewerInstructors::slot_checkTryBlockResult(bool result, QString type)
void ViewerInstructors::on_btnEditorInstructors_clicked()
{
emit signal_needShowWait(true);
flTryEditorInstructors = true;
connectorToServer->sendQueryBlockAuth(true, "EditorInstructors");
@@ -159,6 +161,8 @@ void ViewerInstructors::updateButtons()
void ViewerInstructors::dialog_EditorInstructors()
{
emit signal_needShowWait(false);
dlgRedactor = new DialogRedactorInstructors(connectorToServer, adminMode, this);
dlgRedactor->exec();
@@ -171,5 +175,5 @@ void ViewerInstructors::dialog_EditorInstructors()
if(authComplited)
loadInstructorsFromDB();
connectorToServer->sendQueryBlockAuth(false, "EditorInstructors");
connectorToServer->sendQueryBlockAuth(false, "EditorInstructors");
}