Сделал первый этап разделения Сервера и GUI

This commit is contained in:
krivoshein
2024-12-02 17:45:06 +03:00
parent 927b789486
commit b86717d212
48 changed files with 813 additions and 1182 deletions

View File

@@ -1355,7 +1355,7 @@
}
],
"type" : "STATIC",
"value" : "general;Qt5::Widgets;general;Qt5::Network;general;Qt5::Concurrent;general;Qt5::Sql;general;Qt5::Xml;general;libInstructorsAndTrainees.dll;general;libDataBaseLMS.dll;"
"value" : "general;Qt5::Widgets;general;Qt5::Network;general;Qt5::Concurrent;general;Qt5::Sql;general;Qt5::Xml;general;libDataBaseLMS.dll;"
},
{
"name" : "ServerLMS_SOURCE_DIR",

View File

@@ -4,25 +4,10 @@
{
"path" : "CMakeLists.txt"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeSystem.cmake.in"
},
{
"isGenerated" : true,
"path" : "D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeNinjaFindMake.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
@@ -33,256 +18,6 @@
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-Initialize.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-Determine-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompilerId.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeCompilerIdDetection.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/ADSP-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Borland-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Clang-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Cray-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/CrayClang-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/GHS-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/IAR-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Intel-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/MSVC-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/OrangeC-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/PGI-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/PathScale-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/SCO-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/TI-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Tasking-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/Watcom-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeFindBinUtils.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Compiler/GNU-FindBinUtils.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeCXXCompiler.cmake.in"
},
{
"isGenerated" : true,
"path" : "D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
@@ -362,16 +97,6 @@
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-GNU.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineRCCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeRCCompiler.cmake.in"
},
{
"isGenerated" : true,
"path" : "D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeRCCompiler.cmake"
@@ -389,77 +114,13 @@
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeTestRCCompiler.cmake"
"path" : "C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-GNU-CXX-ABI.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeTestCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeTestCompilerCommon.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompilerABI.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeParseImplicitLinkInfo.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeParseLibraryArchitecture.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeTestCompilerCommon.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeCXXCompilerABI.cpp"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Internal/FeatureTesting.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/CMakeCXXCompiler.cmake.in"
},
{
"isGenerated" : true,
"path" : "D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-GNU-CXX-ABI.cmake"
},
{
"isExternal" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/cmake/Qt5/Qt5ConfigVersion.cmake"

View File

@@ -41,7 +41,7 @@
{
"directoryIndex" : 0,
"id" : "ServerLMS::@6890427a1f51a3e7e1df",
"jsonFile" : "target-ServerLMS-Debug-c195d45b22b27f4dc30f.json",
"jsonFile" : "target-ServerLMS-Debug-1e8ea9a160d6d70bbdeb.json",
"name" : "ServerLMS",
"projectIndex" : 0
},

View File

@@ -26,7 +26,7 @@
"objects" :
[
{
"jsonFile" : "codemodel-v2-d44642a0b6dd2a8bbdd5.json",
"jsonFile" : "codemodel-v2-6fe357fa3e4eee1e3fe5.json",
"kind" : "codemodel",
"version" :
{
@@ -35,7 +35,7 @@
}
},
{
"jsonFile" : "cache-v2-1a36cc9a05ba540c7b51.json",
"jsonFile" : "cache-v2-72182681a0f4bb37e026.json",
"kind" : "cache",
"version" :
{
@@ -44,7 +44,7 @@
}
},
{
"jsonFile" : "cmakeFiles-v1-d1366a2fb56cc561db4a.json",
"jsonFile" : "cmakeFiles-v1-a585df09cf944e3e9c89.json",
"kind" : "cmakeFiles",
"version" :
{
@@ -57,7 +57,7 @@
{
"cache-v2" :
{
"jsonFile" : "cache-v2-1a36cc9a05ba540c7b51.json",
"jsonFile" : "cache-v2-72182681a0f4bb37e026.json",
"kind" : "cache",
"version" :
{
@@ -67,7 +67,7 @@
},
"cmakeFiles-v1" :
{
"jsonFile" : "cmakeFiles-v1-d1366a2fb56cc561db4a.json",
"jsonFile" : "cmakeFiles-v1-a585df09cf944e3e9c89.json",
"kind" : "cmakeFiles",
"version" :
{
@@ -77,7 +77,7 @@
},
"codemodel-v2" :
{
"jsonFile" : "codemodel-v2-d44642a0b6dd2a8bbdd5.json",
"jsonFile" : "codemodel-v2-6fe357fa3e4eee1e3fe5.json",
"kind" : "codemodel",
"version" :
{

View File

@@ -40,19 +40,13 @@
{
"command" : 0,
"file" : 0,
"line" : 29,
"line" : 28,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 80,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 89,
"line" : 70,
"parent" : 0
},
{
@@ -88,13 +82,7 @@
{
"command" : 2,
"file" : 0,
"line" : 84,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 93,
"line" : 74,
"parent" : 0
},
{
@@ -105,29 +93,29 @@
},
{
"file" : 2,
"parent" : 11
"parent" : 9
},
{
"command" : 5,
"file" : 2,
"line" : 28,
"parent" : 12
"parent" : 10
},
{
"file" : 1,
"parent" : 13
"parent" : 11
},
{
"command" : 4,
"file" : 1,
"line" : 185,
"parent" : 14
"parent" : 12
},
{
"command" : 3,
"file" : 1,
"line" : 45,
"parent" : 15
"parent" : 13
},
{
"command" : 6,
@@ -138,43 +126,13 @@
{
"command" : 7,
"file" : 0,
"line" : 96,
"parent" : 0
},
{
"command" : 8,
"file" : 0,
"line" : 74,
"parent" : 0
},
{
"command" : 8,
"file" : 0,
"line" : 75,
"parent" : 0
},
{
"command" : 8,
"file" : 0,
"line" : 76,
"parent" : 0
},
{
"command" : 8,
"file" : 0,
"line" : 77,
"parent" : 0
},
{
"command" : 8,
"file" : 0,
"line" : 78,
"parent" : 0
},
{
"command" : 8,
"file" : 0,
"line" : 87,
"line" : 68,
"parent" : 0
}
]
@@ -191,39 +149,39 @@
"defines" :
[
{
"backtrace" : 17,
"backtrace" : 15,
"define" : "PROJECT_TYPE_DEBUG"
},
{
"backtrace" : 6,
"backtrace" : 5,
"define" : "QT_CONCURRENT_LIB"
},
{
"backtrace" : 4,
"backtrace" : 3,
"define" : "QT_CORE_LIB"
},
{
"backtrace" : 4,
"backtrace" : 3,
"define" : "QT_GUI_LIB"
},
{
"backtrace" : 5,
"backtrace" : 4,
"define" : "QT_NETWORK_LIB"
},
{
"backtrace" : 7,
"backtrace" : 6,
"define" : "QT_SQL_LIB"
},
{
"backtrace" : 4,
"backtrace" : 3,
"define" : "QT_WIDGETS_LIB"
},
{
"backtrace" : 8,
"backtrace" : 7,
"define" : "QT_XML_LIB"
},
{
"backtrace" : 18,
"backtrace" : 16,
"define" : "SERVERLMS_LIBRARY"
},
{
@@ -243,76 +201,56 @@
"path" : "D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include"
},
{
"backtrace" : 19,
"path" : "D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees"
},
{
"backtrace" : 20,
"path" : "D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/instructors"
},
{
"backtrace" : 21,
"path" : "D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/trainees"
},
{
"backtrace" : 22,
"path" : "D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/tasks"
},
{
"backtrace" : 23,
"path" : "D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/docTasks"
},
{
"backtrace" : 24,
"backtrace" : 17,
"path" : "D:/LMS/ServerLMS/ServerLMS/../../DB_LMS/DataBaseLMS"
},
{
"backtrace" : 4,
"backtrace" : 3,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include"
},
{
"backtrace" : 4,
"backtrace" : 3,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtWidgets"
},
{
"backtrace" : 4,
"backtrace" : 3,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtGui"
},
{
"backtrace" : 4,
"backtrace" : 3,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtANGLE"
},
{
"backtrace" : 4,
"backtrace" : 3,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtCore"
},
{
"backtrace" : 4,
"backtrace" : 3,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/./mkspecs/win32-g++"
},
{
"backtrace" : 5,
"backtrace" : 4,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtNetwork"
},
{
"backtrace" : 6,
"backtrace" : 5,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtConcurrent"
},
{
"backtrace" : 7,
"backtrace" : 6,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtSql"
},
{
"backtrace" : 8,
"backtrace" : 7,
"isSystem" : true,
"path" : "C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtXml"
}
@@ -322,7 +260,7 @@
{
"backtraces" :
[
4
3
],
"standard" : "11"
},
@@ -330,17 +268,17 @@
[
0,
2,
5,
10,
12,
14,
16,
18,
20,
22,
24,
26,
31
7,
9,
11,
13,
15,
17,
19,
21,
23,
25,
29
]
}
],
@@ -362,56 +300,46 @@
},
{
"backtrace" : 2,
"fragment" : "-LD:\\LMS\\ServerLMS\\ServerLMS\\..\\..\\DB_IaT\\Debug64",
"role" : "libraryPath"
},
{
"backtrace" : 3,
"fragment" : "-LD:\\LMS\\ServerLMS\\ServerLMS\\..\\..\\DB_LMS\\Debug64",
"role" : "libraryPath"
},
{
"backtrace" : 4,
"backtrace" : 3,
"fragment" : "C:\\Qt\\Qt5.14.2\\5.14.2\\mingw73_64\\lib\\libQt5Widgets.a",
"role" : "libraries"
},
{
"backtrace" : 5,
"backtrace" : 4,
"fragment" : "C:\\Qt\\Qt5.14.2\\5.14.2\\mingw73_64\\lib\\libQt5Network.a",
"role" : "libraries"
},
{
"backtrace" : 6,
"backtrace" : 5,
"fragment" : "C:\\Qt\\Qt5.14.2\\5.14.2\\mingw73_64\\lib\\libQt5Concurrent.a",
"role" : "libraries"
},
{
"backtrace" : 7,
"backtrace" : 6,
"fragment" : "C:\\Qt\\Qt5.14.2\\5.14.2\\mingw73_64\\lib\\libQt5Sql.a",
"role" : "libraries"
},
{
"backtrace" : 8,
"backtrace" : 7,
"fragment" : "C:\\Qt\\Qt5.14.2\\5.14.2\\mingw73_64\\lib\\libQt5Xml.a",
"role" : "libraries"
},
{
"backtrace" : 9,
"fragment" : "-lInstructorsAndTrainees",
"role" : "libraries"
},
{
"backtrace" : 10,
"backtrace" : 8,
"fragment" : "-lDataBaseLMS",
"role" : "libraries"
},
{
"backtrace" : 16,
"backtrace" : 14,
"fragment" : "C:\\Qt\\Qt5.14.2\\5.14.2\\mingw73_64\\lib\\libQt5Gui.a",
"role" : "libraries"
},
{
"backtrace" : 16,
"backtrace" : 14,
"fragment" : "C:\\Qt\\Qt5.14.2\\5.14.2\\mingw73_64\\lib\\libQt5Core.a",
"role" : "libraries"
},
@@ -437,27 +365,7 @@
[
0,
2,
5,
10,
12,
14,
16,
18,
20,
22,
24,
26,
31
]
},
{
"name" : "Header Files",
"sourceIndexes" :
[
1,
3,
6,
8,
7,
9,
11,
13,
@@ -467,9 +375,28 @@
21,
23,
25,
27,
29,
30
29
]
},
{
"name" : "Header Files",
"sourceIndexes" :
[
1,
3,
5,
6,
8,
10,
12,
14,
16,
18,
20,
22,
24,
26,
28
]
},
{
@@ -477,15 +404,14 @@
"sourceIndexes" :
[
4,
7,
28
27
]
},
{
"name" : "CMake Rules",
"sourceIndexes" :
[
32
30
]
}
],
@@ -519,22 +445,6 @@
"path" : "serverlmswidget.ui",
"sourceGroupIndex" : 2
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "messangerwidget.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"path" : "messangerwidget.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"path" : "messangerwidget.ui",
"sourceGroupIndex" : 2
},
{
"backtrace" : 1,
"path" : "typesDataServerClient.h",
@@ -644,6 +554,17 @@
"path" : "Systems/tools.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "providerdblms.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"path" : "providerdblms.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"path" : "resources.qrc",
@@ -655,12 +576,6 @@
"path" : "D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"isGenerated" : true,
"path" : "D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_messangerwidget.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 0,
"compileGroupIndex" : 0,

Binary file not shown.

View File

@@ -1,54 +1,103 @@
# ninja log v5
1123 4522 7548363180013723 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 5dc4c4b2b7ce9764
1099 1142 7548353789191508 ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
18 56 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
18 56 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
1106 4590 7548363180707381 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj dbcb9d42f0920360
18 56 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
1104 3181 7548363166603784 CMakeFiles/ServerLMS.dir/messangerwidget.cpp.obj 8dd57f666ed5ecf4
1133 1206 7548363146877012 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp.obj a3b3cc41f0206cec
18 56 0 ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
1102 4821 7548363182993790 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 2287ac8da01827f3
3 3270 7548373142885770 build.ninja 80e6aedf30bdcc22
18 56 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
18 56 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
5094 5588 7548363190655472 libServerLMS.dll.a 56e687d431f44a37
35 43 0 clean 9c4b4372737ab8da
18 56 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
1099 4959 7548363184324170 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 994870ad98b99ba9
1111 4562 7548363180412954 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj 318c9e136de4ee46
5094 5588 7548363190655472 libServerLMS.dll 56e687d431f44a37
1130 2388 7548363158681871 CMakeFiles/ServerLMS.dir/Systems/tools.cpp.obj 6f5f2ffb3611ba26
14 35 0 CMakeFiles/clean.additional 7155004b3956b606
1114 4878 7548363183574541 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj 745c410f0d0f518d
1120 5094 7548363185743796 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj ab0ef09b01bbab99
18 56 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
1109 4828 7548363183073587 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 6fe503c0d43ba3b8
1117 2428 7548363159090755 CMakeFiles/ServerLMS.dir/Systems/logger.cpp.obj f8e3e0a837d6a11e
1099 1142 7548353789191508 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
1126 4895 7548363183754804 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj 1d54845f84cc295c
20 1120 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
20 1120 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
20 1120 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
20 1120 0 ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
20 1120 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
20 1120 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
20 1120 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
20 1120 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_messangerwidget.h a1ba014d73005738
1120 1163 7548373187163518 ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
1120 1163 7548373187163518 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
1199 1276 7548373188301892 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp.obj a3b3cc41f0206cec
1182 2399 7548373199514045 CMakeFiles/ServerLMS.dir/Systems/logger.cpp.obj f8e3e0a837d6a11e
1195 2550 7548373201023796 CMakeFiles/ServerLMS.dir/Systems/tools.cpp.obj 6f5f2ffb3611ba26
1168 3150 7548373207023899 CMakeFiles/ServerLMS.dir/messangerwidget.cpp.obj 8dd57f666ed5ecf4
1176 4754 7548373223053989 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj 318c9e136de4ee46
1185 4791 7548373223356020 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj ab0ef09b01bbab99
1166 4808 7548373223583692 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 2287ac8da01827f3
1188 4931 7548373224844137 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 5dc4c4b2b7ce9764
1170 4942 7548373224923922 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj dbcb9d42f0920360
1173 4942 7548373224943872 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 6fe503c0d43ba3b8
1192 4976 7548373225284980 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj 1d54845f84cc295c
1163 5067 7548373226115694 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 994870ad98b99ba9
1179 5226 7548373227781925 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj 745c410f0d0f518d
506 3416 7548525061364859 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 40e4c8c7d98890e8
516 3417 7548525061374834 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj f698d155fbad3bd2
5226 5711 7548373232621394 libServerLMS.dll 56e687d431f44a37
9 31 0 CMakeFiles/clean.additional 7155004b3956b606
519 3381 7548525061015779 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj c4c12bda48d8fa92
522 3439 7548525061604224 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
1293 2461 7548518025584843 CMakeFiles/ServerLMS.dir/Systems/tools.cpp.obj 81bfa701d65b5429
18 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
515 3467 7548523882337375 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 8ac2c4a8e2ef203c
1280 2365 7548518024635088 CMakeFiles/ServerLMS.dir/Systems/logger.cpp.obj 68e3223fc0caab27
528 3457 7548525061793717 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj d73c57350f364b58
1224 1265 7548518013624460 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
1297 2658 7548518027564261 CMakeFiles/ServerLMS.dir/providerdblms.cpp.obj f56962914220ed2d
31 40 0 clean 9c4b4372737ab8da
5226 5711 7548373232621394 libServerLMS.dll.a 56e687d431f44a37
18 58 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
18 58 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
3 3270 7548517499588918 build.ninja 80e6aedf30bdcc22
1166 4808 7548373223583692 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 2287ac8da01827f3
1300 1378 7548518014765149 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp.obj f93621c79a78fad0
1168 3150 7548373207023899 CMakeFiles/ServerLMS.dir/messangerwidget.cpp.obj 8dd57f666ed5ecf4
18 58 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
512 3659 7548525063808313 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj 6c16bf194fe85608
18 58 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
18 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
1224 1265 7548518013624460 ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
63 2230 7548525172868930 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
19 505 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 505 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 505 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
19 505 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 505 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 505 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
512 3604 7548525438934296 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 8ac2c4a8e2ef203c
520 3645 7548525439334462 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
523 3693 7548525439834849 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
505 3706 7548525439956174 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 40e4c8c7d98890e8
526 3740 7548525440313576 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj d73c57350f364b58
515 3761 7548525440525082 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj f698d155fbad3bd2
510 3804 7548525440874147 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj 6c16bf194fe85608
518 3836 7548525441233205 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj c4c12bda48d8fa92
19 59 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 59 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 59 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
19 59 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 59 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 59 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
59 2314 7548525690154442 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 12010b53b3caa3fc
2315 2768 7548525694671664 libServerLMS.dll fec6fbb0697e8d71
2315 2768 7548525694671664 libServerLMS.dll.a fec6fbb0697e8d71
19 58 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 58 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 58 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
19 58 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 58 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
59 2315 7548529742543175 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 12010b53b3caa3fc
2315 2771 7548529747095219 libServerLMS.dll fec6fbb0697e8d71
2315 2771 7548529747095219 libServerLMS.dll.a fec6fbb0697e8d71
15 37 0 CMakeFiles/clean.additional 7155004b3956b606
37 46 0 clean 9c4b4372737ab8da
14 1226 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
14 1226 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
14 1226 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
14 1226 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
14 1226 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
14 1226 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
1226 1269 7548532014896390 ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
1226 1269 7548532014896390 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp 9bce64f5ef0262e2
1305 1392 7548532016129887 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp.obj f93621c79a78fad0
1284 2596 7548532028126673 CMakeFiles/ServerLMS.dir/Systems/logger.cpp.obj 68e3223fc0caab27
1297 2648 7548532028690448 CMakeFiles/ServerLMS.dir/Systems/tools.cpp.obj 81bfa701d65b5429
1301 2764 7548532029847352 CMakeFiles/ServerLMS.dir/providerdblms.cpp.obj f56962914220ed2d
1279 4777 7548532049957529 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj f698d155fbad3bd2
1290 4796 7548532050147023 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
1269 4835 7548532050555928 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 40e4c8c7d98890e8
1294 4847 7548532050665633 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj d73c57350f364b58
1287 4865 7548532050845162 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
1276 4933 7548532051533325 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 8ac2c4a8e2ef203c
1274 4957 7548532051722822 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj 6c16bf194fe85608
1281 5088 7548532053081152 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj c4c12bda48d8fa92
1271 5144 7548532053644164 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 12010b53b3caa3fc
5144 5607 7548532058257646 libServerLMS.dll fec6fbb0697e8d71
5144 5607 7548532058257646 libServerLMS.dll.a fec6fbb0697e8d71
19 352 0 CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 352 0 ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 352 0 ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
19 352 0 D:/LMS/ServerLMS/Debug64/CMakeFiles/ServerLMS_autogen a1ba014d73005738
19 352 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/mocs_compilation.cpp a1ba014d73005738
19 352 0 D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h a1ba014d73005738
379 1683 7548534869626978 CMakeFiles/ServerLMS.dir/providerdblms.cpp.obj f56962914220ed2d
366 3197 7548534884740160 CMakeFiles/ServerLMS.dir/Systems/updatecontroller.cpp.obj c4c12bda48d8fa92
371 3222 7548534884959572 CMakeFiles/ServerLMS.dir/Systems/processingsystem.cpp.obj 64946e3309bfc754
375 3227 7548534885039369 CMakeFiles/ServerLMS.dir/Systems/sendsystem.cpp.obj d73c57350f364b58
353 3361 7548534886376046 CMakeFiles/ServerLMS.dir/ServerLMS_autogen/mocs_compilation.cpp.obj 40e4c8c7d98890e8
368 3473 7548534887479621 CMakeFiles/ServerLMS.dir/Systems/dataparser.cpp.obj b273ef6b79a34bf
358 3519 7548534887968577 CMakeFiles/ServerLMS.dir/clienthandler.cpp.obj 6c16bf194fe85608
360 3624 7548534889027551 CMakeFiles/ServerLMS.dir/multithreadserver.cpp.obj 8ac2c4a8e2ef203c
363 3677 7548534889556140 CMakeFiles/ServerLMS.dir/Systems/recognizesystem.cpp.obj f698d155fbad3bd2
355 3783 7548534890615610 CMakeFiles/ServerLMS.dir/serverlmswidget.cpp.obj 12010b53b3caa3fc
3783 4236 7548534895121344 libServerLMS.dll fec6fbb0697e8d71
3783 4236 7548534895121344 libServerLMS.dll.a fec6fbb0697e8d71

View File

@@ -263,7 +263,7 @@ ServerLMS_BINARY_DIR:STATIC=D:/LMS/ServerLMS/Debug64
ServerLMS_IS_TOP_LEVEL:STATIC=ON
//Dependencies for the target
ServerLMS_LIB_DEPENDS:STATIC=general;Qt5::Widgets;general;Qt5::Network;general;Qt5::Concurrent;general;Qt5::Sql;general;Qt5::Xml;general;libInstructorsAndTrainees.dll;general;libDataBaseLMS.dll;
ServerLMS_LIB_DEPENDS:STATIC=general;Qt5::Widgets;general;Qt5::Network;general;Qt5::Concurrent;general;Qt5::Sql;general;Qt5::Xml;general;libDataBaseLMS.dll;
//Value Computed by CMake
ServerLMS_SOURCE_DIR:STATIC=D:/LMS/ServerLMS/ServerLMS

View File

@@ -7,62 +7,9 @@
"CMAKE_LIST_FILES" :
[
"D:/LMS/ServerLMS/ServerLMS/CMakeLists.txt",
"C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineSystem.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeSystem.cmake.in",
"D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeSystem.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeNinjaFindMake.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-Initialize.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-Determine-CXX.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompilerId.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeCompilerIdDetection.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/ADSP-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/ARMCC-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/ARMClang-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/AppleClang-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Borland-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Clang-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Cray-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/CrayClang-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Embarcadero-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Fujitsu-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/GHS-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/HP-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/IAR-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Intel-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/MSVC-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/NVHPC-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/NVIDIA-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/OrangeC-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/PGI-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/PathScale-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/SCO-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/TI-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Tasking-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/Watcom-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/XL-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeFindBinUtils.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Compiler/GNU-FindBinUtils.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeCXXCompiler.cmake.in",
"D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeSystemSpecificInformation.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeGenericSystem.cmake",
@@ -79,26 +26,11 @@
"C:/msys64/mingw64/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-GNU-CXX.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-GNU.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineRCCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeRCCompiler.cmake.in",
"D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeRCCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeRCInformation.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-windres.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeTestRCCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeCommonLanguageInclude.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeTestCXXCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeTestCompilerCommon.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompilerABI.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeParseImplicitLinkInfo.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeParseLibraryArchitecture.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeTestCompilerCommon.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeCXXCompilerABI.cpp",
"C:/msys64/mingw64/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Internal/FeatureTesting.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeCXXCompiler.cmake.in",
"D:/LMS/ServerLMS/Debug64/CMakeFiles/3.28.3/CMakeCXXCompiler.cmake",
"C:/msys64/mingw64/share/cmake/Modules/Platform/Windows-GNU-CXX-ABI.cmake",
"C:/msys64/mingw64/share/cmake/Modules/CMakeCommonLanguageInclude.cmake",
"C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/cmake/Qt5/Qt5ConfigVersion.cmake",
"C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/cmake/Qt5/Qt5Config.cmake",
"C:/Qt/Qt5.14.2/5.14.2/mingw73_64/lib/cmake/Qt5/Qt5ModuleLocation.cmake",
@@ -233,18 +165,18 @@
"EWIEGA46WW/moc_clienthandler.cpp",
null
],
[
"D:/LMS/ServerLMS/ServerLMS/messangerwidget.h",
"MU",
"EWIEGA46WW/moc_messangerwidget.cpp",
null
],
[
"D:/LMS/ServerLMS/ServerLMS/multithreadserver.h",
"MU",
"EWIEGA46WW/moc_multithreadserver.cpp",
null
],
[
"D:/LMS/ServerLMS/ServerLMS/providerdblms.h",
"MU",
"EWIEGA46WW/moc_providerdblms.cpp",
null
],
[
"D:/LMS/ServerLMS/ServerLMS/serverlmswidget.h",
"MU",
@@ -285,11 +217,6 @@
[
"D:/LMS/ServerLMS/Debug64",
"D:/LMS/ServerLMS/ServerLMS",
"D:/LMS/DB_IaT/InstructorsAndTrainees",
"D:/LMS/DB_IaT/InstructorsAndTrainees/instructors",
"D:/LMS/DB_IaT/InstructorsAndTrainees/trainees",
"D:/LMS/DB_IaT/InstructorsAndTrainees/tasks",
"D:/LMS/DB_IaT/InstructorsAndTrainees/docTasks",
"D:/LMS/DB_LMS/DataBaseLMS",
"C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include",
"C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtWidgets",
@@ -341,8 +268,8 @@
[ "D:/LMS/ServerLMS/ServerLMS/Systems/tools.cpp", "MU", null ],
[ "D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.cpp", "MU", null ],
[ "D:/LMS/ServerLMS/ServerLMS/clienthandler.cpp", "MU", null ],
[ "D:/LMS/ServerLMS/ServerLMS/messangerwidget.cpp", "MU", null ],
[ "D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp", "MU", null ],
[ "D:/LMS/ServerLMS/ServerLMS/providerdblms.cpp", "MU", null ],
[ "D:/LMS/ServerLMS/ServerLMS/serverlmswidget.cpp", "MU", null ]
],
"UIC_OPTIONS" : [],

View File

@@ -1,2 +1,2 @@
moc:a93115fad811194ad8f95876ce0883907c9feab5325159b614b3b5d6900dbaea
moc:f35f91b956ddad42fd77c98013ce057360e60e6fcee71dd4238a0e03e8f43f91
uic:441c9ac37665639d8707680455ada82ca7b89b59339626a1f5caa37d3d5f40e7

View File

@@ -1,38 +1,37 @@
# Generated by CMake. Changes will be overwritten.
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.cpp
uic:ui_serverlmswidget.h
D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp
D:/LMS/ServerLMS/ServerLMS/clienthandler.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.cpp
D:/LMS/ServerLMS/ServerLMS/messangerwidget.cpp
uic:ui_messangerwidget.h
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/logger.cpp
D:/LMS/ServerLMS/ServerLMS/typesDataServerClient.h
D:/LMS/ServerLMS/ServerLMS/Client.h
D:/LMS/ServerLMS/ServerLMS/multithreadserver.h
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.h
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.cpp
D:/LMS/ServerLMS/ServerLMS/clienthandler.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/ServerLMS_global.h
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/tools.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/logger.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.h
D:/LMS/ServerLMS/ServerLMS/Systems/tools.h
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.h
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/tools.h
D:/LMS/ServerLMS/ServerLMS/clienthandler.h
D:/LMS/ServerLMS/ServerLMS/Systems/logger.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/tools.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/ServerLMS_global.h
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.cpp
uic:ui_serverlmswidget.h
D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/sendsystem.cpp
D:/LMS/ServerLMS/ServerLMS/messangerwidget.h
D:/LMS/ServerLMS/ServerLMS/Systems/logger.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/updatecontroller.cpp
D:/LMS/ServerLMS/ServerLMS/Systems/recognizesystem.cpp
D:/LMS/ServerLMS/ServerLMS/providerdblms.cpp
D:/LMS/ServerLMS/ServerLMS/Client.h
D:/LMS/ServerLMS/ServerLMS/multithreadserver.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/Systems/dataparser.cpp
D:/LMS/ServerLMS/ServerLMS/serverlmswidget.h
D:/LMS/ServerLMS/ServerLMS/Systems/processingsystem.cpp
D:/LMS/ServerLMS/ServerLMS/typesDataServerClient.h
D:/LMS/ServerLMS/ServerLMS/providerdblms.h
mmc:Q_OBJECT
D:/LMS/ServerLMS/ServerLMS/clienthandler.cpp

View File

@@ -36,11 +36,6 @@
<Add directory="D:/LMS/ServerLMS/Debug64"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS"/>
<Add directory="D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/instructors"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/trainees"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/tasks"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/docTasks"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_LMS/DataBaseLMS"/>
<Add directory="C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include"/>
<Add directory="C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtWidgets"/>
@@ -85,11 +80,6 @@
<Add directory="D:/LMS/ServerLMS/Debug64"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS"/>
<Add directory="D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/instructors"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/trainees"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/tasks"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_IaT/InstructorsAndTrainees/docTasks"/>
<Add directory="D:/LMS/ServerLMS/ServerLMS/../../DB_LMS/DataBaseLMS"/>
<Add directory="C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include"/>
<Add directory="C:/Qt/Qt5.14.2/5.14.2/mingw73_64/include/QtWidgets"/>
@@ -152,9 +142,6 @@
<Unit filename="D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/EWIEGA46WW/qrc_resources.cpp.rule">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_messangerwidget.h">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/Debug64/ServerLMS_autogen/include/ui_serverlmswidget.h">
<Option target="ServerLMS"/>
</Unit>
@@ -215,21 +202,18 @@
<Unit filename="D:/LMS/ServerLMS/ServerLMS/clienthandler.h">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/messangerwidget.cpp">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/messangerwidget.h">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/messangerwidget.ui">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/multithreadserver.cpp">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/multithreadserver.h">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/providerdblms.cpp">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/providerdblms.h">
<Option target="ServerLMS"/>
</Unit>
<Unit filename="D:/LMS/ServerLMS/ServerLMS/resources.qrc">
<Option target="ServerLMS"/>
</Unit>

View File

@@ -1,189 +0,0 @@
/****************************************************************************
** Meta object code from reading C++ file 'messangerwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../../ServerLMS/messangerwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'messangerwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.14.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MessangerWidget_t {
QByteArrayData data[15];
char stringdata0[230];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MessangerWidget_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MessangerWidget_t qt_meta_stringdata_MessangerWidget = {
{
QT_MOC_LITERAL(0, 0, 15), // "MessangerWidget"
QT_MOC_LITERAL(1, 16, 23), // "signal_msgToClientReady"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 5), // "login"
QT_MOC_LITERAL(4, 47, 4), // "text"
QT_MOC_LITERAL(5, 52, 26), // "signal_tabMessengerChanged"
QT_MOC_LITERAL(6, 79, 18), // "on_btnSend_clicked"
QT_MOC_LITERAL(7, 98, 27), // "on_tabWidget_currentChanged"
QT_MOC_LITERAL(8, 126, 5), // "index"
QT_MOC_LITERAL(9, 132, 20), // "slot_traineeSelected"
QT_MOC_LITERAL(10, 153, 20), // "slot_LanguageChanged"
QT_MOC_LITERAL(11, 174, 8), // "language"
QT_MOC_LITERAL(12, 183, 18), // "slot_InitMessanger"
QT_MOC_LITERAL(13, 202, 14), // "QList<Trainee>"
QT_MOC_LITERAL(14, 217, 12) // "listTrainees"
},
"MessangerWidget\0signal_msgToClientReady\0"
"\0login\0text\0signal_tabMessengerChanged\0"
"on_btnSend_clicked\0on_tabWidget_currentChanged\0"
"index\0slot_traineeSelected\0"
"slot_LanguageChanged\0language\0"
"slot_InitMessanger\0QList<Trainee>\0"
"listTrainees"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MessangerWidget[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
7, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
2, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 49, 2, 0x06 /* Public */,
5, 1, 54, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
6, 0, 57, 2, 0x08 /* Private */,
7, 1, 58, 2, 0x08 /* Private */,
9, 1, 61, 2, 0x0a /* Public */,
10, 1, 64, 2, 0x0a /* Public */,
12, 1, 67, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
QMetaType::Void, QMetaType::QString, 3,
// slots: parameters
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 8,
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 11,
QMetaType::Void, 0x80000000 | 13, 14,
0 // eod
};
void MessangerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<MessangerWidget *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->signal_msgToClientReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 1: _t->signal_tabMessengerChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 2: _t->on_btnSend_clicked(); break;
case 3: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 4: _t->slot_traineeSelected((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 5: _t->slot_LanguageChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 6: _t->slot_InitMessanger((*reinterpret_cast< QList<Trainee>(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (MessangerWidget::*)(QString , QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessangerWidget::signal_msgToClientReady)) {
*result = 0;
return;
}
}
{
using _t = void (MessangerWidget::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MessangerWidget::signal_tabMessengerChanged)) {
*result = 1;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject MessangerWidget::staticMetaObject = { {
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
qt_meta_stringdata_MessangerWidget.data,
qt_meta_data_MessangerWidget,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *MessangerWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *MessangerWidget::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_MessangerWidget.stringdata0))
return static_cast<void*>(this);
return QWidget::qt_metacast(_clname);
}
int MessangerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 7)
qt_static_metacall(this, _c, _id, _a);
_id -= 7;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 7)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 7;
}
return _id;
}
// SIGNAL 0
void MessangerWidget::signal_msgToClientReady(QString _t1, QString _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, 0, _a);
}
// SIGNAL 1
void MessangerWidget::signal_tabMessengerChanged(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@@ -0,0 +1,136 @@
/****************************************************************************
** Meta object code from reading C++ file 'providerdblms.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../../ServerLMS/providerdblms.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'providerdblms.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.14.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ProviderDBLMS_t {
QByteArrayData data[4];
char stringdata0[46];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ProviderDBLMS_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ProviderDBLMS_t qt_meta_stringdata_ProviderDBLMS = {
{
QT_MOC_LITERAL(0, 0, 13), // "ProviderDBLMS"
QT_MOC_LITERAL(1, 14, 24), // "signal_BlockAutorization"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 5) // "block"
},
"ProviderDBLMS\0signal_BlockAutorization\0"
"\0block"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ProviderDBLMS[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
1, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 19, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::Bool, 3,
0 // eod
};
void ProviderDBLMS::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<ProviderDBLMS *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->signal_BlockAutorization((*reinterpret_cast< bool(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (ProviderDBLMS::*)(bool );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProviderDBLMS::signal_BlockAutorization)) {
*result = 0;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject ProviderDBLMS::staticMetaObject = { {
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
qt_meta_stringdata_ProviderDBLMS.data,
qt_meta_data_ProviderDBLMS,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *ProviderDBLMS::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ProviderDBLMS::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ProviderDBLMS.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int ProviderDBLMS::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 1)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
}
return _id;
}
// SIGNAL 0
void ProviderDBLMS::signal_BlockAutorization(bool _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE

View File

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ServerLMSWidget_t {
QByteArrayData data[26];
char stringdata0[340];
QByteArrayData data[25];
char stringdata0[321];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -54,10 +54,9 @@ QT_MOC_LITERAL(18, 220, 5), // "login"
QT_MOC_LITERAL(19, 226, 4), // "text"
QT_MOC_LITERAL(20, 231, 12), // "slotAddToLog"
QT_MOC_LITERAL(21, 244, 3), // "msg"
QT_MOC_LITERAL(22, 248, 18), // "slotAddToMessanger"
QT_MOC_LITERAL(23, 267, 25), // "on_btnStartServer_clicked"
QT_MOC_LITERAL(24, 293, 24), // "on_btnStopServer_clicked"
QT_MOC_LITERAL(25, 318, 21) // "on_btnTaskSet_clicked"
QT_MOC_LITERAL(22, 248, 25), // "on_btnStartServer_clicked"
QT_MOC_LITERAL(23, 274, 24), // "on_btnStopServer_clicked"
QT_MOC_LITERAL(24, 299, 21) // "on_btnTaskSet_clicked"
},
"ServerLMSWidget\0sigRecognize\0\0"
@@ -67,8 +66,7 @@ QT_MOC_LITERAL(25, 318, 21) // "on_btnTaskSet_clicked"
"client\0slotUpdateListClients\0"
"slot_BlockAutorization\0block\0"
"slot_msgToClientReady\0login\0text\0"
"slotAddToLog\0msg\0slotAddToMessanger\0"
"on_btnStartServer_clicked\0"
"slotAddToLog\0msg\0on_btnStartServer_clicked\0"
"on_btnStopServer_clicked\0on_btnTaskSet_clicked"
};
#undef QT_MOC_LITERAL
@@ -79,7 +77,7 @@ static const uint qt_meta_data_ServerLMSWidget[] = {
8, // revision
0, // classname
0, 0, // classinfo
13, 14, // methods
12, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -87,21 +85,20 @@ static const uint qt_meta_data_ServerLMSWidget[] = {
3, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 79, 2, 0x06 /* Public */,
3, 0, 80, 2, 0x06 /* Public */,
5, 1, 81, 2, 0x06 /* Public */,
1, 0, 74, 2, 0x06 /* Public */,
3, 0, 75, 2, 0x06 /* Public */,
5, 1, 76, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
7, 1, 84, 2, 0x0a /* Public */,
9, 2, 87, 2, 0x0a /* Public */,
14, 0, 92, 2, 0x0a /* Public */,
15, 1, 93, 2, 0x0a /* Public */,
17, 2, 96, 2, 0x08 /* Private */,
20, 1, 101, 2, 0x08 /* Private */,
22, 2, 104, 2, 0x08 /* Private */,
23, 0, 109, 2, 0x08 /* Private */,
24, 0, 110, 2, 0x08 /* Private */,
25, 0, 111, 2, 0x08 /* Private */,
7, 1, 79, 2, 0x0a /* Public */,
9, 2, 82, 2, 0x0a /* Public */,
14, 0, 87, 2, 0x0a /* Public */,
15, 1, 88, 2, 0x0a /* Public */,
17, 2, 91, 2, 0x08 /* Private */,
20, 1, 96, 2, 0x08 /* Private */,
22, 0, 99, 2, 0x08 /* Private */,
23, 0, 100, 2, 0x08 /* Private */,
24, 0, 101, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void,
@@ -115,7 +112,6 @@ static const uint qt_meta_data_ServerLMSWidget[] = {
QMetaType::Void, QMetaType::Bool, 16,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 18, 19,
QMetaType::Void, QMetaType::QString, 21,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 18, 19,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
@@ -139,10 +135,9 @@ void ServerLMSWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
case 6: _t->slot_BlockAutorization((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 7: _t->slot_msgToClientReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 8: _t->slotAddToLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 9: _t->slotAddToMessanger((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 10: _t->on_btnStartServer_clicked(); break;
case 11: _t->on_btnStopServer_clicked(); break;
case 12: _t->on_btnTaskSet_clicked(); break;
case 9: _t->on_btnStartServer_clicked(); break;
case 10: _t->on_btnStopServer_clicked(); break;
case 11: _t->on_btnTaskSet_clicked(); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -211,13 +206,13 @@ int ServerLMSWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 13)
if (_id < 12)
qt_static_metacall(this, _c, _id, _a);
_id -= 13;
_id -= 12;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 13)
if (_id < 12)
qt_static_metacall(this, _c, _id, _a);
_id -= 13;
_id -= 12;
}
return _id;
}

View File

@@ -1,125 +0,0 @@
/********************************************************************************
** Form generated from reading UI file 'messangerwidget.ui'
**
** Created by: Qt User Interface Compiler version 5.14.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_MESSANGERWIDGET_H
#define UI_MESSANGERWIDGET_H
#include <QtCore/QVariant>
#include <QtWidgets/QApplication>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QLineEdit>
#include <QtWidgets/QTabWidget>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QtWidgets/QWidget>
QT_BEGIN_NAMESPACE
class Ui_MessangerWidget
{
public:
QGridLayout *gridLayout_2;
QGridLayout *gridLayout;
QGroupBox *groupBox;
QGridLayout *gridLayout_3;
QVBoxLayout *verticalLayout;
QTabWidget *tabWidget;
QWidget *tab;
QWidget *tab_2;
QHBoxLayout *horizontalLayout;
QLineEdit *editMsg;
QToolButton *btnSend;
void setupUi(QWidget *MessangerWidget)
{
if (MessangerWidget->objectName().isEmpty())
MessangerWidget->setObjectName(QString::fromUtf8("MessangerWidget"));
MessangerWidget->resize(500, 300);
QFont font;
font.setFamily(QString::fromUtf8("Tahoma"));
font.setPointSize(10);
MessangerWidget->setFont(font);
gridLayout_2 = new QGridLayout(MessangerWidget);
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
gridLayout = new QGridLayout();
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
groupBox = new QGroupBox(MessangerWidget);
groupBox->setObjectName(QString::fromUtf8("groupBox"));
gridLayout_3 = new QGridLayout(groupBox);
gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
tabWidget = new QTabWidget(groupBox);
tabWidget->setObjectName(QString::fromUtf8("tabWidget"));
tab = new QWidget();
tab->setObjectName(QString::fromUtf8("tab"));
tabWidget->addTab(tab, QString());
tab_2 = new QWidget();
tab_2->setObjectName(QString::fromUtf8("tab_2"));
tabWidget->addTab(tab_2, QString());
verticalLayout->addWidget(tabWidget);
gridLayout_3->addLayout(verticalLayout, 0, 0, 1, 1);
horizontalLayout = new QHBoxLayout();
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
editMsg = new QLineEdit(groupBox);
editMsg->setObjectName(QString::fromUtf8("editMsg"));
horizontalLayout->addWidget(editMsg);
btnSend = new QToolButton(groupBox);
btnSend->setObjectName(QString::fromUtf8("btnSend"));
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
sizePolicy.setHorizontalStretch(0);
sizePolicy.setVerticalStretch(0);
sizePolicy.setHeightForWidth(btnSend->sizePolicy().hasHeightForWidth());
btnSend->setSizePolicy(sizePolicy);
horizontalLayout->addWidget(btnSend);
gridLayout_3->addLayout(horizontalLayout, 1, 0, 1, 1);
gridLayout->addWidget(groupBox, 0, 0, 1, 1);
gridLayout_2->addLayout(gridLayout, 0, 0, 1, 1);
retranslateUi(MessangerWidget);
tabWidget->setCurrentIndex(1);
QMetaObject::connectSlotsByName(MessangerWidget);
} // setupUi
void retranslateUi(QWidget *MessangerWidget)
{
MessangerWidget->setWindowTitle(QCoreApplication::translate("MessangerWidget", "Form", nullptr));
groupBox->setTitle(QCoreApplication::translate("MessangerWidget", "Messenger", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab), QCoreApplication::translate("MessangerWidget", "Tab 1", nullptr));
tabWidget->setTabText(tabWidget->indexOf(tab_2), QCoreApplication::translate("MessangerWidget", "Tab 2", nullptr));
btnSend->setText(QCoreApplication::translate("MessangerWidget", "Send", nullptr));
} // retranslateUi
};
namespace Ui {
class MessangerWidget: public Ui_MessangerWidget {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_MESSANGERWIDGET_H

View File

@@ -6,6 +6,6 @@
#include "VO5QMHL5JN/moc_sendsystem.cpp"
#include "VO5QMHL5JN/moc_updatecontroller.cpp"
#include "EWIEGA46WW/moc_clienthandler.cpp"
#include "EWIEGA46WW/moc_messangerwidget.cpp"
#include "EWIEGA46WW/moc_multithreadserver.cpp"
#include "EWIEGA46WW/moc_providerdblms.cpp"
#include "EWIEGA46WW/moc_serverlmswidget.cpp"

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@@ -21,19 +21,18 @@ find_package(Qt5 COMPONENTS Widgets REQUIRED)
find_package(Qt5 COMPONENTS Network REQUIRED)
find_package(Qt5 COMPONENTS Sql REQUIRED)
find_package(Qt5 COMPONENTS LinguistTools REQUIRED)
find_package(Qt5 REQUIRED COMPONENTS Concurrent )
find_package(Qt5 REQUIRED COMPONENTS Concurrent)
find_package(Qt5 COMPONENTS Xml REQUIRED)
#set(TS_FILES ServerLMS_ru_RU.ts)
add_library(ServerLMS SHARED
ServerLMS_global.h
serverlmswidget.cpp
serverlmswidget.h
serverlmswidget.ui
messangerwidget.cpp
messangerwidget.h
messangerwidget.ui
# messangerwidget.cpp
# messangerwidget.h
# messangerwidget.ui
typesDataServerClient.h
Client.h
clienthandler.cpp
@@ -54,8 +53,9 @@ add_library(ServerLMS SHARED
Systems/sendsystem.h
Systems/tools.cpp
Systems/tools.h
providerdblms.cpp
providerdblms.h
resources.qrc
#${TS_FILES}
)
target_link_libraries(ServerLMS PRIVATE Qt5::Widgets)
@@ -64,25 +64,6 @@ target_link_libraries(ServerLMS PRIVATE Qt5::Concurrent)
target_link_libraries(ServerLMS PRIVATE Qt5::Sql)
target_link_libraries(ServerLMS PRIVATE Qt5::Xml)
#target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../SUO/InstructorsAndTrainees)
#target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../SUO/InstructorsAndTrainees/instructors)
#target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../SUO/InstructorsAndTrainees/trainees)
#target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../SUO/InstructorsAndTrainees/tasks)
#target_link_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../SUO/Debug64)
#target_link_libraries(ServerLMS PRIVATE libInstructorsAndTrainees.dll)
target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_IaT/InstructorsAndTrainees)
target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_IaT/InstructorsAndTrainees/instructors)
target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_IaT/InstructorsAndTrainees/trainees)
target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_IaT/InstructorsAndTrainees/tasks)
target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_IaT/InstructorsAndTrainees/docTasks)
if(PROJECT_TYPE_DEBUG)
target_link_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_IaT/Debug64)
elseif()
target_link_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_IaT/Release64)
endif()
target_link_libraries(ServerLMS PRIVATE libInstructorsAndTrainees.dll)
target_include_directories(ServerLMS PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../DB_LMS/DataBaseLMS)
if(PROJECT_TYPE_DEBUG)
@@ -94,5 +75,3 @@ target_link_libraries(ServerLMS PRIVATE libDataBaseLMS.dll)
target_compile_definitions(ServerLMS PRIVATE SERVERLMS_LIBRARY)
#qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES})

View File

@@ -2,17 +2,16 @@
#include <clienthandler.h>
ProcessingSystem::ProcessingSystem(QObject *parent):
ProcessingSystem::ProcessingSystem(ProviderDBLMS* providerDBLMS, QObject *parent):
QObject(parent)
{
this->providerDBLMS = providerDBLMS;
}
void ProcessingSystem::initialize(DataParser *dataParser, ServerLMSWidget *server,InstructorsAndTraineesWidget *instructorsAndTrainees)
void ProcessingSystem::initialize(DataParser *dataParser, ServerLMSWidget *server)
{
this->server = server;
this->dataParser = dataParser;
this->pInstructorsAndTrainees = instructorsAndTrainees;
}
void ProcessingSystem::processingClientAutorization(ClientHandler *client, ClientAutorization clientAutorization)
@@ -33,25 +32,25 @@ void ProcessingSystem::processingClientAutorization(ClientHandler *client, Clien
QString traineeName;
QByteArray arrayAnswer;
if(pInstructorsAndTrainees->authorizationTrainee(clientAutorization.Login, clientAutorization.Password, "", ""))
if(providerDBLMS->authorizationTrainee(clientAutorization.Login, clientAutorization.Password, "", ""))
{//Авторизуется обучаемый
client->getClient()->setLogin(clientAutorization.Login);
emit sigUpdateListClients();
//KAV redact
instructorName = pInstructorsAndTrainees->getMainInstructorName();
traineeName = pInstructorsAndTrainees->getNameTraineeByLogin(clientAutorization.Login);
instructorName = providerDBLMS->getMainInstructorName();
traineeName = providerDBLMS->getNameTraineeByLogin(clientAutorization.Login);
arrayAnswer = dataParser->xmlAnswer_authorization(true, instructorName, traineeName, "trainee");
}
else if(pInstructorsAndTrainees->authorizationInstructor(clientAutorization.Login, clientAutorization.Password))
else if(providerDBLMS->authorizationInstructor(clientAutorization.Login, clientAutorization.Password))
{//Авторизуется инструктор
client->getClient()->setLogin(clientAutorization.Login);
emit sigUpdateListClients();
instructorName = pInstructorsAndTrainees->getNameInstructorByLogin(clientAutorization.Login);
instructorName = providerDBLMS->getNameInstructorByLogin(clientAutorization.Login);
arrayAnswer = dataParser->xmlAnswer_authorization(true, instructorName, instructorName, "instructor");
}

View File

@@ -6,7 +6,8 @@
#include <clienthandler.h>
#include <serverlmswidget.h>
#include "instructorsandtraineeswidget.h"
//#include "instructorsandtraineeswidget.h"
#include "providerdblms.h"
class SendSystem;
class ServerLMSWidget;
@@ -19,10 +20,9 @@ class ProcessingSystem : public QObject
{
Q_OBJECT
public:
explicit ProcessingSystem(QObject *parent = nullptr);
explicit ProcessingSystem(ProviderDBLMS* providerDBLMS, QObject *parent = nullptr);
void initialize(DataParser* dataParser,ServerLMSWidget *server,
InstructorsAndTraineesWidget *instructorsAndTrainees);
void initialize(DataParser* dataParser,ServerLMSWidget *server);
void processingClientAutorization(ClientHandler *client, ClientAutorization clientAutorization);
void processingClientMessage(ClientHandler *client, ClientMessage clientMessage);
void processingClientNotify(ClientHandler *client, ClientNotify clientNotify);
@@ -36,7 +36,8 @@ signals:
private:
ServerLMSWidget *server;
DataParser *dataParser;
InstructorsAndTraineesWidget *pInstructorsAndTrainees;
//InstructorsAndTraineesWidget *pInstructorsAndTrainees;
ProviderDBLMS* providerDBLMS;
};
#endif // PROCESSINGSYSTEM_H

View File

@@ -5,7 +5,7 @@
#include <QListWidget>
#include <QTranslator>
#include "ServerLMS_global.h"
#include "instructorsandtraineeswidget.h"
//#include "instructorsandtraineeswidget.h"
class DialogMsg
{

View File

@@ -0,0 +1,200 @@
#include "providerdblms.h"
ProviderDBLMS::ProviderDBLMS(QWidget *parentWidget, QObject *parent) :
QObject(parent),
dbLMS(nullptr)
{
dbLMS = new InterfaceDataBaseLMS(parentWidget);
//ConnectionToDB();
}
ProviderDBLMS::~ProviderDBLMS()
{
DisConnectionFromDB();
}
void ProviderDBLMS::ConnectionToDB()
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
if(dbLMS->ConnectionToDB())
{
Q_EMIT signal_BlockAutorization(false);
//Q_EMIT signal_NeedUpdateUI(true, true);
}
}
mtxAccess.unlock();
}
void ProviderDBLMS::DisConnectionFromDB()
{
mtxAccess.lock();
if(dbLMS->DBisConnected())
{
Q_EMIT signal_BlockAutorization(true);
dbLMS->DisConnectionFromDB();
//Q_EMIT signal_NeedUpdateUI(true, true);
}
mtxAccess.unlock();
}
QString ProviderDBLMS::getMainInstructorName()
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return QStringLiteral("");
}
//QString res = dbLMS->getNameInstructorByLogin(loginInstructorLoggedInLocal);
mtxAccess.unlock();
//return res;
return QStringLiteral("");
}
bool ProviderDBLMS::authorizationTrainee(QString login, QString password, QString classroom_name, QString computer_name)
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return false;
}
Q_EMIT signal_BlockAutorization(true);
bool res = dbLMS->AuthorizationTrainee(login, password, classroom_name, computer_name);
Q_EMIT signal_BlockAutorization(false);
//if(res)
//Q_EMIT signal_NeedUpdateUI(false, true);
mtxAccess.unlock();
return res;
}
bool ProviderDBLMS::deAuthorizationTrainee(QString login)
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return false;
}
Q_EMIT signal_BlockAutorization(true);
bool res = dbLMS->deAuthorizationTrainee(login);
Q_EMIT signal_BlockAutorization(false);
//if(res)
//Q_EMIT signal_NeedUpdateUI(false, true);
mtxAccess.unlock();
return res;
}
QString ProviderDBLMS::getNameTraineeByLogin(QString login)
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return QStringLiteral("");
}
QString res = dbLMS->getNameTraineeByLogin(login);
mtxAccess.unlock();
return res;
}
bool ProviderDBLMS::authorizationInstructor(QString login, QString password)
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return false;
}
Q_EMIT signal_BlockAutorization(true);
bool res = dbLMS->AuthorizationInstructor(login, password);
Q_EMIT signal_BlockAutorization(false);
//if(res)
//Q_EMIT signal_NeedUpdateUI(true, false);
mtxAccess.unlock();
return res;
}
bool ProviderDBLMS::deAuthorizationInstructor(QString login)
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return false;
}
Q_EMIT signal_BlockAutorization(true);
bool res = dbLMS->deAuthorizationInstructor(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;
}
QString ProviderDBLMS::getNameInstructorByLogin(QString login)
{
mtxAccess.lock();
if(! dbLMS->DBisConnected())
{
mtxAccess.unlock();
return QStringLiteral("");
}
QString res = dbLMS->getNameInstructorByLogin(login);
mtxAccess.unlock();
return res;
}

View File

@@ -0,0 +1,39 @@
#ifndef PROVIDERDBLMS_H
#define PROVIDERDBLMS_H
#include <QObject>
#include "interfacedatabaselms.h"
class ProviderDBLMS : public QObject
{
Q_OBJECT
public:
explicit ProviderDBLMS(QWidget *parentWidget, QObject *parent = nullptr);
~ProviderDBLMS();
public:
QString getMainInstructorName();
//Авторизация обучаемого на клиенте
bool authorizationTrainee(QString login, QString password, QString classroom_name = QStringLiteral(""), QString computer_name = QStringLiteral(""));
bool deAuthorizationTrainee(QString login);
QString getNameTraineeByLogin(QString login);
//Авторизация инструктора на клиенте
bool authorizationInstructor(QString login, QString password);
bool deAuthorizationInstructor(QString login);
QString getNameInstructorByLogin(QString login);
Q_SIGNALS:
//сигнал о блокировке авторизации
void signal_BlockAutorization(bool block);
public:
void ConnectionToDB();
void DisConnectionFromDB();
private:
InterfaceDataBaseLMS* dbLMS;
QMutex mtxAccess;
};
#endif // PROVIDERDBLMS_H

View File

@@ -10,17 +10,17 @@
#include "ui_serverlmswidget.h"
//#include "instructorsAndTrainees.h"
#include "instructorsandtraineeswidget.h"
//#include "instructorsandtraineeswidget.h"
ServerLMSWidget::ServerLMSWidget(InstructorsAndTraineesWidget* instructorsAndTrainees, MessangerWidget* messangerWidget, QWidget *parent) :
ServerLMSWidget::ServerLMSWidget(/*MessangerWidget* messangerWidget, */QWidget *parent) :
QWidget(parent),
tcpServer(nullptr),
hostPort(6000),
stateServer(stoped),
stateBlockAutorization(/*unblocked*/blocked),
pInstructorsAndTrainees(instructorsAndTrainees),
pMessangerWidget(messangerWidget),
//pInstructorsAndTrainees(instructorsAndTrainees),
//pMessangerWidget(messangerWidget),
ui(new Ui::ServerLMSWidget)
{
ui->setupUi(this);
@@ -41,12 +41,14 @@ ServerLMSWidget::ServerLMSWidget(InstructorsAndTraineesWidget* instructorsAndTra
ui->comboTasks->addItem("Задача 4");
ui->comboTasks->addItem("Задача 5");
providerDBLMS = new ProviderDBLMS(this);
logger = new Logger(ui->listWidgetLogger);
connect(logger,&Logger::sigSendTextToLogger,this,&ServerLMSWidget::slotAddToLog,Qt::QueuedConnection);
logger->moveToThread(loggerThread);
processingSystem = new ProcessingSystem;
processingSystem = new ProcessingSystem(providerDBLMS);
dataParser = new DataParser(processingSystem);
updateController = new UpdateController;
@@ -56,20 +58,24 @@ ServerLMSWidget::ServerLMSWidget(InstructorsAndTraineesWidget* instructorsAndTra
updateThread->start();
updateController->initialize(nullptr,dataParser);
processingSystem->initialize(dataParser,this,instructorsAndTrainees);
processingSystem->initialize(dataParser,this);
logger->setTypeLog("widget");
connect(providerDBLMS, &ProviderDBLMS::signal_BlockAutorization, this, &ServerLMSWidget::slot_BlockAutorization);
//connect(processingSystem,&ProcessingSystem::sigAuthChanged,this,&ServerLMSWidget::signal_authorizationChanged); //Уже не требуется!
connect(processingSystem,&ProcessingSystem::sigUpdateListClients,this, &ServerLMSWidget::slotUpdateListClients);
connect(pMessangerWidget, &MessangerWidget::signal_msgToClientReady, this, &ServerLMSWidget::slot_msgToClientReady);
//connect(pMessangerWidget, &MessangerWidget::signal_msgToClientReady, this, &ServerLMSWidget::slot_msgToClientReady);
connect(updateController,&UpdateController::sigLogMessage,logger,&Logger::addTextToLogger);
connect(dataParser,&DataParser::sigLogMessage,logger,&Logger::addTextToLogger);
connect(processingSystem,&ProcessingSystem::sigLogMessage,logger,&Logger::addTextToLogger);
connect(processingSystem,&ProcessingSystem::sigAddToMessanger,this,&ServerLMSWidget::slotAddToMessanger,Qt::QueuedConnection);
//connect(processingSystem,&ProcessingSystem::sigAddToMessanger,this,&ServerLMSWidget::slotAddToMessanger,Qt::QueuedConnection);
connect(this,&ServerLMSWidget::sigLog,logger,&Logger::addTextToLogger);
providerDBLMS->ConnectionToDB();
on_btnStartServer_clicked();
first = true;
@@ -80,11 +86,11 @@ void ServerLMSWidget::autorizationHandler(QString login)
{
//Отмена авторизации в БД
if(pInstructorsAndTrainees->deAuthorizationTrainee(login))
if(providerDBLMS->deAuthorizationTrainee(login))
{//Деавторизовался обучаемый
}
else if(pInstructorsAndTrainees->deAuthorizationInstructor(login))
else if(providerDBLMS->deAuthorizationInstructor(login))
{//Деавторизовался инструктор
}
@@ -192,12 +198,12 @@ void ServerLMSWidget::slot_BlockAutorization(bool block)
else
unBlockAutorization();
}
/*
void ServerLMSWidget::slotAddToMessanger(QString login, QString text)
{
QString name = pInstructorsAndTrainees->getNameTraineeByLogin(login);
pMessangerWidget->addMsg(login, name, text, MessangerWidget::ETypeMsg::fromClient);
}
}*/
void ServerLMSWidget::removeClient(int idSocket)
{

View File

@@ -19,9 +19,10 @@
#include "typesDataServerClient.h"
#include "Client.h"
//#include "instructorsAndTrainees.h"
#include "instructorsandtraineeswidget.h"
#include "messangerwidget.h"
//#include "instructorsandtraineeswidget.h"
//#include "messangerwidget.h"
#include "multithreadserver.h"
#include "providerdblms.h"
namespace Ui {
class ServerLMSWidget;
@@ -41,7 +42,7 @@ class SERVERLMS_EXPORT ServerLMSWidget : public QWidget
Q_OBJECT
public:
explicit ServerLMSWidget(InstructorsAndTraineesWidget* instructorsAndTrainees, MessangerWidget* messangerWidget, QWidget *parent = nullptr);
explicit ServerLMSWidget(/*MessangerWidget* messangerWidget, */QWidget *parent = nullptr);
void autorizationHandler(QString login);
~ServerLMSWidget();
@@ -67,7 +68,7 @@ private slots:
//слот обработки сигнала о готовности нового сообщения на отправку клиенту от мессенджера
void slot_msgToClientReady(QString login, QString text);
void slotAddToLog(QString msg);
void slotAddToMessanger(QString login, QString text);
//void slotAddToMessanger(QString login, QString text);
public:
@@ -105,8 +106,8 @@ private:
EStateServer stateServer;
EStateBlockAutorization stateBlockAutorization;
InstructorsAndTraineesWidget* pInstructorsAndTrainees;
MessangerWidget* pMessangerWidget;
//InstructorsAndTraineesWidget* pInstructorsAndTrainees;
//MessangerWidget* pMessangerWidget;
QThread *updateThread;
QThread *loggerThread;
@@ -116,6 +117,8 @@ private:
UpdateController *updateController;
Logger *logger;
ProviderDBLMS* providerDBLMS;
bool first = true; // для тестов Unity
private: