Начал реализовывать обмен запросами к БД

This commit is contained in:
krivoshein
2024-12-06 11:15:02 +03:00
parent 53b37240eb
commit 2f48cf3921
107 changed files with 938 additions and 1189 deletions

Binary file not shown.

View File

@@ -1,211 +1,104 @@
# ninja log v5
15 446 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
15 446 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
45 55 0 clean 9c4b4372737ab8da
1442 3952 7550021431885627 CMakeFiles/InstructorsAndTrainees.dir/instructors/dialogeditinstructor.cpp.obj 8b56e47f4dc12dfc
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
15 446 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
2155 2712 7550115885439045 libInstructorsAndTrainees.dll.a 7574a27538bbb995
15 446 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
1435 3946 7550021431716082 CMakeFiles/InstructorsAndTrainees.dir/instructors/viewerinstructors.cpp.obj 7ddeadbf3b0dea24
3961 4312 7550021435890691 CMakeFiles/InstructorsAndTrainees.dir/InstructorsAndTrainees_autogen/EWIEGA46WW/qrc_resources.cpp.obj 305a6e3310d2037b
451 1604 7550115874384577 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/connectortoserver.cpp.obj 8fc854e83acd17de
1439 4613 7550021438899575 CMakeFiles/InstructorsAndTrainees.dir/instructors/editorinstructors.cpp.obj d4fbe9d883edc93b
1359 1409 7550021406882738 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/EWIEGA46WW/qrc_resources.cpp f2ed85aad0f78c7c
3953 5972 7550021452463313 CMakeFiles/InstructorsAndTrainees.dir/messanger/messangerwidget.cpp.obj 481eedcb91b88485
1415 3961 7550021432035228 CMakeFiles/InstructorsAndTrainees.dir/commonview.cpp.obj fed61e18b9b49808
1459 4747 7550021440156205 CMakeFiles/InstructorsAndTrainees.dir/docTasks/doctaskswidget.cpp.obj eaab4dd1a4821d3d
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
15 446 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
1417 4531 7550021438061803 CMakeFiles/InstructorsAndTrainees.dir/trainees/editortrainees.cpp.obj 2eb29bce9ccb4f74
15 446 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
2701 5187 7550021444644223 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/sendsystem.cpp.obj 9ad1bf13dc80c680
15 446 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
364 2211 7551121449795927 CMakeFiles/InstructorsAndTrainees.dir/commonview.cpp.obj fed61e18b9b49808
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
20 358 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
366 2514 7551121452837799 CMakeFiles/InstructorsAndTrainees.dir/trainees/editortrainees.cpp.obj 2eb29bce9ccb4f74
20 358 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
412 2087 7550925755242679 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/sendsystem.cpp.obj 9ad1bf13dc80c680
20 358 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
1359 1409 7550021406882738 InstructorsAndTrainees_autogen/EWIEGA46WW/qrc_resources.cpp f2ed85aad0f78c7c
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
15 446 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
20 358 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
3953 5972 7550021452463313 CMakeFiles/InstructorsAndTrainees.dir/messanger/messangerwidget.cpp.obj 481eedcb91b88485
1359 1409 7550021406882738 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/EWIEGA46WW/qrc_resources.cpp f2ed85aad0f78c7c
377 2427 7551121451910278 CMakeFiles/InstructorsAndTrainees.dir/instructors/editorinstructors.cpp.obj d4fbe9d883edc93b
383 1987 7551121447551349 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/connectortoserver.cpp.obj 8fc854e83acd17de
1442 3952 7550021431885627 CMakeFiles/InstructorsAndTrainees.dir/instructors/dialogeditinstructor.cpp.obj 8b56e47f4dc12dfc
374 2188 7551121449556562 CMakeFiles/InstructorsAndTrainees.dir/instructors/viewerinstructors.cpp.obj 7ddeadbf3b0dea24
20 358 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
2773 3342 7551121461080802 libInstructorsAndTrainees.dll.a 7574a27538bbb995
3961 4312 7550021435890691 CMakeFiles/InstructorsAndTrainees.dir/InstructorsAndTrainees_autogen/EWIEGA46WW/qrc_resources.cpp.obj 305a6e3310d2037b
20 358 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
45 55 0 clean 9c4b4372737ab8da
20 358 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
20 358 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
1420 3835 7550021430642049 CMakeFiles/InstructorsAndTrainees.dir/trainees/dialogeditgroup.cpp.obj fb0943d52b183a47
15 446 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
1446 3820 7550021430562266 CMakeFiles/InstructorsAndTrainees.dir/instructors/dialogauthorizationinstructor.cpp.obj f93eecf151ea8490
15 45 0 CMakeFiles/clean.additional 7155004b3956b606
1429 4014 7550021432584320 CMakeFiles/InstructorsAndTrainees.dir/trainees/viewertrainees.cpp.obj fdca52f2b0e8f989
2155 2712 7550115885439045 libInstructorsAndTrainees.dll 7574a27538bbb995
15 446 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
15 446 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
368 2229 7551121449975450 CMakeFiles/InstructorsAndTrainees.dir/trainees/viewertrainees.cpp.obj fdca52f2b0e8f989
2773 3342 7551121461080802 libInstructorsAndTrainees.dll 7574a27538bbb995
20 358 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
20 358 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
1453 4558 7550021438351035 CMakeFiles/InstructorsAndTrainees.dir/tasks/taskswidget.cpp.obj c57be72ccb40ac81
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
15 446 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
15 446 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
421 1556 7550071350182341 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/dataparser.cpp.obj ddd815f2ca650c79
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
20 358 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
20 358 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
352 2014 7550928796872886 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/dataparser.cpp.obj ddd815f2ca650c79
15 276 7550020661648095 build.ninja 76aa11f472515be0
1432 4145 7550021433971140 CMakeFiles/InstructorsAndTrainees.dir/trainees/traineesview.cpp.obj a3eaea1c64402a5b
15 446 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
371 2435 7551121452019990 CMakeFiles/InstructorsAndTrainees.dir/trainees/traineesview.cpp.obj a3eaea1c64402a5b
20 358 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
1425 2713 7550021419524135 CMakeFiles/InstructorsAndTrainees.dir/trainees/computersLocations.cpp.obj d6745e62ffbfb46
1422 4075 7550021432986564 CMakeFiles/InstructorsAndTrainees.dir/trainees/dialogedittrainee.cpp.obj 580c1c7cd7084a9f
449 2155 7550115879893149 CMakeFiles/InstructorsAndTrainees.dir/instructorsandtraineeswidget.cpp.obj 4bdc1eb7edfd1941
15 446 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
3947 5458 7550021447366937 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/tools.cpp.obj bec4c837d4b193f1
446 2029 7550115878633441 CMakeFiles/InstructorsAndTrainees.dir/InstructorsAndTrainees_autogen/mocs_compilation.cpp.obj fe245428360a3de
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
457 1458 7550115872932604 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/tcpclient.cpp.obj 8ca63217f4ebd7bf
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
1449 4185 7550021434573712 CMakeFiles/InstructorsAndTrainees.dir/instructors/instructorsview.cpp.obj 129517285e22bd60
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
361 2773 7551121455411188 CMakeFiles/InstructorsAndTrainees.dir/instructorsandtraineeswidget.cpp.obj 4bdc1eb7edfd1941
20 358 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
601 2879 7550908810645000 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/tools.cpp.obj bec4c837d4b193f1
359 2700 7551121454672875 CMakeFiles/InstructorsAndTrainees.dir/InstructorsAndTrainees_autogen/mocs_compilation.cpp.obj fe245428360a3de
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
390 1855 7551121446235043 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/tcpclient.cpp.obj 8ca63217f4ebd7bf
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
380 2461 7551121452309199 CMakeFiles/InstructorsAndTrainees.dir/instructors/instructorsview.cpp.obj 129517285e22bd60
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
1463 2701 7550021419544278 CMakeFiles/InstructorsAndTrainees.dir/docTasks/module.cpp.obj 7e450168ba24c81a
454 1611 7550115874464364 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/recognizesystem.cpp.obj fdf4a5794596b63d
15 446 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
21 62 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
21 62 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
21 62 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
62 1628 7550117894521608 CMakeFiles/InstructorsAndTrainees.dir/instructorsandtraineeswidget.cpp.obj 4bdc1eb7edfd1941
1628 2177 7550117899991571 libInstructorsAndTrainees.dll 7574a27538bbb995
1628 2177 7550117899991571 libInstructorsAndTrainees.dll.a 7574a27538bbb995
21 66 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
21 66 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
21 66 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
15 50 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
15 50 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
15 50 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
50 1625 7550159487792041 CMakeFiles/InstructorsAndTrainees.dir/instructorsandtraineeswidget.cpp.obj 4bdc1eb7edfd1941
1625 2183 7550159493349553 libInstructorsAndTrainees.dll 7574a27538bbb995
1625 2183 7550159493349553 libInstructorsAndTrainees.dll.a 7574a27538bbb995
20 421 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
20 421 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
20 421 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
422 1959 7550175577947889 CMakeFiles/InstructorsAndTrainees.dir/InstructorsAndTrainees_autogen/mocs_compilation.cpp.obj fe245428360a3de
20 60 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
20 60 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
20 60 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
61 1632 7550175952832467 CMakeFiles/InstructorsAndTrainees.dir/instructorsandtraineeswidget.cpp.obj 4bdc1eb7edfd1941
1633 2186 7550175958336397 libInstructorsAndTrainees.dll 7574a27538bbb995
1633 2186 7550175958336397 libInstructorsAndTrainees.dll.a 7574a27538bbb995
20 358 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
387 2213 7551121449815870 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/recognizesystem.cpp.obj fdf4a5794596b63d
35 85 0 CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
35 85 0 InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/CMakeFiles/InstructorsAndTrainees_autogen 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/mocs_compilation.cpp 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/ui_instructorsandtraineeswidget.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_editortrainees.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogeditgroup.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_dialogedittrainee.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/trainees/ui_viewertrainees.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_viewerinstructors.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_editorinstructors.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogeditinstructor.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/instructors/ui_dialogauthorizationinstructor.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/tasks/ui_taskswidget.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/docTasks/ui_doctaskswidget.h 325fc9931da2ad77
35 85 0 D:/LMS/DB_IaT/Debug64/InstructorsAndTrainees_autogen/include/messanger/ui_messangerwidget.h 325fc9931da2ad77
122 1671 7551749607613347 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/tcpclient.cpp.obj 8ca63217f4ebd7bf
115 1796 7551749609023397 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/dataparser.cpp.obj ddd815f2ca650c79
111 1895 7551749610041318 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/connectortoserver.cpp.obj 8fc854e83acd17de
118 2112 7551749612196876 CMakeFiles/InstructorsAndTrainees.dir/connectorToServer/Core/recognizesystem.cpp.obj fdf4a5794596b63d
91 2242 7551749613486894 CMakeFiles/InstructorsAndTrainees.dir/commonview.cpp.obj fed61e18b9b49808
108 2243 7551749613486894 CMakeFiles/InstructorsAndTrainees.dir/instructors/instructorsview.cpp.obj 129517285e22bd60
102 2284 7551749613931655 CMakeFiles/InstructorsAndTrainees.dir/instructors/viewerinstructors.cpp.obj 7ddeadbf3b0dea24
105 2382 7551749614859112 CMakeFiles/InstructorsAndTrainees.dir/instructors/editorinstructors.cpp.obj d4fbe9d883edc93b
99 2383 7551749614869088 CMakeFiles/InstructorsAndTrainees.dir/trainees/traineesview.cpp.obj a3eaea1c64402a5b
96 2398 7551749615083448 CMakeFiles/InstructorsAndTrainees.dir/trainees/viewertrainees.cpp.obj fdca52f2b0e8f989
93 2581 7551749616867468 CMakeFiles/InstructorsAndTrainees.dir/trainees/editortrainees.cpp.obj 2eb29bce9ccb4f74
85 2699 7551749618060422 CMakeFiles/InstructorsAndTrainees.dir/InstructorsAndTrainees_autogen/mocs_compilation.cpp.obj fe245428360a3de
88 2724 7551749618322350 CMakeFiles/InstructorsAndTrainees.dir/instructorsandtraineeswidget.cpp.obj 4bdc1eb7edfd1941
2724 3371 7551749624778932 libInstructorsAndTrainees.dll 7574a27538bbb995
2724 3371 7551749624778932 libInstructorsAndTrainees.dll.a 7574a27538bbb995

View File

@@ -2,42 +2,54 @@
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/tcpclient.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/viewerinstructors.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/computersLocations.h
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/editortrainees.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/instructorsview.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/tools.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/connectortoserver.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks/module.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/recognizesystem.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/instructorsandtraineeswidget.cpp
uic:ui_instructorsandtraineeswidget.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/dialogauthorizationinstructor.cpp
uic:ui_dialogauthorizationinstructor.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/editorinstructors.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/instructorsAndTrainees_global.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Datas.h
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogedittrainee.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/recognizesystem.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks/module.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/commonview.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/dataparser.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/traineesview.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/tasks/taskswidget.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/dataparser.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/instructorsandtraineeswidget.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/viewertrainees.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks/module.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/connectortoserver.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/instructorsAndTrainees_global.h
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogeditgroup.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogedittrainee.cpp
uic:ui_dialogedittrainee.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/sendsystem.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogeditgroup.h
mmc:Q_OBJECT
uic:ui_dialogeditgroup.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/dialogeditinstructor.h
mmc:Q_OBJECT
uic:ui_dialogeditinstructor.h
D:/LMS/DB_IaT/InstructorsAndTrainees/commonview.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Datas.h
D:/LMS/DB_IaT/InstructorsAndTrainees/messanger/messangerwidget.cpp
uic:ui_messangerwidget.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/sendsystem.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/viewertrainees.cpp
uic:ui_viewertrainees.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/connectortoserver.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/computersLocations.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/sendsystem.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogeditgroup.h
mmc:Q_OBJECT
uic:ui_dialogeditgroup.h
D:/LMS/DB_IaT/InstructorsAndTrainees/commonview.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/viewerinstructors.cpp
uic:ui_viewerinstructors.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/FileData.h
D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks/doctaskswidget.cpp
uic:ui_doctaskswidget.h
D:/LMS/DB_IaT/InstructorsAndTrainees/tasks/taskswidget.cpp
uic:ui_taskswidget.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/editorinstructors.cpp
@@ -45,40 +57,28 @@ D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/editorinstructors.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/traineesview.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/editortrainees.cpp
uic:ui_editortrainees.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/viewerinstructors.cpp
uic:ui_viewerinstructors.h
D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks/doctaskswidget.cpp
uic:ui_doctaskswidget.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/FileData.h
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogedittrainee.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/recognizesystem.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/dialogeditinstructor.cpp
uic:ui_dialogeditinstructor.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/tcpclient.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/editorinstructors.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks/doctaskswidget.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/dialogauthorizationinstructor.h
mmc:Q_OBJECT
uic:ui_dialogauthorizationinstructor.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/tools.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/instructorsandtraineeswidget.cpp
uic:ui_instructorsandtraineeswidget.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/dialogauthorizationinstructor.cpp
uic:ui_dialogauthorizationinstructor.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/recognizesystem.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/dataparser.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/messanger/messangerwidget.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/instructorsview.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/tools.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/instructorsview.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/commonview.h
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/computersLocations.h
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/editortrainees.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/computersLocations.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogeditgroup.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/dialogedittrainee.cpp
uic:ui_dialogedittrainee.h
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/dialogeditinstructor.cpp
uic:ui_dialogeditinstructor.h
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/tcpclient.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/connectorToServer/Core/tools.cpp
D:/LMS/DB_IaT/InstructorsAndTrainees/instructors/dialogauthorizationinstructor.h
mmc:Q_OBJECT
uic:ui_dialogauthorizationinstructor.h
D:/LMS/DB_IaT/InstructorsAndTrainees/trainees/viewertrainees.h
mmc:Q_OBJECT
D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks/module.cpp

View File

@@ -10,6 +10,7 @@
#include "../../../InstructorsAndTrainees/connectorToServer/Core/recognizesystem.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'recognizesystem.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
@@ -22,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_RecognizeSystem_t {
QByteArrayData data[21];
char stringdata0[296];
QByteArrayData data[24];
char stringdata0[341];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -44,25 +45,30 @@ QT_MOC_LITERAL(8, 91, 15), // "sigSendDebugLog"
QT_MOC_LITERAL(9, 107, 7), // "message"
QT_MOC_LITERAL(10, 115, 17), // "sigSocketDisabled"
QT_MOC_LITERAL(11, 133, 16), // "sigServerBlocked"
QT_MOC_LITERAL(12, 150, 16), // "sigSaveLoginData"
QT_MOC_LITERAL(13, 167, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(14, 188, 10), // "serverAuth"
QT_MOC_LITERAL(15, 199, 9), // "sigDeAuth"
QT_MOC_LITERAL(16, 209, 22), // "ServerDeAuthorization*"
QT_MOC_LITERAL(17, 232, 12), // "serverDeAuth"
QT_MOC_LITERAL(18, 245, 25), // "sigSocketWaitForReadyRead"
QT_MOC_LITERAL(19, 271, 8), // "waitTime"
QT_MOC_LITERAL(20, 280, 15) // "sigStartCompare"
QT_MOC_LITERAL(12, 150, 7), // "sigAuth"
QT_MOC_LITERAL(13, 158, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(14, 179, 10), // "serverAuth"
QT_MOC_LITERAL(15, 190, 9), // "sigDeAuth"
QT_MOC_LITERAL(16, 200, 22), // "ServerDeAuthorization*"
QT_MOC_LITERAL(17, 223, 12), // "serverDeAuth"
QT_MOC_LITERAL(18, 236, 18), // "sigAnswerQueryToDB"
QT_MOC_LITERAL(19, 255, 18), // "QList<Instructor>*"
QT_MOC_LITERAL(20, 274, 15), // "listInstructors"
QT_MOC_LITERAL(21, 290, 25), // "sigSocketWaitForReadyRead"
QT_MOC_LITERAL(22, 316, 8), // "waitTime"
QT_MOC_LITERAL(23, 325, 15) // "sigStartCompare"
},
"RecognizeSystem\0sigUpdateBytesAvailable\0"
"\0sigLoadComplete\0sigNeedUpdate\0flag\0"
"size\0fileCount\0sigSendDebugLog\0message\0"
"sigSocketDisabled\0sigServerBlocked\0"
"sigSaveLoginData\0ServerAuthorization*\0"
"serverAuth\0sigDeAuth\0ServerDeAuthorization*\0"
"serverDeAuth\0sigSocketWaitForReadyRead\0"
"waitTime\0sigStartCompare"
"sigAuth\0ServerAuthorization*\0serverAuth\0"
"sigDeAuth\0ServerDeAuthorization*\0"
"serverDeAuth\0sigAnswerQueryToDB\0"
"QList<Instructor>*\0listInstructors\0"
"sigSocketWaitForReadyRead\0waitTime\0"
"sigStartCompare"
};
#undef QT_MOC_LITERAL
@@ -72,24 +78,25 @@ static const uint qt_meta_data_RecognizeSystem[] = {
8, // revision
0, // classname
0, 0, // classinfo
10, 14, // methods
11, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
10, // signalCount
11, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 64, 2, 0x06 /* Public */,
3, 0, 65, 2, 0x06 /* Public */,
4, 3, 66, 2, 0x06 /* Public */,
8, 1, 73, 2, 0x06 /* Public */,
10, 0, 76, 2, 0x06 /* Public */,
11, 0, 77, 2, 0x06 /* Public */,
12, 1, 78, 2, 0x06 /* Public */,
15, 1, 81, 2, 0x06 /* Public */,
18, 1, 84, 2, 0x06 /* Public */,
20, 0, 87, 2, 0x06 /* Public */,
1, 0, 69, 2, 0x06 /* Public */,
3, 0, 70, 2, 0x06 /* Public */,
4, 3, 71, 2, 0x06 /* Public */,
8, 1, 78, 2, 0x06 /* Public */,
10, 0, 81, 2, 0x06 /* Public */,
11, 0, 82, 2, 0x06 /* Public */,
12, 1, 83, 2, 0x06 /* Public */,
15, 1, 86, 2, 0x06 /* Public */,
18, 1, 89, 2, 0x06 /* Public */,
21, 1, 92, 2, 0x06 /* Public */,
23, 0, 95, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
@@ -100,7 +107,8 @@ static const uint qt_meta_data_RecognizeSystem[] = {
QMetaType::Void,
QMetaType::Void, 0x80000000 | 13, 14,
QMetaType::Void, 0x80000000 | 16, 17,
QMetaType::Void, QMetaType::Int, 19,
QMetaType::Void, 0x80000000 | 19, 20,
QMetaType::Void, QMetaType::Int, 22,
QMetaType::Void,
0 // eod
@@ -118,10 +126,11 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
case 3: _t->sigSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->sigSocketDisabled(); break;
case 5: _t->sigServerBlocked(); break;
case 6: _t->sigSaveLoginData((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
case 6: _t->sigAuth((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
case 7: _t->sigDeAuth((*reinterpret_cast< ServerDeAuthorization*(*)>(_a[1]))); break;
case 8: _t->sigSocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
case 9: _t->sigStartCompare(); break;
case 8: _t->sigAnswerQueryToDB((*reinterpret_cast< QList<Instructor>*(*)>(_a[1]))); break;
case 9: _t->sigSocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
case 10: _t->sigStartCompare(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -170,7 +179,7 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
}
{
using _t = void (RecognizeSystem::*)(ServerAuthorization * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSaveLoginData)) {
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAuth)) {
*result = 6;
return;
}
@@ -182,17 +191,24 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
return;
}
}
{
using _t = void (RecognizeSystem::*)(QList<Instructor> * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAnswerQueryToDB)) {
*result = 8;
return;
}
}
{
using _t = void (RecognizeSystem::*)(int );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSocketWaitForReadyRead)) {
*result = 8;
*result = 9;
return;
}
}
{
using _t = void (RecognizeSystem::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigStartCompare)) {
*result = 9;
*result = 10;
return;
}
}
@@ -228,13 +244,13 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 10)
if (_id < 11)
qt_static_metacall(this, _c, _id, _a);
_id -= 10;
_id -= 11;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 10)
if (_id < 11)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 10;
_id -= 11;
}
return _id;
}
@@ -278,7 +294,7 @@ void RecognizeSystem::sigServerBlocked()
}
// SIGNAL 6
void RecognizeSystem::sigSaveLoginData(ServerAuthorization * _t1)
void RecognizeSystem::sigAuth(ServerAuthorization * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 6, _a);
@@ -292,16 +308,23 @@ void RecognizeSystem::sigDeAuth(ServerDeAuthorization * _t1)
}
// SIGNAL 8
void RecognizeSystem::sigSocketWaitForReadyRead(int _t1)
void RecognizeSystem::sigAnswerQueryToDB(QList<Instructor> * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
// SIGNAL 9
void RecognizeSystem::sigSocketWaitForReadyRead(int _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
// SIGNAL 10
void RecognizeSystem::sigStartCompare()
{
QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_InstructorsAndTraineesWidget_t {
QByteArrayData data[25];
char stringdata0[468];
QByteArrayData data[26];
char stringdata0[506];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -57,7 +57,8 @@ QT_MOC_LITERAL(20, 334, 22), // "ServerDeAuthorization*"
QT_MOC_LITERAL(21, 357, 12), // "serverDeAuth"
QT_MOC_LITERAL(22, 370, 28), // "on_btnConnectionToDB_clicked"
QT_MOC_LITERAL(23, 399, 37), // "on_btnAuthorizationInstructor..."
QT_MOC_LITERAL(24, 437, 30) // "on_btnUpdateStyleSheet_clicked"
QT_MOC_LITERAL(24, 437, 30), // "on_btnUpdateStyleSheet_clicked"
QT_MOC_LITERAL(25, 468, 37) // "on_btnQueryGetListInstructors..."
},
"InstructorsAndTraineesWidget\0"
@@ -73,7 +74,8 @@ QT_MOC_LITERAL(24, 437, 30) // "on_btnUpdateStyleSheet_clicked"
"ServerDeAuthorization*\0serverDeAuth\0"
"on_btnConnectionToDB_clicked\0"
"on_btnAuthorizationInstructor_clicked\0"
"on_btnUpdateStyleSheet_clicked"
"on_btnUpdateStyleSheet_clicked\0"
"on_btnQueryGetListInstructors_clicked"
};
#undef QT_MOC_LITERAL
@@ -83,7 +85,7 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
8, // revision
0, // classname
0, 0, // classinfo
12, 14, // methods
13, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -91,20 +93,21 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
6, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 74, 2, 0x06 /* Public */,
4, 2, 77, 2, 0x06 /* Public */,
7, 1, 82, 2, 0x06 /* Public */,
9, 1, 85, 2, 0x06 /* Public */,
11, 1, 88, 2, 0x06 /* Public */,
12, 1, 91, 2, 0x06 /* Public */,
1, 1, 79, 2, 0x06 /* Public */,
4, 2, 82, 2, 0x06 /* Public */,
7, 1, 87, 2, 0x06 /* Public */,
9, 1, 90, 2, 0x06 /* Public */,
11, 1, 93, 2, 0x06 /* Public */,
12, 1, 96, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
15, 1, 94, 2, 0x0a /* Public */,
16, 1, 97, 2, 0x0a /* Public */,
19, 1, 100, 2, 0x0a /* Public */,
22, 0, 103, 2, 0x08 /* Private */,
23, 0, 104, 2, 0x08 /* Private */,
24, 0, 105, 2, 0x08 /* Private */,
15, 1, 99, 2, 0x0a /* Public */,
16, 1, 102, 2, 0x0a /* Public */,
19, 1, 105, 2, 0x0a /* Public */,
22, 0, 108, 2, 0x08 /* Private */,
23, 0, 109, 2, 0x08 /* Private */,
24, 0, 110, 2, 0x08 /* Private */,
25, 0, 111, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
@@ -120,6 +123,7 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
QMetaType::Void, 0x80000000 | 20, 21,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
@@ -143,6 +147,7 @@ void InstructorsAndTraineesWidget::qt_static_metacall(QObject *_o, QMetaObject::
case 9: _t->on_btnConnectionToDB_clicked(); break;
case 10: _t->on_btnAuthorizationInstructor_clicked(); break;
case 11: _t->on_btnUpdateStyleSheet_clicked(); break;
case 12: _t->on_btnQueryGetListInstructors_clicked(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -221,13 +226,13 @@ int InstructorsAndTraineesWidget::qt_metacall(QMetaObject::Call _c, int _id, voi
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 12)
if (_id < 13)
qt_static_metacall(this, _c, _id, _a);
_id -= 12;
_id -= 13;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 12)
if (_id < 13)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 12;
_id -= 13;
}
return _id;
}

View File

@@ -10,6 +10,7 @@
#include "../../../InstructorsAndTrainees/connectorToServer/connectortoserver.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'connectortoserver.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
@@ -22,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ConnectorToServer_t {
QByteArrayData data[20];
char stringdata0[298];
QByteArrayData data[27];
char stringdata0[414];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -46,12 +47,19 @@ QT_MOC_LITERAL(10, 133, 11), // "SendSystem*"
QT_MOC_LITERAL(11, 145, 10), // "sendSystem"
QT_MOC_LITERAL(12, 156, 19), // "sigSendAutorization"
QT_MOC_LITERAL(13, 176, 21), // "sigSendDeAutorization"
QT_MOC_LITERAL(14, 198, 14), // "sigLoginResult"
QT_MOC_LITERAL(15, 213, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(16, 234, 10), // "serverAuth"
QT_MOC_LITERAL(17, 245, 16), // "sigDeLoginResult"
QT_MOC_LITERAL(18, 262, 22), // "ServerDeAuthorization*"
QT_MOC_LITERAL(19, 285, 12) // "serverDeAuth"
QT_MOC_LITERAL(14, 198, 16), // "sigSendQueryToDB"
QT_MOC_LITERAL(15, 215, 14), // "sigLoginResult"
QT_MOC_LITERAL(16, 230, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(17, 251, 10), // "serverAuth"
QT_MOC_LITERAL(18, 262, 16), // "sigDeLoginResult"
QT_MOC_LITERAL(19, 279, 22), // "ServerDeAuthorization*"
QT_MOC_LITERAL(20, 302, 12), // "serverDeAuth"
QT_MOC_LITERAL(21, 315, 15), // "signal_UpdateDB"
QT_MOC_LITERAL(22, 331, 14), // "treeInstructor"
QT_MOC_LITERAL(23, 346, 11), // "treeTrainee"
QT_MOC_LITERAL(24, 358, 20), // "slot_AnswerQueryToDB"
QT_MOC_LITERAL(25, 379, 18), // "QList<Instructor>*"
QT_MOC_LITERAL(26, 398, 15) // "listInstructors"
},
"ConnectorToServer\0sigSetConnect\0\0"
@@ -59,9 +67,13 @@ QT_MOC_LITERAL(19, 285, 12) // "serverDeAuth"
"thread\0sigInitializeClient\0RecognizeSystem*\0"
"recognizeSystem\0SendSystem*\0sendSystem\0"
"sigSendAutorization\0sigSendDeAutorization\0"
"sigLoginResult\0ServerAuthorization*\0"
"serverAuth\0sigDeLoginResult\0"
"ServerDeAuthorization*\0serverDeAuth"
"sigSendQueryToDB\0sigLoginResult\0"
"ServerAuthorization*\0serverAuth\0"
"sigDeLoginResult\0ServerDeAuthorization*\0"
"serverDeAuth\0signal_UpdateDB\0"
"treeInstructor\0treeTrainee\0"
"slot_AnswerQueryToDB\0QList<Instructor>*\0"
"listInstructors"
};
#undef QT_MOC_LITERAL
@@ -71,28 +83,38 @@ static const uint qt_meta_data_ConnectorToServer[] = {
8, // revision
0, // classname
0, 0, // classinfo
6, 14, // methods
9, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
6, // signalCount
8, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 44, 2, 0x06 /* Public */,
7, 3, 49, 2, 0x06 /* Public */,
12, 0, 56, 2, 0x06 /* Public */,
13, 0, 57, 2, 0x06 /* Public */,
14, 1, 58, 2, 0x06 /* Public */,
17, 1, 61, 2, 0x06 /* Public */,
1, 2, 59, 2, 0x06 /* Public */,
7, 3, 64, 2, 0x06 /* Public */,
12, 0, 71, 2, 0x06 /* Public */,
13, 0, 72, 2, 0x06 /* Public */,
14, 0, 73, 2, 0x06 /* Public */,
15, 1, 74, 2, 0x06 /* Public */,
18, 1, 77, 2, 0x06 /* Public */,
21, 2, 80, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
24, 1, 85, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
QMetaType::Void, 0x80000000 | 8, 0x80000000 | 10, 0x80000000 | 5, 9, 11, 6,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 15, 16,
QMetaType::Void, 0x80000000 | 18, 19,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 16, 17,
QMetaType::Void, 0x80000000 | 19, 20,
QMetaType::Void, QMetaType::Bool, QMetaType::Bool, 22, 23,
// slots: parameters
QMetaType::Void, 0x80000000 | 25, 26,
0 // eod
};
@@ -107,8 +129,11 @@ void ConnectorToServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, in
case 1: _t->sigInitializeClient((*reinterpret_cast< RecognizeSystem*(*)>(_a[1])),(*reinterpret_cast< SendSystem*(*)>(_a[2])),(*reinterpret_cast< QThread*(*)>(_a[3]))); break;
case 2: _t->sigSendAutorization(); break;
case 3: _t->sigSendDeAutorization(); break;
case 4: _t->sigLoginResult((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
case 5: _t->sigDeLoginResult((*reinterpret_cast< ServerDeAuthorization*(*)>(_a[1]))); break;
case 4: _t->sigSendQueryToDB(); break;
case 5: _t->sigLoginResult((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
case 6: _t->sigDeLoginResult((*reinterpret_cast< ServerDeAuthorization*(*)>(_a[1]))); break;
case 7: _t->signal_UpdateDB((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
case 8: _t->slot_AnswerQueryToDB((*reinterpret_cast< QList<Instructor>*(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -154,17 +179,31 @@ void ConnectorToServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, in
return;
}
}
{
using _t = void (ConnectorToServer::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigSendQueryToDB)) {
*result = 4;
return;
}
}
{
using _t = void (ConnectorToServer::*)(ServerAuthorization * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigLoginResult)) {
*result = 4;
*result = 5;
return;
}
}
{
using _t = void (ConnectorToServer::*)(ServerDeAuthorization * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigDeLoginResult)) {
*result = 5;
*result = 6;
return;
}
}
{
using _t = void (ConnectorToServer::*)(bool , bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::signal_UpdateDB)) {
*result = 7;
return;
}
}
@@ -200,13 +239,13 @@ int ConnectorToServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 6)
if (_id < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
_id -= 9;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 6)
if (_id < 9)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
_id -= 9;
}
return _id;
}
@@ -238,17 +277,30 @@ void ConnectorToServer::sigSendDeAutorization()
}
// SIGNAL 4
void ConnectorToServer::sigLoginResult(ServerAuthorization * _t1)
void ConnectorToServer::sigSendQueryToDB()
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
// SIGNAL 5
void ConnectorToServer::sigDeLoginResult(ServerDeAuthorization * _t1)
void ConnectorToServer::sigLoginResult(ServerAuthorization * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
// SIGNAL 6
void ConnectorToServer::sigDeLoginResult(ServerDeAuthorization * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
// SIGNAL 7
void ConnectorToServer::signal_UpdateDB(bool _t1, bool _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@@ -42,6 +42,7 @@ public:
QLabel *lblLoggedInInstructor;
QSpacerItem *horizontalSpacer;
QToolButton *btnUpdateStyleSheet;
QToolButton *btnQueryGetListInstructors;
void setupUi(QWidget *InstructorsAndTraineesWidget)
{
@@ -144,6 +145,12 @@ public:
horizontalLayout_1->addWidget(btnUpdateStyleSheet);
btnQueryGetListInstructors = new QToolButton(groupBox);
btnQueryGetListInstructors->setObjectName(QString::fromUtf8("btnQueryGetListInstructors"));
btnQueryGetListInstructors->setMinimumSize(QSize(58, 58));
horizontalLayout_1->addWidget(btnQueryGetListInstructors);
gridLayout_2->addLayout(horizontalLayout_1, 0, 0, 1, 1);
@@ -170,6 +177,7 @@ public:
lblLoggedInPrefix->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "Logged in Instructor: ", nullptr));
lblLoggedInInstructor->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "none", nullptr));
btnUpdateStyleSheet->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "Update StyleSheet", nullptr));
btnQueryGetListInstructors->setText(QCoreApplication::translate("InstructorsAndTraineesWidget", "GET_LIST_INSTRUCTORS", nullptr));
} // retranslateUi
};

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE QtCreatorProject>
<!-- Written by QtCreator 4.11.1, 2024-12-04T10:19:38. -->
<!-- Written by QtCreator 4.11.1, 2024-12-06T11:14:24. -->
<qtcreator>
<data>
<variable>EnvironmentId</variable>

View File

@@ -3,9 +3,10 @@
#include <QMessageBox>
CommonView::CommonView(InterfaceDataBaseLMS* dbLMS, TypeView type, QWidget *parent):
CommonView::CommonView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent):
QWidget(parent),
dbLMS(dbLMS),
dbLMS(nullptr), //TODO
connectorToServer(connectorToServer),
treeWidget(nullptr),
typeView(type),
archiveVisible(false),

View File

@@ -6,6 +6,7 @@
#include <QMutex>
#include "instructorsAndTrainees_global.h"
#include "interfacedatabaselms.h"
#include "connectortoserver.h"
//Родительский класс представления БД Инструкторов/Обучаемых (самого верхнего уровня)
@@ -21,7 +22,7 @@ public:
};
public:
CommonView(InterfaceDataBaseLMS* dbLMS, TypeView type, QWidget *parent = nullptr);
CommonView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent = nullptr);
public:
void setAdminMode(bool adminMode)
@@ -56,6 +57,7 @@ private:
protected:
InterfaceDataBaseLMS* dbLMS;
ConnectorToServer* connectorToServer;
QTreeWidget* treeWidget;
QMutex mtxTreeWidget;
TypeView typeView;

View File

@@ -60,8 +60,28 @@ void DataParser::createAuthMessage(ClientAutorization *auth)
xmlWriter.writeStartDocument();
xmlWriter.writeStartElement("ClientAutorization");
xmlWriter.writeAttribute("Login",auth->Login);
xmlWriter.writeAttribute("Password",auth->Password);
xmlWriter.writeAttribute("Login", auth->Login);
xmlWriter.writeAttribute("Password", auth->Password);
xmlWriter.writeAttribute("TypeClient", QString::number(auth->TypeClient));
xmlWriter.writeEndElement();
xmlWriter.writeEndElement();
xmlWriter.writeEndDocument();
file.close();
}
void DataParser::createQueryToDBMessage(ClientQueryToDB *queryToDB)
{
QFile file(tempName);
file.open(QIODevice::WriteOnly);
QXmlStreamWriter xmlWriter(&file);
xmlWriter.setAutoFormatting(true);
xmlWriter.writeStartDocument();
xmlWriter.writeStartElement("QueryToDB");
xmlWriter.writeAttribute("TypeQuery", QString::number(queryToDB->typeQuery));
xmlWriter.writeEndElement();
xmlWriter.writeEndElement();

View File

@@ -21,6 +21,7 @@ public:
void saveClientSettrings(QString language,bool isAutoStart);
void createFileDataList(QList<FileData> fileDataList,QString filename);
void createAuthMessage(ClientAutorization *auth);
void createQueryToDBMessage(ClientQueryToDB *queryToDB);
void createDeAuthMessage(ClientDeAutorization *deAuth);
void createAuthData(ServerAuthorization *serverAuth);
void createAuthDataOffline(QString username,QString pass);

View File

@@ -1,6 +1,7 @@
#include "Core/recognizesystem.h"
#include <QThread>
#include <QDir>
#include "instructor.h"
RecognizeSystem::RecognizeSystem(QObject *parent):
@@ -14,6 +15,8 @@ RecognizeSystem::RecognizeSystem(QObject *parent):
tmpBlock.clear();
countSend = 0;
folderList = new QList<QString>;
listInstructors = new QList<Instructor>;
}
RecognizeSystem::~RecognizeSystem()
@@ -25,7 +28,7 @@ void RecognizeSystem::initialize(DataParser *dataParser/*,MainWindow *mainWindow
{
this->dataParser = dataParser;
//this->mainWindow = mainWindow;
connect(this,&RecognizeSystem::sigSaveLoginData,dataParser,&DataParser::createAuthData);
connect(this,&RecognizeSystem::sigAuth,dataParser,&DataParser::createAuthData);
}
void RecognizeSystem::recognize(QTcpSocket *socket)
@@ -259,9 +262,12 @@ void RecognizeSystem::xmlParser(QByteArray array)
QXmlStreamReader xmlReader(array);
xmlReader.readNext();
QString name = xmlReader.name().toString();
while(!xmlReader.atEnd())
{
name = xmlReader.name().toString();
if(!xmlReader.isStartElement()) {
xmlReader.readNext();
continue;
@@ -325,7 +331,7 @@ void RecognizeSystem::xmlParser(QByteArray array)
}
}
emit sigSaveLoginData(serverAuth);
emit sigAuth(serverAuth);
}
if(xmlReader.name() == "ServerDeAuthorization"){
@@ -349,6 +355,71 @@ void RecognizeSystem::xmlParser(QByteArray array)
emit sigDeAuth(serverDeAuth);
}
if(xmlReader.name() == "ListInstructors"){
xmlReader.readNext();
name = xmlReader.name().toString();
QList<Instructor> listInstructors;
while(!xmlReader.atEnd())
{
name = xmlReader.name().toString();
if(!xmlReader.isStartElement()) {
xmlReader.readNext();
continue;
}
if(xmlReader.name() == "Instructor")
{
Instructor instructor;
foreach(const QXmlStreamAttribute &attr, xmlReader.attributes())
{
QString name = attr.name().toString();
QString value = attr.value().toString();
if (name == "instructor_id"){
instructor.setID(value.toInt());
}
if (name == "name"){
instructor.setName(value);
}
if (name == "login"){
instructor.setLogin(value);
}
if (name == "password"){
instructor.setPassword(value);
}
if (name == "is_admin"){
instructor.setIsAdmin(value == "true" ? true : false);
}
if (name == "archived"){
instructor.setArchived(value == "true" ? true : false);
}
if (name == "logged_in"){
instructor.setLoggedIn(value == "true" ? true : false);
}
}
listInstructors.append(instructor);
}
//emit sigDeAuth(serverDeAuth);
xmlReader.readNext();
}
int i = 0;
i++;
*this->listInstructors = listInstructors;
emit sigAnswerQueryToDB(this->listInstructors);
}
xmlReader.readNext();
}
}

View File

@@ -7,6 +7,7 @@
//#include <mainwindow.h>
#include <Core\tools.h>
#include "dataparser.h"
#include "instructor.h"
class RecognizeSystem : public QObject
@@ -27,8 +28,9 @@ signals:
void sigSendDebugLog(QString message);
void sigSocketDisabled();
void sigServerBlocked();
void sigSaveLoginData(ServerAuthorization *serverAuth);
void sigAuth(ServerAuthorization *serverAuth);
void sigDeAuth(ServerDeAuthorization *serverDeAuth);
void sigAnswerQueryToDB(QList<Instructor>* listInstructors);
void sigSocketWaitForReadyRead(int waitTime);
void sigStartCompare();
@@ -45,6 +47,8 @@ private:
qint64 fileSize;
int countSend;
QList<Instructor>* listInstructors;
void xmlParser(QByteArray array);
void checkAccessType(QString type);

View File

@@ -129,6 +129,23 @@ void SendSystem::sendFinish()
socket->waitForReadyRead(100);
}
void SendSystem::sendClientQueryToDB()
{
QDataStream stream(socket);
stream.setVersion(QDataStream::Qt_DefaultCompiledVersion);
QFile file(tempName);
file.open(QIODevice::ReadOnly);
QByteArray array = file.readAll();
stream << PacketType::TYPE_XMLANSWER;
stream << array;
socket->waitForBytesWritten();
file.close();
}
SendSystem::~SendSystem()
{

View File

@@ -19,6 +19,8 @@ public:
void sendXMLAnswer(QByteArray array);
~SendSystem();
void sendFinish();
void sendClientQueryToDB();
signals:
void sigSend();
QByteArray sigGetXmlAnswer(QString);

View File

@@ -30,7 +30,9 @@ enum PacketType{
TYPE_NEEDUPDATE = 7,
TYPE_XMLANSWER = 8,
TYPE_QT = 9,
TYPE_DISABLE = 11
TYPE_DISABLE = 11,
TYPE_GET_LIST_INSTRUCTORS = 100
};
class Tools {

View File

@@ -25,10 +25,16 @@ public:
QString Login;
};
enum TypeClientAutorization{
TYPE_SIMPLE = 0,
TYPE_GUI = 10
};
class ClientAutorization{
public:
QString Login;
QString Password;
TypeClientAutorization TypeClient;
};
class ClientDeAutorization{
@@ -36,6 +42,15 @@ public:
QString Login;
};
enum TypeQueryToDB{
TYPE_QUERY_GET_LIST_INSTRUCTORS
};
class ClientQueryToDB{
public:
TypeQueryToDB typeQuery;
};
class ServerMessage
{
public:

View File

@@ -22,6 +22,7 @@ bool ConnectorToServer::authorizationInstructorLocal(QString login, QString pass
ClientAutorization *autorization = new ClientAutorization;
autorization->Login = login;
autorization->Password = password;
autorization->TypeClient = TypeClientAutorization::TYPE_GUI;
dataParser->createAuthMessage(autorization);
emit sigSendAutorization();
@@ -45,6 +46,31 @@ bool ConnectorToServer::deAuthorizationInstructorLocal(QString login)
return true;
}
bool ConnectorToServer::queryGetListInstructors()
{
if (!client->getIsConnected())
{
return false;
}
ClientQueryToDB *queryToDB = new ClientQueryToDB;
queryToDB->typeQuery = TypeQueryToDB::TYPE_QUERY_GET_LIST_INSTRUCTORS;
dataParser->createQueryToDBMessage(queryToDB);
emit sigSendQueryToDB();
}
QList<Instructor> ConnectorToServer::getListInstructors()
{
return listInstructors;
}
void ConnectorToServer::slot_AnswerQueryToDB(QList<Instructor>* listInstructors)
{
this->listInstructors = *listInstructors;
emit signal_UpdateDB(true, false);
}
void ConnectorToServer::initialize()
{
createObjects();
@@ -63,8 +89,11 @@ void ConnectorToServer::bindConnection()
connect(this,&ConnectorToServer::sigSendAutorization,sendSystem,&SendSystem::sendClientAutorization);
connect(this,&ConnectorToServer::sigSendDeAutorization,sendSystem,&SendSystem::sendClientAutorization);
connect(recognizeSystem,&RecognizeSystem::sigSaveLoginData,this,&ConnectorToServer::sigLoginResult);
connect(this,&ConnectorToServer::sigSendQueryToDB,sendSystem,&SendSystem::sendClientQueryToDB);
connect(recognizeSystem,&RecognizeSystem::sigAuth,this,&ConnectorToServer::sigLoginResult);
connect(recognizeSystem,&RecognizeSystem::sigDeAuth,this,&ConnectorToServer::sigDeLoginResult);
connect(recognizeSystem,&RecognizeSystem::sigAnswerQueryToDB,this,&ConnectorToServer::slot_AnswerQueryToDB);
}
void ConnectorToServer::createObjects()

View File

@@ -16,7 +16,12 @@ public:
bool authorizationInstructorLocal(QString login, QString password);
bool deAuthorizationInstructorLocal(QString login);
private slots:
bool queryGetListInstructors();
QList<Instructor> getListInstructors();
public slots:
void slot_AnswerQueryToDB(QList<Instructor>* listInstructors);
signals:
void sigSetConnect(ServerSettings* serverSettings,QThread *thread);
@@ -25,9 +30,16 @@ signals:
QThread *thread);
void sigSendAutorization();
void sigSendDeAutorization();
void sigSendQueryToDB();
void sigLoginResult(ServerAuthorization * serverAuth);
void sigDeLoginResult(ServerDeAuthorization * serverDeAuth);
void signal_UpdateDB(bool treeInstructor, bool treeTrainee);
private:
void initialize();
void bindConnection();
@@ -40,6 +52,7 @@ private:
SendSystem *sendSystem;
RecognizeSystem *recognizeSystem;
QList<Instructor> listInstructors;
};
#endif // CONNECTORTOSERVER_H

View File

@@ -3,8 +3,8 @@
#include "dialogeditinstructor.h"
#include "ui_editorinstructors.h"
EditorInstructors::EditorInstructors(InterfaceDataBaseLMS* dbLMS, bool adminMode, QWidget *parent) :
InstructorsView(dbLMS, CommonView::TypeView::control, parent),
EditorInstructors::EditorInstructors(ConnectorToServer* connectorToServer, bool adminMode, QWidget *parent) :
InstructorsView(connectorToServer, CommonView::TypeView::control, parent),
ui(new Ui::EditorInstructors)
{
ui->setupUi((QDialog*)this);

View File

@@ -16,7 +16,7 @@ class EditorInstructors : public InstructorsView
Q_OBJECT
public:
explicit EditorInstructors(InterfaceDataBaseLMS* dbLMS, bool adminMode, QWidget *parent = nullptr);
explicit EditorInstructors(ConnectorToServer* connectorToServer, bool adminMode, QWidget *parent = nullptr);
~EditorInstructors();
private Q_SLOTS:

View File

@@ -2,8 +2,8 @@
#include <QTranslator>
#include "instructorsview.h"
InstructorsView::InstructorsView(InterfaceDataBaseLMS* dbLMS, TypeView type, QWidget *parent):
CommonView(dbLMS, type, parent)
InstructorsView::InstructorsView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent):
CommonView(connectorToServer, type, parent)
{
}
@@ -99,15 +99,14 @@ void InstructorsView::loadInstructorsFromDB()
//Обновление дерева
treeWidget->clear();
if(!dbLMS->DBisConnected())
{
mtxTreeWidget.unlock();
return;
}
//Инструкторы
QList<Instructor> listInstructors;
listInstructors = dbLMS->getListInstructors();
//TODO
//listInstructors = dbLMS->getListInstructors();
//sendSystem->getListInstructors();
listInstructors = connectorToServer->getListInstructors();
for(Instructor instructor : listInstructors)
{
QTreeWidgetItem *ItemInstructor = new QTreeWidgetItem(treeWidget);

View File

@@ -11,7 +11,7 @@ class InstructorsView: public CommonView
Q_OBJECT
public:
InstructorsView(InterfaceDataBaseLMS* dbLMS, TypeView type, QWidget *parent = nullptr);
InstructorsView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent = nullptr);
protected:
enum ColumnsTreeInsructors{

View File

@@ -3,8 +3,8 @@
#include "viewerinstructors.h"
#include "ui_viewerinstructors.h"
ViewerInstructors::ViewerInstructors(InterfaceDataBaseLMS* db, QWidget *parent) :
InstructorsView(db, CommonView::TypeView::onlyView, parent),
ViewerInstructors::ViewerInstructors(ConnectorToServer* connectorToServer, QWidget *parent) :
InstructorsView(connectorToServer, CommonView::TypeView::onlyView, parent),
ui(new Ui::ViewerInstructors)
{
ui->setupUi(this);
@@ -39,7 +39,7 @@ void ViewerInstructors::on_btnEditorInstructors_clicked()
{
Q_EMIT signal_BlockAutorization(true);
EditorInstructors editorInstructors(dbLMS, adminMode);
EditorInstructors editorInstructors(connectorToServer, adminMode);
QDialog* dialog = new QDialog(this);
QHBoxLayout *layout = new QHBoxLayout(dialog);
layout->addWidget(&editorInstructors);

View File

@@ -14,7 +14,7 @@ class ViewerInstructors : public InstructorsView
Q_OBJECT
public:
explicit ViewerInstructors(InterfaceDataBaseLMS* db, QWidget *parent = nullptr);
explicit ViewerInstructors(ConnectorToServer* connectorToServer, QWidget *parent = nullptr);
~ViewerInstructors();
protected:

View File

@@ -14,7 +14,8 @@ InstructorsAndTraineesWidget::InstructorsAndTraineesWidget(QWidget *parent) :
messangerWidget(nullptr),
docTasksWidget(nullptr),
adminMode(false),
loginInstructorLoggedInLocal(QStringLiteral(""))
loginInstructorLoggedInLocal(QStringLiteral("")),
nameInstructorLoggedInLocal(QStringLiteral(""))
{
ui->setupUi(this);
@@ -25,8 +26,8 @@ InstructorsAndTraineesWidget::InstructorsAndTraineesWidget(QWidget *parent) :
dbLMS = new InterfaceDataBaseLMS(this);
connect(this, &InstructorsAndTraineesWidget::signal_LanguageChanged, dbLMS, &InterfaceDataBaseLMS::slot_LanguageChanged);
viewerTrainees = new ViewerTrainees(dbLMS);
viewerInstructors = new ViewerInstructors(dbLMS);
viewerTrainees = new ViewerTrainees(connectorToServer);
viewerInstructors = new ViewerInstructors(connectorToServer);
connect(this, &InstructorsAndTraineesWidget::signal_NeedUpdateUI, viewerTrainees, &ViewerTrainees::slot_NeedUpdateUI);
connect(this, &InstructorsAndTraineesWidget::signal_NeedUpdateUI, viewerInstructors, &ViewerInstructors::slot_NeedUpdateUI);
connect(viewerInstructors, &ViewerInstructors::signal_BlockAutorization, this, &InstructorsAndTraineesWidget::signal_BlockAutorization);
@@ -34,6 +35,8 @@ InstructorsAndTraineesWidget::InstructorsAndTraineesWidget(QWidget *parent) :
connect(viewerTrainees, &ViewerTrainees::signal_traineeSelected, this, &InstructorsAndTraineesWidget::signal_traineeSelected);
connect(this, &InstructorsAndTraineesWidget::signal_tabMessengerChanged, viewerTrainees, &ViewerTrainees::slot_tabMessengerChanged);
connect(connectorToServer,&ConnectorToServer::signal_UpdateDB,viewerInstructors,&ViewerInstructors::slot_NeedUpdateUI);
messangerWidget = new MessangerWidget(this);
docTasksWidget = new DocTasksWidget(this);
@@ -52,14 +55,6 @@ InstructorsAndTraineesWidget::~InstructorsAndTraineesWidget()
if(authorizationIsCompleted())
deAuthorizationInstructor(loginInstructorLoggedInLocal);
if(dbLMS->DBisConnected())
{
dbLMS->deAuthorizationAllInstructors();
dbLMS->deAuthorizationAllTrainees();
dbLMS->DisConnectionFromDB();
}
delete docTasksWidget;
delete messangerWidget;
delete viewerInstructors;
@@ -86,7 +81,7 @@ void InstructorsAndTraineesWidget::changeEvent(QEvent *event)
else
ui->btnConnectionToDB->setText(tr("Connection DB"));
updateLabelLoggedInInstructor(loginInstructorLoggedInLocal, "???");
updateLabelLoggedInInstructor(loginInstructorLoggedInLocal, nameInstructorLoggedInLocal);
}
}
@@ -103,6 +98,7 @@ void InstructorsAndTraineesWidget::checkLoginResult(ServerAuthorization *serverA
if (serverAuth->Result)
{
loginInstructorLoggedInLocal = serverAuth->Login;
nameInstructorLoggedInLocal = serverAuth->ClientName;
if(loginInstructorLoggedInLocal == QStringLiteral("admin"))
adminMode = true;
@@ -120,12 +116,11 @@ void InstructorsAndTraineesWidget::checkLoginResult(ServerAuthorization *serverA
updateLabelLoggedInInstructor(serverAuth->Login, serverAuth->ClientName);
//Q_EMIT signal_NeedUpdateUI(true, true);
QMessageBox::information(this, tr("Instructor authorization"), tr("Successfully!"));
}
else
{
ui->btnAuthorizationInstructor->setChecked(false);
QMessageBox::warning(this, tr("Instructor authorization"), tr("Invalid login or password!"));
}
}
@@ -135,6 +130,7 @@ void InstructorsAndTraineesWidget::checkDeLoginResult(ServerDeAuthorization *ser
if (serverDeAuth->Result)
{
loginInstructorLoggedInLocal = QStringLiteral("");
nameInstructorLoggedInLocal = QStringLiteral("");
adminMode = false;
viewerInstructors->setAdminMode(adminMode);
@@ -152,6 +148,7 @@ void InstructorsAndTraineesWidget::checkDeLoginResult(ServerDeAuthorization *ser
}
else
{
ui->btnAuthorizationInstructor->setChecked(true);
QMessageBox::warning(this, tr("Instructor deauthorization"), tr("Error!"));
}
}
@@ -170,7 +167,6 @@ bool InstructorsAndTraineesWidget::authorizationInstructorDialog(QWidget* parent
QString login = dlg.getLogin();
QString password = dlg.getPassword();
//if(authorizationInstructor(login, password))
connectorToServer->authorizationInstructorLocal(login, password);
return true;
@@ -188,44 +184,8 @@ bool InstructorsAndTraineesWidget::authorizationInstructorDialog(QWidget* parent
bool InstructorsAndTraineesWidget::deAuthorizationInstructor(QString login)
{
mtxAccess.lock();
/*
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return false;
}*/
//Q_EMIT signal_BlockAutorization(true);
//bool res = dbLMS->deAuthorizationInstructor(login);
connectorToServer->deAuthorizationInstructorLocal(login);
//Q_EMIT signal_BlockAutorization(false);
/*
if(res)
{
if(loginInstructorLoggedInLocal == login)
{
loginInstructorLoggedInLocal = QStringLiteral("");
adminMode = false;
viewerInstructors->setAdminMode(adminMode);
viewerTrainees->setAdminMode(adminMode);
viewerInstructors->setAuthComplited(false);
viewerTrainees->setAuthComplited(false);
Q_EMIT signal_NeedUpdateUI(true, false);
}
else
Q_EMIT signal_NeedUpdateUI(true, false);
} */
mtxAccess.unlock();
return /*res*/true;
return true;
}
bool InstructorsAndTraineesWidget::authorizationIsCompleted()
@@ -242,7 +202,7 @@ void InstructorsAndTraineesWidget::on_btnConnectionToDB_clicked()
if(stateIsChecked)
{//Подключение к БД
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
if(dbLMS->ConnectionToDB())
@@ -259,7 +219,6 @@ void InstructorsAndTraineesWidget::on_btnConnectionToDB_clicked()
Q_EMIT signal_InitMessanger(dbLMS->getListTrainees());
}
}
mtxAccess.unlock();
}
else
{//Отключение от БД
@@ -267,7 +226,6 @@ void InstructorsAndTraineesWidget::on_btnConnectionToDB_clicked()
if(stateIsCheckedAuthorization)
ui->btnAuthorizationInstructor->click();
mtxAccess.lock();
if(dbLMS->DBisConnected())
{
Q_EMIT signal_BlockAutorization(true);
@@ -281,7 +239,6 @@ void InstructorsAndTraineesWidget::on_btnConnectionToDB_clicked()
Q_EMIT signal_NeedUpdateUI(true, true);
}
mtxAccess.unlock();
}
}
@@ -293,7 +250,6 @@ void InstructorsAndTraineesWidget::on_btnAuthorizationInstructor_clicked()
{//Авторизация Инструктора локальная (Администратора)
if(authorizationInstructorDialog(this))
{
}
else
ui->btnAuthorizationInstructor->setChecked(false);
@@ -304,27 +260,15 @@ void InstructorsAndTraineesWidget::on_btnAuthorizationInstructor_clicked()
{
if(deAuthorizationInstructor(loginInstructorLoggedInLocal))
{
//ui->btnAuthorizationInstructor->setText(tr("Authorization Instructor"));
//updateLabelLoggedInInstructor();
//Q_EMIT signal_NeedUpdateUI(true, true);
}
else
ui->btnAuthorizationInstructor->setChecked(true);
}
}
}
void InstructorsAndTraineesWidget::updateLabelLoggedInInstructor(QString login, QString name)
{
mtxAccess.lock();
/*
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return;
}*/
if(authorizationIsCompleted())
{
QString nameLoggedInInstructor = QString("%1 (%2)").arg(name, login);
@@ -339,8 +283,6 @@ void InstructorsAndTraineesWidget::updateLabelLoggedInInstructor(QString login,
ui->lblLoggedInInstructor->setText(tr("none"));
ui->lblLoggedIn->setPixmap(QPixmap(QStringLiteral(":/icons/circleGray.png")));
}
mtxAccess.unlock();
}
void InstructorsAndTraineesWidget::on_btnUpdateStyleSheet_clicked()
@@ -348,3 +290,8 @@ void InstructorsAndTraineesWidget::on_btnUpdateStyleSheet_clicked()
viewerTrainees->updateMyStyleSheet();
viewerInstructors->updateMyStyleSheet();
}
void InstructorsAndTraineesWidget::on_btnQueryGetListInstructors_clicked()
{
connectorToServer->queryGetListInstructors();
}

View File

@@ -31,25 +31,20 @@ public Q_SLOTS:
void slot_LanguageChanged(QString language);
//Слот обработки результата авторизации
void checkLoginResult(ServerAuthorization * serverAuth);
//Слот обработки результата авторизации
//Слот обработки результата деавторизации
void checkDeLoginResult(ServerDeAuthorization * serverDeAuth);
Q_SIGNALS:
//сигнал об изменении языка интерфейса
void signal_LanguageChanged(QString language);
//сигнал о необходимости обновления интерфейса
void signal_NeedUpdateUI(bool treeInstructor, bool treeTrainee);
//сигнал о блокировке авторизации
void signal_BlockAutorization(bool block);
//сигнал о выборе обучаемого (в списке)
void signal_traineeSelected(QString login);
//сигнал об изменении вкладки диалога (в мессенджере)
void signal_tabMessengerChanged(QString login);
//сигнал об инициализации мессенджера
void signal_InitMessanger(QList<Trainee> listTrainees);
@@ -58,13 +53,14 @@ private Q_SLOTS:
void on_btnAuthorizationInstructor_clicked();
void on_btnUpdateStyleSheet_clicked();
private:
void updateLabelLoggedInInstructor(QString login, QString name);
void on_btnQueryGetListInstructors_clicked();
private:
//Авторизация инструктора локальная
bool authorizationInstructorDialog(QWidget* parent = nullptr);
bool deAuthorizationInstructor(QString login);
bool authorizationIsCompleted();
void updateLabelLoggedInInstructor(QString login, QString name);
private:
Ui::InstructorsAndTraineesWidget *ui;
@@ -80,10 +76,9 @@ private:
bool adminMode;
QString loginInstructorLoggedInLocal;
QString nameInstructorLoggedInLocal;
QTranslator qtLanguageTranslator;
QMutex mtxAccess;
};
#endif // INSTRUCTORSANDTRAINEESWIDGET_H

View File

@@ -212,6 +212,19 @@
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="btnQueryGetListInstructors">
<property name="minimumSize">
<size>
<width>58</width>
<height>58</height>
</size>
</property>
<property name="text">
<string>GET_LIST_INSTRUCTORS</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>

View File

@@ -4,8 +4,8 @@
#include "dialogeditgroup.h"
#include "dialogedittrainee.h"
EditorTrainees::EditorTrainees(InterfaceDataBaseLMS* dbLMS, bool adminMode, QWidget *parent) :
TraineesView(dbLMS, CommonView::TypeView::control, parent),
EditorTrainees::EditorTrainees(ConnectorToServer* connectorToServer, bool adminMode, QWidget *parent) :
TraineesView(connectorToServer, CommonView::TypeView::control, parent),
ui(new Ui::EditorTrainees)
{
ui->setupUi((QDialog*)this);

View File

@@ -17,7 +17,7 @@ class EditorTrainees : public TraineesView
Q_OBJECT
public:
explicit EditorTrainees(InterfaceDataBaseLMS* dbLMS, bool adminMode, QWidget *parent = nullptr);
explicit EditorTrainees(ConnectorToServer* connectorToServer, bool adminMode, QWidget *parent = nullptr);
~EditorTrainees();
private Q_SLOTS:

View File

@@ -1,8 +1,8 @@
#include <QHeaderView>
#include "traineesview.h"
TraineesView::TraineesView(InterfaceDataBaseLMS* dbLMS, TypeView type, QWidget *parent):
CommonView(dbLMS, type, parent)
TraineesView::TraineesView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent):
CommonView(connectorToServer, type, parent)
{
}
@@ -101,18 +101,12 @@ void TraineesView::loadTraineesFromDB()
//Обновление дерева
treeWidget->clear();
if(!dbLMS->DBisConnected())
{
mtxTreeWidget.unlock();
return;
}
QList <Group> listGroups;
QList <Trainee> listTrainees;
//dbLMS->transactionBegin();
listGroups = dbLMS->getListGroups();
listTrainees = dbLMS->getListTrainees();
//dbLMS->transactionEnd();
//TODO
//listGroups = dbLMS->getListGroups();
//listTrainees = dbLMS->getListTrainees();
for(Group group : listGroups)
{

View File

@@ -11,7 +11,7 @@ class TraineesView: public CommonView
Q_OBJECT
public:
TraineesView(InterfaceDataBaseLMS* dbLMS, TypeView type, QWidget *parent = nullptr);
TraineesView(ConnectorToServer* connectorToServer, TypeView type, QWidget *parent = nullptr);
protected:
enum ColumnsTreeTrainees{

View File

@@ -2,8 +2,8 @@
#include "viewertrainees.h"
#include "ui_viewertrainees.h"
ViewerTrainees::ViewerTrainees(InterfaceDataBaseLMS* db, QWidget *parent) :
TraineesView(db, CommonView::TypeView::onlyView, parent),
ViewerTrainees::ViewerTrainees(ConnectorToServer* connectorToServer, QWidget *parent) :
TraineesView(connectorToServer, CommonView::TypeView::onlyView, parent),
ui(new Ui::ViewerTrainees)
{
ui->setupUi(this);
@@ -67,7 +67,7 @@ void ViewerTrainees::on_btnEditorTrainees_clicked()
{
Q_EMIT signal_BlockAutorization(true);
EditorTrainees editorTraineesGroups(dbLMS, adminMode);
EditorTrainees editorTraineesGroups(connectorToServer, adminMode);
QDialog* dialog = new QDialog(this);
QHBoxLayout *layout = new QHBoxLayout(dialog);
layout->addWidget(&editorTraineesGroups);

View File

@@ -14,7 +14,7 @@ class ViewerTrainees : public TraineesView
Q_OBJECT
public:
explicit ViewerTrainees(InterfaceDataBaseLMS* db, QWidget *parent = nullptr);
explicit ViewerTrainees(ConnectorToServer* connectorToServer, QWidget *parent = nullptr);
~ViewerTrainees();
protected: