diff --git a/CMakeLists.txt.user b/CMakeLists.txt.user index 9ba5d38..0bebfd2 100644 --- a/CMakeLists.txt.user +++ b/CMakeLists.txt.user @@ -1,6 +1,6 @@ - + EnvironmentId @@ -93,443 +93,6 @@ ProjectExplorer.Project.Target.0 - - Desktop - Qt 6.8.1 MSVC2022 64bit VS22 ninja - Qt 6.8.1 MSVC2022 64bit VS22 ninja - {641635ad-443e-4243-9eb4-19d45ed2e10d} - 0 - 0 - 1 - - Debug - 2 - false - - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} --DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} --DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} --DCMAKE_GENERATOR:STRING=Ninja --DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Debug - 0 - D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug - - - - - all - - false - D:\projects\Qt\install\Qurts - true - - true - Собрать - CMakeProjectManager.MakeStep - - 1 - Сборка - Сборка - ProjectExplorer.BuildSteps.Build - - - - - - clean - - false - - true - Собрать - CMakeProjectManager.MakeStep - - 1 - Очистка - Очистка - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Отладка - CMakeProjectManager.CMakeBuildConfiguration - - - Release - 2 - false - - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} --DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} --DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} --DCMAKE_GENERATOR:STRING=Ninja --DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Release - 1 - D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Release - - - - - all - - false - D:\projects\Qt\install\Release\Quarts - true - - true - Собрать - CMakeProjectManager.MakeStep - - 1 - Сборка - Сборка - ProjectExplorer.BuildSteps.Build - - - - - - clean - - false - - true - Собрать - CMakeProjectManager.MakeStep - - 1 - Очистка - Очистка - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Выпуск - CMakeProjectManager.CMakeBuildConfiguration - - - RelWithDebInfo - 2 - false - - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} --DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} --DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} --DCMAKE_GENERATOR:STRING=Ninja --DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo - D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-RelWithDebInfo - - - - - all - - false - - true - CMakeProjectManager.MakeStep - - 1 - Сборка - Сборка - ProjectExplorer.BuildSteps.Build - - - - - - clean - - false - - true - CMakeProjectManager.MakeStep - - 1 - Очистка - Очистка - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Выпуск с отладочной информацией - CMakeProjectManager.CMakeBuildConfiguration - - - RelWithDebInfo - 2 - false - - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} --DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} --DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} --DCMAKE_GENERATOR:STRING=Ninja --DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo - 0 - D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Profile - - - - - all - - false - - true - CMakeProjectManager.MakeStep - - 1 - Сборка - Сборка - ProjectExplorer.BuildSteps.Build - - - - - - clean - - false - - true - CMakeProjectManager.MakeStep - - 1 - Очистка - Очистка - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Profile - CMakeProjectManager.CMakeBuildConfiguration - - - MinSizeRel - 2 - false - - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} --DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} --DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} --DCMAKE_GENERATOR:STRING=Ninja --DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=MinSizeRel - D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-MinSizeRel - - - - - all - - false - - true - CMakeProjectManager.MakeStep - - 1 - Сборка - Сборка - ProjectExplorer.BuildSteps.Build - - - - - - clean - - false - - true - CMakeProjectManager.MakeStep - - 1 - Очистка - Очистка - ProjectExplorer.BuildSteps.Clean - - 2 - false - - false - - Выпуск минимального размера - CMakeProjectManager.CMakeBuildConfiguration - - 5 - - - 0 - Развёртывание - Развёртывание - ProjectExplorer.BuildSteps.Deploy - - 1 - - false - ProjectExplorer.DefaultDeployConfiguration - - - - - - - - - false - - true - ApplicationManagerPlugin.Deploy.CMakePackageStep - - - install-package --acknowledge - true - Install Application Manager package - ApplicationManagerPlugin.Deploy.InstallPackageStep - - - - - - - - 2 - Развёртывание - Развёртывание - ProjectExplorer.BuildSteps.Deploy - - 1 - - false - ApplicationManagerPlugin.Deploy.Configuration - - 2 - - true - true - 0 - true - - 2 - - false - -e cpu-cycles --call-graph "dwarf,4096" -F 250 - PotreeConverter - CMakeProjectManager.CMakeRunConfiguration. - PotreeConverter - false - true - true - true - D:/projects/Qt/Pretvorenit/build/Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug/PotreeConverter - - - true - true - 0 - true - - 2 - - false - -e cpu-cycles --call-graph "dwarf,4096" -F 250 - appQtQuckApp - CMakeProjectManager.CMakeRunConfiguration. - appQtQuckApp - false - true - true - true - D:/projects/Qt/Pretvorenit/build/Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug/Quartz - - - true - true - 0 - true - - 2 - - false - -e cpu-cycles --call-graph "dwarf,4096" -F 250 - brotli - CMakeProjectManager.CMakeRunConfiguration. - brotli - false - true - true - true - D:/projects/Qt/Pretvorenit/build/Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug/PotreeConverter/Converter/libs/brotli - - - true - true - 0 - true - - 2 - - false - -e cpu-cycles --call-graph "dwarf,4096" -F 250 - txt2las - CMakeProjectManager.CMakeRunConfiguration. - txt2las - false - true - true - true - D:/projects/Qt/Pretvorenit/LAStools/bin64 - - - true - true - 0 - true - - 2 - - false - -e cpu-cycles --call-graph "dwarf,4096" -F 250 - lasinfo - CMakeProjectManager.CMakeRunConfiguration. - lasinfo - false - true - true - true - D:/projects/Qt/Pretvorenit/LAStools/bin64 - - 5 - - - - ProjectExplorer.Project.Target.1 Desktop Desktop Qt 6.8.3 MSVC2022 64bit @@ -543,14 +106,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Visual Studio 17 2022 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} 0 D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_3_MSVC2022_64bit-Debug_vs @@ -602,14 +165,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=Release +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Release +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_3_MSVC2022_64bit-Release @@ -618,6 +181,7 @@ all false + D:\projects\Qt\install\release true true @@ -659,14 +223,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_3_MSVC2022_64bit-RelWithDebInfo @@ -713,14 +277,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} 0 D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_3_MSVC2022_64bit-Profile @@ -768,14 +332,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_3_MSVC2022_64bit-MinSizeRel @@ -939,7 +503,7 @@ true true true - D:/projects/Qt/Pretvorenit/LAStools/bin64/Debug + D:/projects/Qt/Quarts/LAStools/bin64/Debug true @@ -958,7 +522,444 @@ true true true - D:/projects/Qt/Pretvorenit/LAStools/bin64/Debug + D:/projects/Qt/Quarts/LAStools/bin64/Debug + + 5 + + + + ProjectExplorer.Project.Target.1 + + Desktop + Qt 6.8.1 MSVC2022 64bit VS22 ninja + Qt 6.8.1 MSVC2022 64bit VS22 ninja + {641635ad-443e-4243-9eb4-19d45ed2e10d} + 0 + 0 + 1 + + Debug + 2 + false + + -DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} +-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_GENERATOR:STRING=Ninja +-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} +-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + 0 + D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug + + + + + all + + false + D:\projects\Qt\install\Qurts + true + + true + Собрать + CMakeProjectManager.MakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + + clean + + false + + true + Собрать + CMakeProjectManager.MakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Отладка + CMakeProjectManager.CMakeBuildConfiguration + + + Release + 2 + false + + -DCMAKE_BUILD_TYPE:STRING=Release +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} +-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_GENERATOR:STRING=Ninja +-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} +-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + 1 + D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Release + + + + + all + + false + D:\projects\Qt\install\Release\Quarts + true + + true + Собрать + CMakeProjectManager.MakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + + clean + + false + + true + Собрать + CMakeProjectManager.MakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Выпуск + CMakeProjectManager.CMakeBuildConfiguration + + + RelWithDebInfo + 2 + false + + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} +-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_GENERATOR:STRING=Ninja +-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} +-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-RelWithDebInfo + + + + + all + + false + + true + CMakeProjectManager.MakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + + clean + + false + + true + CMakeProjectManager.MakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Выпуск с отладочной информацией + CMakeProjectManager.CMakeBuildConfiguration + + + RelWithDebInfo + 2 + false + + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} +-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_GENERATOR:STRING=Ninja +-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} +-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + 0 + D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Profile + + + + + all + + false + + true + CMakeProjectManager.MakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + + clean + + false + + true + CMakeProjectManager.MakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Profile + CMakeProjectManager.CMakeBuildConfiguration + + + MinSizeRel + 2 + false + + -DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} +-DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_GENERATOR:STRING=Ninja +-DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} +-DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + D:\projects\Qt\Pretvorenit\build\Qt_6_8_1_MSVC2022_64bit_VS22_ninja-MinSizeRel + + + + + all + + false + + true + CMakeProjectManager.MakeStep + + 1 + Сборка + Сборка + ProjectExplorer.BuildSteps.Build + + + + + + clean + + false + + true + CMakeProjectManager.MakeStep + + 1 + Очистка + Очистка + ProjectExplorer.BuildSteps.Clean + + 2 + false + + false + + Выпуск минимального размера + CMakeProjectManager.CMakeBuildConfiguration + + 5 + + + 0 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ProjectExplorer.DefaultDeployConfiguration + + + + + + + + + false + + true + ApplicationManagerPlugin.Deploy.CMakePackageStep + + + install-package --acknowledge + true + Install Application Manager package + ApplicationManagerPlugin.Deploy.InstallPackageStep + + + + + + + + 2 + Развёртывание + Развёртывание + ProjectExplorer.BuildSteps.Deploy + + 1 + + false + ApplicationManagerPlugin.Deploy.Configuration + + 2 + + true + true + 0 + true + + 2 + + false + -e cpu-cycles --call-graph "dwarf,4096" -F 250 + PotreeConverter + CMakeProjectManager.CMakeRunConfiguration. + PotreeConverter + false + true + true + true + D:/projects/Qt/Pretvorenit/build/Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug/PotreeConverter + + + true + true + 0 + true + + 2 + + false + -e cpu-cycles --call-graph "dwarf,4096" -F 250 + appQtQuckApp + CMakeProjectManager.CMakeRunConfiguration. + appQtQuckApp + false + true + true + true + D:/projects/Qt/Pretvorenit/build/Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug/Quartz + + + true + true + 0 + true + + 2 + + false + -e cpu-cycles --call-graph "dwarf,4096" -F 250 + brotli + CMakeProjectManager.CMakeRunConfiguration. + brotli + false + true + true + true + D:/projects/Qt/Pretvorenit/build/Qt_6_8_1_MSVC2022_64bit_VS22_ninja-Debug/PotreeConverter/Converter/libs/brotli + + + true + true + 0 + true + + 2 + + false + -e cpu-cycles --call-graph "dwarf,4096" -F 250 + txt2las + CMakeProjectManager.CMakeRunConfiguration. + txt2las + false + true + true + true + D:/projects/Qt/Quarts/LAStools/bin64 + + + true + true + 0 + true + + 2 + + false + -e cpu-cycles --call-graph "dwarf,4096" -F 250 + lasinfo + CMakeProjectManager.CMakeRunConfiguration. + lasinfo + false + true + true + true + D:/projects/Qt/Quarts/LAStools/bin64 5 @@ -978,15 +979,15 @@ 2 false - -DCMAKE_GENERATOR_TOOLSET:STRING=v143 --DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_GENERATOR_TOOLSET:STRING=v143 -DCMAKE_GENERATOR:STRING=Visual Studio 17 2022 --DCMAKE_GENERATOR_PLATFORM:STRING=x64 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_GENERATOR_PLATFORM:STRING=x64 +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_MSVC2019_32bit_VS22-Debug @@ -1037,15 +1038,15 @@ 2 false - -DCMAKE_GENERATOR_TOOLSET:STRING=v143 --DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=Release +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} +-DCMAKE_GENERATOR_TOOLSET:STRING=v143 -DCMAKE_GENERATOR:STRING=Ninja --DCMAKE_GENERATOR_PLATFORM:STRING=x64 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Release +-DCMAKE_GENERATOR_PLATFORM:STRING=x64 +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_MSVC2019_32bit_VS22-Release @@ -1096,13 +1097,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_MSVC2019_32bit_VS22-RelWithDebInfo @@ -1149,13 +1150,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} 0 D:\projects\Qt\Pretvorenit\build\Desktop_Qt_MSVC2019_32bit_VS22-Profile @@ -1203,13 +1204,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_MSVC2019_32bit_VS22-MinSizeRel @@ -1407,14 +1408,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Debug +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} 0 D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_1_MinGW_64_bit-Debug @@ -1464,14 +1465,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=Release +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=Release +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_1_MinGW_64_bit-Release @@ -1520,14 +1521,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_1_MinGW_64_bit-RelWithDebInfo @@ -1574,14 +1575,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} 0 D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_1_MinGW_64_bit-Profile @@ -1629,14 +1630,14 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Ninja -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} -DCMAKE_CXX_FLAGS_INIT:STRING=%{Qt:QML_DEBUG_FLAG} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake --DCMAKE_BUILD_TYPE:STRING=MinSizeRel +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\Desktop_Qt_6_8_1_MinGW_64_bit-MinSizeRel @@ -1816,13 +1817,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Visual Studio 17 2022 --DCMAKE_GENERATOR_PLATFORM:STRING=x64 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_GENERATOR_PLATFORM:STRING=x64 +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\unknown @@ -1871,13 +1872,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Visual Studio 17 2022 --DCMAKE_GENERATOR_PLATFORM:STRING=x64 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_GENERATOR_PLATFORM:STRING=x64 +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\unknown @@ -1924,13 +1925,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Visual Studio 17 2022 --DCMAKE_GENERATOR_PLATFORM:STRING=x64 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_GENERATOR_PLATFORM:STRING=x64 +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\unknown @@ -1977,13 +1978,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Visual Studio 17 2022 --DCMAKE_GENERATOR_PLATFORM:STRING=x64 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_GENERATOR_PLATFORM:STRING=x64 +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} 0 D:\projects\Qt\Pretvorenit\build\unknown @@ -2031,13 +2032,13 @@ 2 false - -DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} + -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake -DCMAKE_CXX_COMPILER:FILEPATH=%{Compiler:Executable:Cxx} -DCMAKE_C_COMPILER:FILEPATH=%{Compiler:Executable:C} -DCMAKE_GENERATOR:STRING=Visual Studio 17 2022 --DCMAKE_GENERATOR_PLATFORM:STRING=x64 -DQT_QMAKE_EXECUTABLE:FILEPATH=%{Qt:qmakeExecutable} --DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=%{BuildConfig:BuildDirectory:NativeFilePath}/.qtc/package-manager/auto-setup.cmake +-DCMAKE_GENERATOR_PLATFORM:STRING=x64 +-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX} D:\projects\Qt\Pretvorenit\build\unknown diff --git a/Quartz/CMakeLists.txt b/Quartz/CMakeLists.txt index ac8ad46..d31e8df 100644 --- a/Quartz/CMakeLists.txt +++ b/Quartz/CMakeLists.txt @@ -32,17 +32,11 @@ qt_add_qml_module(appQtQuckApp QML_FILES Main.qml SOURCES figmaadapter.h figmaadapter.cpp - SOURCES SOURCES callbackwrapper.h callbackwrapper.cpp SOURCES dynamicloader.h dynamicloader.cpp - SOURCES - SOURCES - SOURCES mainpageactivity.h mainpageactivity.cpp - SOURCES SOURCES quickhelper.h quickhelper.cpp QML_FILES qml/ScrollableTextList.qml QML_FILES - SOURCES mainpagepresentor.h mainpagepresentor.cpp SOURCES FigmaQmlNames.h SOURCES settingsrepository.h settingsrepository.cpp SOURCES settingspageactivity.h settingspageactivity.cpp @@ -68,12 +62,22 @@ qt_add_qml_module(appQtQuckApp QML_FILES qml/FolderComponent.qml QML_FILES qml/TileWrapper.qml RESOURCES + PotreeViewer.js qml/images/folder.png qml/images/file.png QML_FILES qml/TileScrollablePanel.qml SOURCES projectpageppesentor.h projectpageppesentor.cpp # RESOURCES {$WIN32_RESOURCES} RESOURCES photosurface.rc + SOURCES mainpageactivity.h mainpageactivity.cpp + SOURCES mainpagepresentor.h mainpagepresentor.cpp + SOURCES cycleupdater.h cycleupdater.cpp + SOURCES headeractivity.h headeractivity.cpp + SOURCES infopageactivity.h infopageactivity.cpp + SOURCES selectfilesstageactivity.h selectfilesstageactivity.cpp + SOURCES setupparamsstageactivity.h setupparamsstageactivity.cpp + SOURCES translatingstageactivity.h translatingstageactivity.cpp + SOURCES showstageactivity.h showstageactivity.cpp ) set_target_properties(appQtQuckApp PROPERTIES diff --git a/Quartz/FigmaQmlNames.h b/Quartz/FigmaQmlNames.h index 7c8b072..82494fd 100644 --- a/Quartz/FigmaQmlNames.h +++ b/Quartz/FigmaQmlNames.h @@ -14,13 +14,13 @@ constexpr const char * MAIN = FIGMA_QML_PATH(FIGMA_MainWindow); } namespace Pages { -constexpr const char * MAIN = FIGMA_QML_PATH(FIGMA_MainPage); -constexpr const char * PROJECT = FIGMA_QML_PATH(FIGMA_ProjectPage); +constexpr const char * MAIN = FIGMA_QML_PATH(FIGMA_HomePage); +constexpr const char * PROJECT = FIGMA_QML_PATH(FIGMA_ProjectsPage); constexpr const char * SETTINGS = FIGMA_QML_PATH(FIGMA_SettingsPage); -constexpr const char * TRANSFORM = FIGMA_QML_PATH(FIGMA_ColumnCenter_transform); -constexpr const char * TRANSLATING = FIGMA_QML_PATH(FIGMA_ColumnCenter_translating); -constexpr const char * PROJECT_PASPORT = FIGMA_QML_PATH(FIGMA_ColumnLeft_resultTranslatePasport); -constexpr const char * FOLDER_ICON = FIGMA_QML_PATH("FileComponent19_figma.qml"); +// constexpr const char * TRANSFORM = FIGMA_QML_PATH(FIGMA_ColumnCenter_transform); +// constexpr const char * TRANSLATING = FIGMA_QML_PATH(FIGMA_ColumnCenter_translating); +// constexpr const char * PROJECT_PASPORT = FIGMA_QML_PATH(FIGMA_ColumnLeft_resultTranslatePasport); + constexpr const char * FILE_ICON = FIGMA_QML_PATH("FolderComponent20_figma.qml"); } namespace App{ diff --git a/Quartz/FigmaStyles.h b/Quartz/FigmaStyles.h index 878ba7a..99abada 100644 --- a/Quartz/FigmaStyles.h +++ b/Quartz/FigmaStyles.h @@ -4,7 +4,8 @@ namespace QML { const QColor CORLOR_MENU_ITEM_SELECTED(qRgb(222,222,222)); - const QColor CORLOR_MENU_ITEM_BASE(qRgba(255,255,255,0)); + const QColor CORLOR_MENU_ITEM_BASE(qRgba(255,255,255,255)); + const QColor CORLOR_MENU_ITEM_BASE_Header(qRgba(204,204,204,0)); const QColor CORLOR_MENU_ITEM_BASE_EXIT(qRgb(255,237,236)); diff --git a/Quartz/Main.qml b/Quartz/Main.qml index 6597519..ccceec6 100644 --- a/Quartz/Main.qml +++ b/Quartz/Main.qml @@ -4,25 +4,16 @@ import QtQuick.Window import FigmaQmlInterface import QtQuckApp -// Window { -// visible: true -// width: 400 -// height: 300 - -// Loader { -// sourceComponent: MyDynamicComponent -// } -// } ApplicationWindow { id: rootWindow - width: 1600 - height: 900 + width: 600 + height: 450 visible: true minimumWidth: width // Фиксированная ширина maximumWidth: width minimumHeight: height maximumHeight: height - flags: Qt.Window | Qt.WindowTitleHint | Qt.WindowCloseButtonHint | Qt.WindowMinimizeButtonHint + flags: Qt.Window | Qt.FramelessWindowHint color: "transparent" // Прозрачный фон (если нужно) title: "Кварц" // Пустой заголовок @@ -49,31 +40,6 @@ ApplicationWindow { font.pixelSize: 12 } - // Обработчик перемещения окна - MouseArea { - anchors.fill: parent - acceptedButtons: Qt.LeftButton | Qt.RightButton - - property point clickPos: "0,0" - - onPressed: { - if (mouse.button === Qt.LeftButton) { - clickPos = Qt.point(mouse.x, mouse.y) - } else if (mouse.button === Qt.RightButton) { - contextMenu.popup() - } - } - - onPositionChanged: { - if (pressedButtons === Qt.LeftButton) { - var delta = Qt.point(mouse.x - clickPos.x, - mouse.y - clickPos.y) - rootWindow.x += delta.x - rootWindow.y += delta.y - } - } - } - // Контекстное меню Menu { id: contextMenu @@ -93,19 +59,4 @@ ApplicationWindow { FigmaQmlUi { anchors.fill: parent } - - // ShowMessageDialog { - // id: terwt - // } - - // onCompleted: { - // showMessageDialog("234") - // } - // Обработчик события - // FigmaQmlSingleton.onEventReceived: { - // if (event === 'click_event' && element === 'temp_unit') { - // currentUnitCelcius = !currentUnitCelcius; // Переключаем значение - // console.log("Текущая единица измерения:", currentUnitCelcius ? "Цельсий" : "Фаренгейт"); - // } - // } } diff --git a/Quartz/PotreeViewer.js b/Quartz/PotreeViewer.js new file mode 100644 index 0000000..27c4acf --- /dev/null +++ b/Quartz/PotreeViewer.js @@ -0,0 +1,618 @@ +import { createHotContext as __vite__createHotContext } from "/@vite/client";import.meta.hot = __vite__createHotContext("/src/pages/PotreeViewer.tsx");import __vite__cjsImport0_react_jsxDevRuntime from "/node_modules/.vite/deps/react_jsx-dev-runtime.js?v=1f7bcedf"; const jsxDEV = __vite__cjsImport0_react_jsxDevRuntime["jsxDEV"]; +import * as RefreshRuntime from "/@react-refresh"; +const inWebWorker = typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope; +let prevRefreshReg; +let prevRefreshSig; +if (import.meta.hot && !inWebWorker) { + if (!window.$RefreshReg$) { + throw new Error( + "@vitejs/plugin-react can't detect preamble. Something is wrong." + ); + } + prevRefreshReg = window.$RefreshReg$; + prevRefreshSig = window.$RefreshSig$; + window.$RefreshReg$ = RefreshRuntime.getRefreshReg("/home/science/potree_build_clone/src/pages/PotreeViewer.tsx"); + window.$RefreshSig$ = RefreshRuntime.createSignatureFunctionForTransform; +} +var _s = $RefreshSig$(); +import __vite__cjsImport3_react from "/node_modules/.vite/deps/react.js?v=1f7bcedf"; const React = __vite__cjsImport3_react.__esModule ? __vite__cjsImport3_react.default : __vite__cjsImport3_react; const useEffect = __vite__cjsImport3_react["useEffect"]; const useRef = __vite__cjsImport3_react["useRef"]; const useState = __vite__cjsImport3_react["useState"]; +import { useNavigate } from "/node_modules/.vite/deps/react-router-dom.js?v=144b9df9"; +import PotreeSidebar from "/src/components/PotreeSidebar.tsx"; +import NavigationPanel from "/src/components/NavigationPanel.tsx"; +import LoadingScreen from "/src/components/LoadingScreen.tsx"; +import "/src/components/PotreeViewer.css"; +const PotreeViewer = () => { + _s(); + const navigate = useNavigate(); + const renderAreaRef = useRef(null); + const [isLoading, setIsLoading] = useState(true); + const [loadingMessage, setLoadingMessage] = useState("Подготовка к волшебству..."); + const [error, setError] = useState(null); + const [viewer, setViewer] = useState(null); + const [showLoadingScreen, setShowLoadingScreen] = useState(true); + const handleLoadingComplete = () => { + setShowLoadingScreen(false); + }; + const applySliderStyles = () => { + console.log("Applying slider styles..."); + const sliders = document.querySelectorAll(".ui-slider"); + const handles = document.querySelectorAll(".ui-slider-handle"); + const ranges = document.querySelectorAll(".ui-slider-range"); + console.log(`Found ${sliders.length} sliders, ${handles.length} handles, ${ranges.length} ranges`); + sliders.forEach((slider) => { + const element = slider; + element.style.setProperty("background", "rgba(60, 60, 60, 0.8)", "important"); + element.style.setProperty("border", "1px solid rgba(255, 255, 255, 0.2)", "important"); + element.style.setProperty("border-radius", "4px", "important"); + element.style.setProperty("height", "8px", "important"); + element.style.setProperty("margin", "5px 0", "important"); + }); + handles.forEach((handle) => { + const element = handle; + element.style.setProperty("background", "linear-gradient(to bottom, #4CAF50, #45a049)", "important"); + element.style.setProperty("border", "2px solid #fff", "important"); + element.style.setProperty("border-radius", "50%", "important"); + element.style.setProperty("width", "18px", "important"); + element.style.setProperty("height", "18px", "important"); + element.style.setProperty("top", "-6px", "important"); + element.style.setProperty("cursor", "pointer", "important"); + element.style.setProperty("outline", "none", "important"); + element.style.setProperty("box-shadow", "0 2px 4px rgba(0, 0, 0, 0.3)", "important"); + element.style.setProperty("position", "absolute", "important"); + element.addEventListener("mouseenter", () => { + element.style.setProperty("background", "linear-gradient(to bottom, #5CBF60, #4CAF50)", "important"); + element.style.setProperty("transform", "scale(1.1)", "important"); + }); + element.addEventListener("mouseleave", () => { + element.style.setProperty("background", "linear-gradient(to bottom, #4CAF50, #45a049)", "important"); + element.style.setProperty("transform", "scale(1)", "important"); + }); + }); + ranges.forEach((range) => { + const element = range; + element.style.setProperty("background", "linear-gradient(to right, #4CAF50, #45a049)", "important"); + element.style.setProperty("border-radius", "4px", "important"); + element.style.setProperty("height", "100%", "important"); + }); + console.log("Slider styles applied successfully"); + }; + useEffect(() => { + console.log("PotreeViewer useEffect started"); + const loadPotreeScripts = async () => { + try { + console.log("loadPotreeScripts started"); + setLoadingMessage("Подготовка к волшебству..."); + await new Promise((resolve) => setTimeout(resolve, 100)); + console.log("Checking renderAreaRef.current:", renderAreaRef.current); + if (!renderAreaRef.current) { + throw new Error("Render area element not found"); + } + console.log("Render area found, dimensions:", { + width: renderAreaRef.current.offsetWidth, + height: renderAreaRef.current.offsetHeight, + id: renderAreaRef.current.id + }); + if (window.Potree && window.$ && renderAreaRef.current) { + console.log("Scripts already loaded, initializing..."); + await initializePotree(); + return; + } + setLoadingMessage("Собираем пиксели..."); + const cssLinks = [ + "/potree/potree.css", + "/libs/jquery-ui/jquery-ui.min.css", + "/libs/openlayers3/ol.css", + "/libs/spectrum/spectrum.css", + "/libs/jstree/themes/mixed/style.css" + ]; + cssLinks.forEach((href) => { + if (!document.querySelector(`link[href="${href}"]`)) { + const link = document.createElement("link"); + link.rel = "stylesheet"; + link.type = "text/css"; + link.href = href; + document.head.appendChild(link); + console.log("CSS loaded:", href); + } + }); + setLoadingMessage("Будим драконов..."); + try { + await loadScriptsWithChecks(); + } catch (err) { + console.warn("Main loading strategy failed, trying fallback:", err); + setLoadingMessage("Ищем запасной план..."); + await loadScriptsSimple(); + } + setLoadingMessage("Считаем единорогов..."); + console.log("Checking loaded libraries:", { + Potree: !!window.Potree, + jQuery: !!window.$, + THREE: !!window.THREE, + TWEEN: !!window.TWEEN, + d3: !!window.d3, + Copc: !!window.Copc + }); + if (!window.Potree) { + throw new Error("Potree library not loaded"); + } + if (!window.$) { + throw new Error("jQuery not loaded"); + } + setLoadingMessage("Запускаем квантовый двигатель..."); + await new Promise((resolve) => setTimeout(resolve, 500)); + console.log("Final check of renderAreaRef.current:", renderAreaRef.current); + if (!renderAreaRef.current) { + throw new Error("Render area became unavailable"); + } + await initializePotree(); + } catch (err) { + console.error("Error loading Potree:", err); + setError(`Что-то пошло не так: ${err.message}`); + setIsLoading(false); + } + }; + const loadScriptsWithChecks = async () => { + const scripts = [ + "/libs/jquery/jquery-3.1.1.min.js", + "/libs/three.js/build/three.min.js", + "/libs/spectrum/spectrum.js", + "/libs/jquery-ui/jquery-ui.min.js", + "/libs/other/BinaryHeap.js", + "/libs/tween/tween.min.js", + "/libs/d3/d3.js", + "/libs/proj4/proj4.js", + "/libs/openlayers3/ol.js", + "/libs/i18next/i18next.js", + "/libs/jstree/jstree.js", + "/libs/copc/index.js", + "/potree/potree.js", + "/libs/plasio/js/laslaz.js" + ]; + for (const src of scripts) { + console.log("Loading script:", src); + await loadScript(src); + await new Promise((resolve) => setTimeout(resolve, 200)); + } + await new Promise((resolve) => setTimeout(resolve, 500)); + console.log("All scripts loaded"); + }; + const loadScriptsSimple = async () => { + const scripts = [ + "/libs/jquery/jquery-3.1.1.min.js", + "/libs/spectrum/spectrum.js", + "/libs/jquery-ui/jquery-ui.min.js", + "/libs/other/BinaryHeap.js", + "/libs/tween/tween.min.js", + "/libs/d3/d3.js", + "/libs/proj4/proj4.js", + "/libs/openlayers3/ol.js", + "/libs/i18next/i18next.js", + "/libs/jstree/jstree.js", + "/potree/potree.js", + "/libs/plasio/js/laslaz.js" + ]; + for (const src of scripts) { + await loadScript(src); + await new Promise((resolve) => setTimeout(resolve, 300)); + } + await new Promise((resolve) => setTimeout(resolve, 1e3)); + }; + const loadScript = (src) => { + return new Promise((resolve, reject) => { + if (document.querySelector(`script[src="${src}"]`)) { + resolve(); + return; + } + const script = document.createElement("script"); + script.src = src; + script.onload = () => { + console.log(`Loaded: ${src}`); + resolve(); + }; + script.onerror = () => { + console.error(`Failed to load: ${src}`); + reject(new Error(`Failed to load script: ${src}`)); + }; + document.head.appendChild(script); + }); + }; + const initializePotree = async () => { + try { + console.log("Starting Potree initialization..."); + if (!renderAreaRef.current) { + throw new Error("Render area not available"); + } + if (!window.Potree) { + throw new Error("Potree not loaded"); + } + console.log("Creating Potree viewer..."); + setLoadingMessage("Строим виртуальную реальность..."); + const canvas = document.createElement("canvas"); + const gl = canvas.getContext("webgl") || canvas.getContext("experimental-webgl"); + if (!gl) { + throw new Error("WebGL не поддерживается в этом браузере"); + } + console.log("WebGL supported"); + window.viewer = new window.Potree.Viewer(renderAreaRef.current); + setViewer(window.viewer); + if (window.viewer.sidebar) { + window.viewer.sidebar.dom.hide(); + } + const sidebarContainer = document.getElementById("potree_sidebar_container"); + if (sidebarContainer) { + sidebarContainer.style.display = "none"; + } + if (!window.viewer) { + throw new Error("Viewer creation returned null"); + } + console.log("Configuring viewer..."); + window.viewer.setEDLEnabled(false); + window.viewer.setFOV(60); + window.viewer.setPointBudget(1e6); + window.viewer.setBackground("skybox"); + window.viewer.setDescription("DefaultRecapScene"); + console.log("Updating viewer size..."); + await new Promise((resolve) => setTimeout(resolve, 100)); + if (window.viewer.renderer && window.viewer.renderer.setSize) { + const container = renderAreaRef.current; + const width = container.clientWidth || window.innerWidth; + const height = container.clientHeight || window.innerHeight; + console.log("Setting viewer size to:", { width, height }); + window.viewer.renderer.setSize(width, height); + if (window.viewer.scene && window.viewer.scene.getActiveCamera) { + const camera = window.viewer.scene.getActiveCamera(); + if (camera) { + camera.aspect = width / height; + camera.updateProjectionMatrix(); + } + } + } + console.log("Viewer configured successfully"); + setLoadingMessage("Полируем кнопочки..."); + const handleResize = () => { + if (window.viewer && window.viewer.renderer && renderAreaRef.current) { + const container = renderAreaRef.current; + const width = container.clientWidth || window.innerWidth; + const height = container.clientHeight || window.innerHeight; + window.viewer.renderer.setSize(width, height); + if (window.viewer.scene && window.viewer.scene.getActiveCamera) { + const camera = window.viewer.scene.getActiveCamera(); + if (camera) { + camera.aspect = width / height; + camera.updateProjectionMatrix(); + } + } + } + }; + window.addEventListener("resize", handleResize); + window.viewer.handleResize = handleResize; + console.log("Adding test geometry..."); + try { + const THREE = window.THREE || window.Potree.THREE; + if (THREE) { + const geometry = new THREE.BoxGeometry(10, 10, 10); + const material = new THREE.MeshBasicMaterial({ color: 65280, wireframe: true }); + const cube = new THREE.Mesh(geometry, material); + cube.position.set(0, 0, 0); + window.viewer.scene.scene.add(cube); + console.log("Test cube added to scene"); + } else { + console.warn("THREE.js not available"); + } + } catch (err) { + console.warn("Could not add test geometry:", err); + } + console.log("Loading GUI..."); + setLoadingMessage("Настраиваем магию..."); + try { + await new Promise((resolve, reject) => { + const timeout = setTimeout(() => { + console.warn("GUI loading timeout, continuing without GUI"); + resolve(); + }, 5e3); + try { + window.viewer.loadGUI(() => { + clearTimeout(timeout); + console.log("GUI loaded successfully"); + try { + window.viewer.setLanguage("en"); + const sidebarContainer2 = document.getElementById("potree_sidebar_container"); + const sidebarRoot = document.getElementById("sidebar_root"); + console.log("Sidebar debug:", { + sidebarContainer: !!sidebarContainer2, + sidebarRoot: !!sidebarRoot, + sidebarRootParent: sidebarRoot?.parentElement?.id, + sidebarContainerChildren: sidebarContainer2?.children.length + }); + if (sidebarRoot && sidebarContainer2 && !sidebarContainer2.contains(sidebarRoot)) { + sidebarContainer2.appendChild(sidebarRoot); + console.log("Sidebar moved to correct container"); + } + if (window.$) { + window.$("#menu_tools").next().show(); + window.$("#menu_clipping").next().show(); + window.$("#potree_menu_toggle, .potree_menu_toggle, #menu_toggle, .menu_toggle").hide(); + window.$("#sidebar_toggle_button, .sidebar_toggle_button").hide(); + window.$(".potree-menu-button, .potree-sidebar-button").hide(); + if (window.$(".accordion").length > 0) { + window.$(".accordion").accordion({ + heightStyle: "content", + collapsible: true + }); + } + setTimeout(() => { + applySliderStyles(); + }, 500); + } + } catch (err) { + console.warn("GUI configuration error:", err); + } + resolve(); + }); + } catch (guiError) { + clearTimeout(timeout); + console.warn("GUI loading failed:", guiError); + resolve(); + } + }); + } catch (err) { + console.warn("GUI loading error:", err); + } + console.log("Loading point cloud..."); + setLoadingMessage("Материализуем точки..."); + const pointCloudOptions = [ + { url: "/metadata.json", name: "sigeom.sa" } + ]; + let pointCloudLoaded = false; + for (const option of pointCloudOptions) { + if (pointCloudLoaded) break; + try { + console.log(`Trying to load point cloud: ${option.url}`); + setLoadingMessage("Материализуем точки..."); + await new Promise((resolve, reject) => { + const timeout = setTimeout(() => { + reject(new Error(`Point cloud loading timeout for ${option.url}`)); + }, 1e4); + window.Potree.loadPointCloud(option.url, option.name, (e) => { + clearTimeout(timeout); + console.log("Point cloud callback received:", e); + try { + if (e.type === "loading_failed") { + console.error("Point cloud loading failed:", e); + reject(new Error(`Loading failed: ${e.message || "Unknown error"}`)); + return; + } + if (e.pointcloud) { + console.log("Point cloud loaded, adding to scene..."); + console.log("Point cloud details:", { + numPoints: e.pointcloud.numPoints, + boundingBox: e.pointcloud.boundingBox, + material: e.pointcloud.material + }); + const scene = window.viewer.scene; + const pointcloud = e.pointcloud; + const material = pointcloud.material; + material.size = 1; + material.pointSizeType = window.Potree.PointSizeType.ADAPTIVE; + material.shape = window.Potree.PointShape.SQUARE; + scene.addPointCloud(pointcloud); + console.log("Point cloud added to scene, fitting to screen..."); + window.viewer.fitToScreen(); + console.log(`Point cloud loaded successfully: ${option.url}`); + pointCloudLoaded = true; + resolve(); + } else { + console.error("No pointcloud in response:", e); + reject(new Error("No pointcloud in response")); + } + } catch (err) { + console.error("Error processing point cloud:", err); + reject(err); + } + }); + }); + break; + } catch (err) { + console.warn(`Failed to load ${option.url}:`, err); + } + } + if (!pointCloudLoaded) { + console.warn("No point cloud could be loaded, creating test point cloud..."); + setLoadingMessage("Рисуем из воздуха..."); + try { + const THREE = window.THREE || window.Potree.THREE; + if (THREE) { + const geometry = new THREE.BufferGeometry(); + const positions = []; + const colors = []; + for (let i = 0; i < 1e3; i++) { + positions.push( + (Math.random() - 0.5) * 100, + (Math.random() - 0.5) * 100, + (Math.random() - 0.5) * 100 + ); + colors.push(Math.random(), Math.random(), Math.random()); + } + geometry.setAttribute("position", new THREE.Float32BufferAttribute(positions, 3)); + geometry.setAttribute("color", new THREE.Float32BufferAttribute(colors, 3)); + const material = new THREE.PointsMaterial({ + size: 2, + vertexColors: true + }); + const points = new THREE.Points(geometry, material); + window.viewer.scene.scene.add(points); + console.log("Test point cloud created with 1000 points"); + pointCloudLoaded = true; + } + } catch (err) { + console.warn("Could not create test point cloud:", err); + } + } + setIsLoading(false); + console.log("Potree initialization complete"); + setTimeout(() => { + applySliderStyles(); + }, 1e3); + const accordionHeaders = document.querySelectorAll(".ui-accordion-header, .accordion h3, h3.ui-accordion-header"); + console.log(`Found ${accordionHeaders.length} accordion headers`); + accordionHeaders.forEach((header) => { + const element = header; + element.style.setProperty("color", "black", "important"); + element.style.setProperty("text-shadow", "none", "important"); + element.style.setProperty("-webkit-text-stroke", "none", "important"); + element.style.setProperty("text-stroke", "none", "important"); + element.style.setProperty("font-weight", "bold", "important"); + }); + } catch (err) { + console.error("Error initializing Potree:", err); + setError(`Ошибка инициализации Potree: ${err.message}`); + setIsLoading(false); + } + }; + const timer = setTimeout(() => { + loadPotreeScripts(); + }, 1e3); + return () => { + clearTimeout(timer); + if (window.viewer) { + if (window.viewer.handleResize) { + window.removeEventListener("resize", window.viewer.handleResize); + } + try { + window.viewer.destroy?.(); + } catch (e) { + console.warn("Error destroying viewer:", e); + } + window.viewer = null; + } + }; + }, []); + const handleLogout = () => { + if (window.viewer) { + try { + window.viewer.destroy?.(); + } catch (e) { + console.warn("Error destroying viewer:", e); + } + window.viewer = null; + } + navigate("/login"); + }; + if (error) { + return /* @__PURE__ */ jsxDEV("div", { className: "potree-error", children: [ + /* @__PURE__ */ jsxDEV("h2", { children: "Ошибка загрузки" }, void 0, false, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 661, + columnNumber: 9 + }, this), + /* @__PURE__ */ jsxDEV("p", { children: error }, void 0, false, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 662, + columnNumber: 9 + }, this), + /* @__PURE__ */ jsxDEV("button", { onClick: handleLogout, className: "potree-button danger", children: "Вернуться к входу" }, void 0, false, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 663, + columnNumber: 9 + }, this) + ] }, void 0, true, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 660, + columnNumber: 7 + }, this); + } + return /* @__PURE__ */ jsxDEV("div", { className: "potree-viewer-container", children: [ + showLoadingScreen && /* @__PURE__ */ jsxDEV( + LoadingScreen, + { + isLoading, + loadingMessage, + onLoadingComplete: handleLoadingComplete + }, + void 0, + false, + { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 674, + columnNumber: 7 + }, + this + ), + /* @__PURE__ */ jsxDEV("div", { className: "potree-controls", children: /* @__PURE__ */ jsxDEV( + "button", + { + onClick: handleLogout, + className: "potree-button danger", + children: "Выйти" + }, + void 0, + false, + { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 683, + columnNumber: 9 + }, + this + ) }, void 0, false, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 682, + columnNumber: 7 + }, this), + /* @__PURE__ */ jsxDEV(PotreeSidebar, { viewer }, void 0, false, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 692, + columnNumber: 7 + }, this), + /* @__PURE__ */ jsxDEV(NavigationPanel, { viewer }, void 0, false, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 695, + columnNumber: 7 + }, this), + /* @__PURE__ */ jsxDEV("div", { className: "potree_container", children: /* @__PURE__ */ jsxDEV( + "div", + { + id: "potree_render_area", + ref: renderAreaRef + }, + void 0, + false, + { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 699, + columnNumber: 9 + }, + this + ) }, void 0, false, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 698, + columnNumber: 7 + }, this) + ] }, void 0, true, { + fileName: "/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", + lineNumber: 671, + columnNumber: 5 + }, this); +}; +_s(PotreeViewer, "+4tr+mwQSEXGDlU5TTzeIaoe1pc=", false, function() { + return [useNavigate]; +}); +_c = PotreeViewer; +export default PotreeViewer; +var _c; +$RefreshReg$(_c, "PotreeViewer"); +if (import.meta.hot && !inWebWorker) { + window.$RefreshReg$ = prevRefreshReg; + window.$RefreshSig$ = prevRefreshSig; +} +if (import.meta.hot && !inWebWorker) { + RefreshRuntime.__hmr_import(import.meta.url).then((currentExports) => { + RefreshRuntime.registerExportsForReactRefresh("/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", currentExports); + import.meta.hot.accept((nextExports) => { + if (!nextExports) return; + const invalidateMessage = RefreshRuntime.validateRefreshBoundaryAndEnqueueUpdate("/home/science/potree_build_clone/src/pages/PotreeViewer.tsx", currentExports, nextExports); + if (invalidateMessage) import.meta.hot.invalidate(invalidateMessage); + }); + }); +} + +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJtYXBwaW5ncyI6IkFBaW9CUTs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFqb0JSLE9BQU9BLFNBQVNDLFdBQVdDLFFBQVFDLGdCQUFnQjtBQUNuRCxTQUFTQyxtQkFBbUI7QUFDNUIsT0FBT0MsbUJBQW1CO0FBQzFCLE9BQU9DLHFCQUFxQjtBQUM1QixPQUFPQyxtQkFBbUI7QUFDMUIsT0FBTztBQUtQLE1BQU1DLGVBQXlCQSxNQUFNO0FBQUFDLEtBQUE7QUFDbkMsUUFBTUMsV0FBV04sWUFBWTtBQUM3QixRQUFNTyxnQkFBZ0JULE9BQXVCLElBQUk7QUFDakQsUUFBTSxDQUFDVSxXQUFXQyxZQUFZLElBQUlWLFNBQVMsSUFBSTtBQUMvQyxRQUFNLENBQUNXLGdCQUFnQkMsaUJBQWlCLElBQUlaLFNBQVMsNEJBQTRCO0FBQ2pGLFFBQU0sQ0FBQ2EsT0FBT0MsUUFBUSxJQUFJZCxTQUF3QixJQUFJO0FBQ3RELFFBQU0sQ0FBQ2UsUUFBUUMsU0FBUyxJQUFJaEIsU0FBYyxJQUFJO0FBQzlDLFFBQU0sQ0FBQ2lCLG1CQUFtQkMsb0JBQW9CLElBQUlsQixTQUFTLElBQUk7QUFHL0QsUUFBTW1CLHdCQUF3QkEsTUFBTTtBQUNsQ0QseUJBQXFCLEtBQUs7QUFBQSxFQUM1QjtBQUdBLFFBQU1FLG9CQUFvQkEsTUFBTTtBQUM5QkMsWUFBUUMsSUFBSSwyQkFBMkI7QUFHdkMsVUFBTUMsVUFBVUMsU0FBU0MsaUJBQWlCLFlBQVk7QUFD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0IHdpZHRoID0gY29udGFpbmVyLmNsaWVudFdpZHRoIHx8IHdpbmRvdy5pbm5lcldpZHRoO1xuICAgICAgICAgIGNvbnN0IGhlaWdodCA9IGNvbnRhaW5lci5jbGllbnRIZWlnaHQgfHwgd2luZG93LmlubmVySGVpZ2h0O1xuICAgICAgICAgIGNvbnNvbGUubG9nKCdTZXR0aW5nIHZpZXdlciBzaXplIHRvOicsIHsgd2lkdGgsIGhlaWdodCB9KTtcbiAgICAgICAgICB3aW5kb3cudmlld2VyLnJlbmRlcmVyLnNldFNpemUod2lkdGgsIGhlaWdodCk7XG4gICAgICAgICAgXG4gICAgICAgICAgLy8g0J7QsdC90L7QstC70Y/QtdC8INC60LDQvNC10YDRg1xuICAgICAgICAgIGlmICh3aW5kb3cudmlld2VyLnNjZW5lICYmIHdpbmRvdy52aWV3ZXIuc2NlbmUuZ2V0QWN0aXZlQ2FtZXJhKSB7XG4gICAgICAgICAgICBjb25zdCBjYW1lcmEgPSB3aW5kb3cudmlld2VyLnNjZW5lLmdldEFjdGl2ZUNhbWVyYSgpO1xuICAgICAgICAgICAgaWYgKGNhbWVyYSkge1xuICAgICAgICAgICAgICBjYW1lcmEuYXNwZWN0ID0gd2lkdGggLyBoZWlnaHQ7XG4gICAgICAgICAgICAgIGNhbWVyYS51cGRhdGVQcm9qZWN0aW9uTWF0cml4KCk7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgY29uc29sZS5sb2coJ1ZpZXdlciBjb25maWd1cmVkIHN1Y2Nlc3NmdWxseScpO1xuICAgICAgICBzZXRMb2FkaW5nTWVzc2FnZSgn0J/QvtC70LjRgNGD0LXQvCDQutC90L7Qv9C+0YfQutC4Li4uJyk7XG4gICAgICAgIFxuICAgICAgICAvLyDQlNC+0LHQsNCy0LvRj9C10Lwg0L7QsdGA0LDQsdC+0YLRh9C40Log0LjQt9C80LXQvdC10L3QuNGPINGA0LDQt9C80LXRgNCwINC+0LrQvdCwXG4gICAgICAgIGNvbnN0IGhhbmRsZVJlc2l6ZSA9ICgpID0+IHtcbiAgICAgICAgICBpZiAod2luZG93LnZpZXdlciAmJiB3aW5kb3cudmlld2VyLnJlbmRlcmVyICYmIHJlbmRlckFyZWFSZWYuY3VycmVudCkge1xuICAgICAgICAgICAgY29uc3QgY29udGFpbmVyID0gcmVuZGVyQXJlYVJlZi5jdXJyZW50O1xuICAgICAgICAgICAgY29uc3Qgd2lkdGggPSBjb250YWluZXIuY2xpZW50V2lkdGggfHwgd2luZG93LmlubmVyV2lkdGg7XG4gICAgICAgICAgICBjb25zdCBoZWlnaHQgPSBjb250YWluZXIuY2xpZW50SGVpZ2h0IHx8IHdpbmRvdy5pbm5lckhlaWdodDtcbiAgICAgICAgICAgIHdpbmRvdy52aWV3ZXIucmVuZGVyZXIuc2V0U2l6ZSh3aWR0aCwgaGVpZ2h0KTtcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgaWYgKHdpbmRvdy52aWV3ZXIuc2NlbmUgJiYgd2luZG93LnZpZXdlci5zY2VuZS5nZXRBY3RpdmVDYW1lcmEpIHtcbiAgICAgICAgICAgICAgY29uc3QgY2FtZXJhID0gd2luZG93LnZpZXdlci5zY2VuZS5nZXRBY3RpdmVDYW1lcmEoKTtcbiAgICAgICAgICAgICAgaWYgKGNhbWVyYSkge1xuICAgICAgICAgICAgICAgIGNhbWVyYS5hc3BlY3QgPSB3aWR0aCAvIGhlaWdodDtcbiAgICAgICAgICAgICAgICBjYW1lcmEudXBkYXRlUHJvamVjdGlvbk1hdHJpeCgpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9O1xuICAgICAgICBcbiAgICAgICAgd2luZG93LmFkZEV2ZW50TGlzdGVuZXIoJ3Jlc2l6ZScsIGhhbmRsZVJlc2l6ZSk7XG4gICAgICAgIFxuICAgICAgICAvLyDQodC+0YXRgNCw0L3Rj9C10Lwg0YTRg9C90LrRhtC40Y4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zZSB7XG4gICAgICAgICAgICBjb25zb2xlLndhcm4oJ1RIUkVFLmpzIG5vdCBhdmFpbGFibGUnKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgICAgIGNvbnNvbGUud2FybignQ291bGQgbm90IGFkZCB0ZXN0IGdlb21ldHJ5OicsIGVycik7XG4gICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgIC8vINCX0LDQs9GA0YPQttCw0LXQvCBHVUlcbiAgICAgICAgY29uc29sZS5sb2coJ0xvYWRpbmcgR1VJLi4uJyk7XG4gICAgICAgIHNldExvYWRpbmdNZXNzYWdlKCfQndCw0YHRgtGA0LDQuNCy0LDQtdC8INC80LDQs9C40Y4uLi4nKTtcbiAgICAgICAgXG4gICAgICAgIHRyeSB7XG4gICAgICAgICAgYXdhaXQgbmV3IFByb21pc2U8dm9pZD4oKHJlc29sdmUsIHJlamVjdCkgPT4ge1xuICAgICAgICAgICAgY29uc3QgdGltZW91dCA9IHNldFRpbWVvdXQoKCkgPT4ge1xuICAgICAgICAgICAgICBjb25zb2xlLndhcm4oJ0dVSSBsb2FkaW5nIHRpbWVvdXQsIGNvbnRpbnVpbmcgd2l0aG91dCBHVUknKTtcbiAgICAgICAgICAgICAgcmVzb2x2ZSgpO1xuICAgICAgICAgICAgfSwgNTAwMCk7XG5cbiAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgIHdpbmRvdy52aWV3ZXIubG9hZEdVSSgoKSA9PiB7XG4gICAgICAgICAgICAgICAgY2xlYXJUaW1lb3V0KHRpbWVvdXQpO1xuICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCdHVUkgbG9hZGVkIHN1Y2Nlc3NmdWxseScpO1xuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICB3aW5kb3cudmlld2VyLnNldExhbmd1YWdlKCdlbicpO1xuICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAvLyDQo9Cx0LXQttC00LDQtdC80YHRjywg0YfRgtC+INGB0LDQudC00LHQsNGAINC+0YLQvtCx0YDQsNC20LDQtdGC0YHRjyDQsiDQv9GA0LDQstC40LvRjNC90L7QvCDQutC+0L3RgtC10LnQvdC10YDQtVxuICAgICAgICAgICAgICAgICAgY29uc3Qgc2lkZWJhckNvbnRhaW5lciA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdwb3RyZWVfc2lkZWJhcl9jb250YWluZXInKTtcbiAgICAgICAgICAgICAgICAgIGNvbnN0IHNpZGViYXJSb290ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3NpZGViYXJfcm9vdCcpO1xuICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnU2lkZWJhciBkZWJ1ZzonLCB7XG4gICAgICAgICAgICAgICAgICAgIHNpZGViYXJDb250YWluZXI6ICEhc2lkZWJhckNvbnRhaW5lcixcbiAgICAgICAgICAgICAgICAgICAgc2lkZWJhclJvb3Q6ICEhc2lkZWJhclJvb3QsXG4gICAgICAgICAgICAgICAgICAgIHNpZGViYXJSb290UGFyZW50OiBzaWRlYmFyUm9vdD8ucGFyZW50RWxlbWVudD8uaWQsXG4gICAgICAgICAgICAgICAgICAgIHNpZGViYXJDb250YWluZXJDaGlsZHJlbjogc2lkZWJhckNvbnRhaW5lcj8uY2hpbGRyZW4ubGVuZ3RoXG4gICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgaWYgKHNpZGViYXJSb290ICYmIHNpZGViYXJDb250YWluZXIgJiYgIXNpZGViYXJDb250YWluZXIuY29udGFpbnMoc2lkZWJhclJvb3QpKSB7XG4gICAgICAgICAgICAgICAgICAgIHNpZGViYXJDb250YWluZXIuYXBwZW5kQ2hpbGQoc2lkZWJhclJvb3QpO1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnU2lkZWJhciBtb3ZlZCB0byBjb3JyZWN0IGNvbnRhaW5lcicpO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICBpZiAod2luZG93LiQpIHtcbiAgICAgICAgICAgICAgICAgICAgd2luZG93LiQoXCIjbWVudV90b29sc1wiKS5uZXh0KCkuc2hvdygpO1xuICAgICAgICAgICAgICAgICAgICB3aW5kb3cuJChcIiNtZW51X2NsaXBwaW5nXCIpLm5leHQoKS5zaG93KCk7XG4gICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICAvLyDQodC60YDRi9Cy0LDQtdC8INCy0YHRgtGA0L7QtdC90L3Ri9C1INC60L3QvtC/0LrQuCDRg9C/0YDQsNCy0LvQtdC90LjRj1xuICAgICAgICAgICAgICAgICAgICB3aW5kb3cuJCgnI3BvdHJlZV9tZW51X3RvZ2dsZSwgLnBvdHJlZV9tZW51X3RvZ2dsZSwgI21lbnVfdG9nZ2xlLCAubWVudV90b2dnbGUnKS5oaWRlKCk7XG4gICAgICAgICAgICAgICAgICAgIHdpbmRvdy4kKCcjc2lkZWJhcl90b2dnbGVfYnV0dG9uLCAuc2lkZWJhcl90b2dnbGVfYnV0dG9uJykuaGlkZSgpO1xuICAgICAgICAgICAgICAgICAgICB3aW5kb3cuJCgnLnBvdHJlZS1tZW51LWJ1dHRvbiwgLnBvdHJlZS1zaWRlYmFyLWJ1dHRvbicpLmhpZGUoKTtcbiAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgIC8vINCY0L3QuNGG0LjQsNC70LjQt9C40YDRg9C10LwgYWNjb3JkaW9uINC10YHQu9C4INC+0L0g0LXRgdGC0YxcbiAgICAgICAgICAgICAgICAgICAgaWYgKHdpbmRvdy4kKCcuYWNjb3JkaW9uJykubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgICAgICAgIHdpbmRvdy4kKCcuYWNjb3JkaW9uJykuYWNjb3JkaW9uKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodFN0eWxlOiBcImNvbnRlbnRcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbGxhcHNpYmxlOiB0cnVlXG4gICAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgIC8vINCf0YDQuNC90YPQtNC40YLQtdC70YzQvdC+INC/0YDQuNC80LXQvdGP0LXQvCDRgdGC0LjQu9C4INC6INGB0LvQsNC50LTQtdGA0LDQvFxuICAgICAgICAgICAgICAgICAgICBzZXRUaW1lb3V0KCgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICBhcHBseVNsaWRlclN0eWxlcygpO1xuICAgICAgICAgICAgICAgICAgICB9LCA1MDApO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH0gY2F0Y2ggKGVycikge1xuICAgICAgICAgICAgICAgICAgY29uc29sZS53YXJuKCdHVUkgY29uZmlndXJhdGlvbiBlcnJvcjonLCBlcnIpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICByZXNvbHZlKCk7XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSBjYXRjaCAoZ3VpRXJyb3IpIHtcbiAgICAgICAgICAgICAgY2xlYXJUaW1lb3V0KHRpbWVvdXQpO1xuICAgICAgICAgICAgICBjb25zb2xlLndhcm4oJ0dVSSBsb2FkaW5nIGZhaWxlZDonLCBndWlFcnJvcik7XG4gICAgICAgICAgICAgIHJlc29sdmUoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KTtcbiAgICAgICAgfSBjYXRjaCAoZXJyKSB7XG4gICAgICAgICAgY29uc29sZS53YXJuKCdHVUkgbG9hZGluZyBlcnJvcjonLCBlcnIpO1xuICAgICAgICB9XG5cbiAgICAgICAgLy8g0JfQsNCz0YDRg9C20LDQtdC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lamVjdChuZXcgRXJyb3IoYFBvaW50IGNsb3VkIGxvYWRpbmcgdGltZW91dCBmb3IgJHtvcHRpb24udXJsfWApKTtcbiAgICAgICAgICAgICAgfSwgMTAwMDApO1xuXG4gICAgICAgICAgICAgIHdpbmRvdy5Qb3RyZWUubG9hZFBvaW50Q2xvdWQob3B0aW9uLnVybCwgb3B0aW9uLm5hbWUsIChlOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICBjbGVhclRpbWVvdXQodGltZW91dCk7XG4gICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgY29uc29sZS5sb2coJ1BvaW50IGNsb3VkIGNhbGxiYWNrIHJlY2VpdmVkOicsIGUpO1xuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgICBpZiAoZS50eXBlID09PSAnbG9hZGluZ19mYWlsZWQnKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuZXJyb3IoJ1BvaW50IGNsb3VkIGxvYWRpbmcgZmFpbGVkOicsIGUpO1xuICAgICAgICAgICAgICAgICAgICByZWplY3QobmV3IEVycm9yKGBMb2FkaW5nIGZhaWxlZDogJHtlLm1lc3NhZ2UgfHwgJ1Vua25vd24gZXJyb3InfWApKTtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICBpZiAoZS5wb2ludGNsb3VkKSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUubG9nKCdQb2ludCBjbG91ZCBsb2FkZWQsIGFkZGluZyB0byBzY2VuZS4uLicpO1xuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnUG9pbnQgY2xvdWQgZGV0YWlsczonLCB7XG4gICAgICAgICAgICAgICAgICAgICAgbnVtUG9pbnRzOiBlLnBvaW50Y2xvdWQubnVtUG9pbnRzLFxuICAgICAgICAgICAgICAgICAgICAgIGJvdW5kaW5nQm94OiBlLnBvaW50Y2xvdWQuYm91bmRpbmdCb3gsXG4gICAgICAgICAgICAgICAgICAgICAgbWF0ZXJpYWw6IGUucG9pbnRjbG91ZC5tYXRlcmlhbFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IHNjZW5lID0gd2luZG93LnZpZXdlci5zY2VuZTtcbiAgICAgICAgICAgICAgICAgICAgY29uc3QgcG9pbnRjbG91ZCA9IGUucG9pbnRjbG91ZDtcbiAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgIGNvbnN0IG1hdGVyaWFsID0gcG9pbnRjbG91ZC5tYXRlcmlhbDtcbiAgICAgICAgICAgICAgICAgICAgbWF0ZXJpYWwuc2l6ZSA9IDE7XG4gICAgICAgICAgICAgICAgICAgIG1hdGVyaWFsLnBvaW50U2l6ZVR5cGUgPSB3aW5kb3cuUG90cmVlLlBvaW50U2l6ZVR5cGUuQURBUFRJVkU7XG4gICAgICAgICAgICAgICAgICAgIG1hdGVyaWFsLnNoYXBlID0gd2luZG93LlBvdHJlZS5Qb2ludFNoYXBlLlNRVUFSRTtcbiAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgIHNjZW5lLmFkZFBvaW50Q2xvdWQocG9pbnRjbG91ZCk7XG4gICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICBjb25zb2xlLmxvZygnUG9pbnQgY2xvdWQgYWRkZWQgdG8gc2NlbmUsIGZpdHRpbmcgdG8gc2NyZWVuLi4uJyk7XG4gICAgICAgICAgICAgICAgICAgIC8vINCf0L7QtNCz0L7QvdGP0LXQvCDQutCw0LzQtdGA0YMg0Log0L7QsdC70LDQutGDINGC0L7Rh9C10LpcbiAgICAgICAgICAgICAgICAgICAgd2luZG93LnZpZXdlci5maXRUb1NjcmVlbigpO1xuICAgICAgICAgICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAgICAgY29uc29sZS5sb2coYFBvaW50IGNsb3VkIGxvYWRlZCBzdWNjZXNzZnVsbHk6ICR7b3B0aW9uLnVybH1gKTtcbiAgICAgICAgICAgICAgICAgICAgcG9pbnRDbG91ZExvYWRlZCA9IHRydWU7XG4gICAgICAgICAgICAgICAgICAgIHJlc29sdmUoKTtcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnNvbGUuZXJyb3IoJ05vIHBvaW50Y2xvdWQgaW4gcmVzcG9uc2U6JywgZSk7XG4gICAgICAgICAgICAgICAgICAgIHJlamVjdChuZXcgRXJyb3IoJ05vIHBvaW50Y2xvdWQgaW4gcmVzcG9uc2UnKSk7XG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfSBjYXRjaCAoZXJyKSB7XG4gICAgICAgICAgICAgICAgICBjb25zb2xlLmVycm9yKCdFcnJvciBwcm9jZXNzaW5nIHBvaW50IGNsb3VkOicsIGVycik7XG4gICAgICAgICAgICAgICAgICByZWplY3QoZXJyKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBicmVhaztcbiAgICAgICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgIGNvbnNvbGUud2FybihgRmFpbGVkIHRvIGxvYWQgJHtvcHRpb24udXJsfTpgLCBlcnIpO1xuICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgIGlmICghcG9pbnRDbG91ZExvYWRlZCkge1xuICAgICAgICAgIGNvbnNvbGUud2FybignTm8gcG9pbnQgY2xvdWQgY291bGQgYmUgbG9hZGVkLCBjcmVhdGluZyB0ZXN0IHBvaW50IGNsb3VkLi4uJyk7XG4gICAgICAgICAgc2V0TG9hZGluZ01lc3NhZ2UoJ9Cg0LjRgdGD0LXQvCDQuNC3INCy0L7Qt9C00YPRhdCwLi4uJyk7XG4gICAgICAgICAgXG4gICAgICAgICAgdHJ5IHtcbiAgICAgICAgICAgIC8vINCh0L7Qt9C00LDQtdC8INC/0YDQvtGB0YLQvtC1INGC0LXRgdGC0L7QstC+0LUg0L7QsdC70LDQutC+INGC0L7Rh9C10LpcbiAgICAgICAgICAgIGNvbnN0IFRIUkVFID0gd2luZG93LlRIUkVFIHx8IHdpbmRvdy5Qb3RyZWUuVEhSRUU7XG4gICAgICAgICAgICBpZiAoVEhSRUUpIHtcbiAgICAgICAgICAgICAgY29uc3QgZ2VvbWV0cnkgPSBuZXcgVEhSRUUuQnVmZmVyR2VvbWV0cnkoKTtcbiAgICAgICAgICAgICAgY29uc3QgcG9zaXRpb25zOiBudW1iZXJbXSA9IFtdO1xuICAgICAgICAgICAgICBjb25zdCBjb2xvcnM6IG51bWJlcltdID0gW107XG4gICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAvLyDQodC+0LfQtNCw0LXQvCAxMDAwINGB0LvRg9GH0LDQudC90YvRhSDRgtC+0YfQtdC6XG4gICAgICAgICAgICAgIGZvciAobGV0IGkgPSAwOyBpIDwgMTAwMDsgaSsrKSB7XG4gICAgICAgICAgICAgICAgcG9zaXRpb25zLnB1c2goXG4gICAgICAgICAgICAgICAgICAoTWF0aC5yYW5kb20oKSAtIDAuNSkgKiAxMDAsXG4gICAgICAgICAgICAgICAgICAoTWF0aC5yYW5kb20oKSAtIDAuNSkgKiAxMDAsXG4gICAgICAgICAgICAgICAgICAoTWF0aC5yYW5kb20oKSAtIDAuNSkgKiAxMDBcbiAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgIGNvbG9ycy5wdXNoKE1hdGgucmFuZG9tKCksIE1hdGgucmFuZG9tKCksIE1hdGgucmFuZG9tKCkpO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIFxuICAgICAgICAgICAgICBnZW9tZXRyeS5zZXRBdHRyaWJ1dGUoJ3Bvc2l0aW9uJywgbmV3IFRIUkVFLkZsb2F0MzJCdWZmZXJBdHRyaWJ1dGUocG9zaXRpb25zLCAzKSk7XG4gICAgICAgICAgICAgIGdlb21ldHJ5LnNldEF0dHJpYnV0ZSgnY29sb3InLCBuZXcgVEhSRUUuRmxvYXQzMkJ1ZmZlckF0dHJpYnV0ZShjb2xvcnMsIDMpKTtcbiAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgIGNvbnN0IG1hdGVyaWFsID0gbmV3IFRIUkVFLlBvaW50c01hdGVyaWFsKHsgXG4gICAgICAgICAgICAgICAgc2l6ZTogMiwgXG4gICAgICAgICAgICAgICAgdmVydGV4Q29sb3JzOiB0cnVlIFxuICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgIGNvbnN0IHBvaW50cyA9IG5ldyBUSFJFRS5Qb2ludHMoZ2VvbWV0cnksIG1hdGVyaWFsKTtcbiAgICAgICAgICAgICAgd2luZG93LnZpZXdlci5zY2VuZS5zY2VuZS5hZGQocG9pbnRzKTtcbiAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgIGNvbnNvbGUubG9nKCdUZXN0IHBvaW50IGNsb3VkIGNyZWF0ZWQgd2l0aCAxMDAwIHBvaW50cycpO1xuICAgICAgICAgICAgICBwb2ludENsb3VkTG9hZGVkID0gdHJ1ZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgICAgICAgIGNvbnNvbGUud2FybignQ291bGQgbm90IGNyZWF0ZSB0ZXN0IHBvaW50IGNsb3VkOicsIGVycik7XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIFxuICAgICAgICBzZXRJc0xvYWRpbmcoZmFsc2UpO1xuICAgICAgICBjb25zb2xlLmxvZygnUG90cmVlIGluaXRpYWxpemF0aW9uIGNvbXBsZXRlJyk7XG4gICAgICAgIFxuICAgICAgICAvLyDQn9GA0LjQvNC10L3Rj9C10Lwg0YHRgtC40LvQuCDQuiDRgdC70L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n0gLz5cblxuICAgICAgey8qINCd0LDQstC40LPQsNGG0LjQvtC90L3QsNGPINC/0LDQvdC10LvRjCAqL31cbiAgICAgIDxOYXZpZ2F0aW9uUGFuZWwgdmlld2VyPXt2aWV3ZXJ9IC8+XG5cbiAgICAgIHsvKiDQmtC+0L3RgtC10LnQvdC10YAgUG90cmVlICovfVxuICAgICAgPGRpdiBjbGFzc05hbWU9XCJwb3RyZWVfY29udGFpbmVyXCI+XG4gICAgICAgIDxkaXYgXG4gICAgICAgICAgaWQ9XCJwb3RyZWVfcmVuZGVyX2FyZWFcIiBcbiAgICAgICAgICByZWY9e3JlbmRlckFyZWFSZWZ9XG4gICAgICAgIC8+XG4gICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFBvdHJlZVZpZXdlcjsgXG5cbiJdLCJmaWxlIjoiL2hvbWUvc2NpZW5jZS9wb3RyZWVfYnVpbGRfY2xvbmUvc3JjL3BhZ2VzL1BvdHJlZVZpZXdlci50c3gifQ== \ No newline at end of file diff --git a/Quartz/cycleupdater.cpp b/Quartz/cycleupdater.cpp new file mode 100644 index 0000000..2d5df1c --- /dev/null +++ b/Quartz/cycleupdater.cpp @@ -0,0 +1,36 @@ +#include "cycleupdater.h" +#include "settingsrepository.h" +#include + +void CycleUpdater::start() { + while (m_isRunning && m_isRunning->load()) { + QString newPath = SettingsRepository::instance().defaultProjectDirectory(); + + if (newPath != m_oldPath) { + m_oldPath = newPath; + + QString tomPath; + if (QDir::isAbsolutePath(m_oldPath)) { + tomPath = getRootVolumeFromString(m_oldPath); + } else { + tomPath = getRootVolumeFromString(QDir::currentPath()); + } + + if (!tomPath.isEmpty()) { + m_storage.setPath(tomPath); + if (m_storage.isValid() && m_storage.isReady()) { + quint64 total = m_storage.bytesTotal(); + quint64 available = m_storage.bytesAvailable(); + + emit updateStorageInfo(static_cast(available), static_cast(total)); + } else { + emit incorrectPath(); + } + } else { + emit incorrectPath(); + } + } + + std::this_thread::sleep_for(std::chrono::milliseconds(1000)); // безопаснее, чем std::this_thread::sleep_for в Qt + } +} diff --git a/Quartz/cycleupdater.h b/Quartz/cycleupdater.h new file mode 100644 index 0000000..ed76f5d --- /dev/null +++ b/Quartz/cycleupdater.h @@ -0,0 +1,51 @@ +#ifndef CYCLEUPDATER_H +#define CYCLEUPDATER_H + +#include +#include + +class CycleUpdater : public QObject { + Q_OBJECT + +public: + explicit CycleUpdater(std::atomic *isRunning, QObject *parent = nullptr) + : QObject(parent), m_isRunning(isRunning) {} + + void start(); + + static QString getRootVolumeFromString(const QString &path) { + // Проверяем, начинается ли путь с "X:\" или "X:/" + if (path.length() >= 3 && + path[1] == ':' && + (path[2] == '\\' || path[2] == '/')) { + return path.left(3).replace('\\', '/'); // Возвращаем "X:/" + } + + // UNC пути (сетевые): \\server\share\... + if (path.startsWith("\\\\") || path.startsWith("//")) { + int thirdSlash = path.indexOf('/', 2); + if (thirdSlash != -1) { + int fourthSlash = path.indexOf('/', thirdSlash + 1); + if (fourthSlash != -1) { + return path.mid(0, fourthSlash); // Например, "\\server\share" + } + return path.mid(0, thirdSlash); // Например, "\\server" + } + return path; // Вернуть как есть, если только начало UNC + } + + return QString(); // Не удалось извлечь диск + } + +signals: + void updateStorageInfo(double available, double total); + void incorrectPath(); + +private: + QString m_oldPath; + QStorageInfo m_storage; + std::atomic *m_isRunning = nullptr; +}; + + +#endif // CYCLEUPDATER_H diff --git a/Quartz/figmaadapter.cpp b/Quartz/figmaadapter.cpp index 8b5e244..1486ba1 100644 --- a/Quartz/figmaadapter.cpp +++ b/Quartz/figmaadapter.cpp @@ -18,358 +18,18 @@ #include "thread" #include "singalizer.h" #include "projectpageactivity.h" + #include -const char * HOME_ITEM = "HomeItem"; -const char * PROJECT_ITEM = "ProjectsItem"; -const char * SETTINGS_ITEM = "SettingsItem"; -const char * CLOSE_ITEM = "CloseItem"; - -FigmaAdapter::FigmaAdapter(void * figmaQtInstance, QQmlApplicationEngine &engine, QObject *parent) - : QObject{parent} , engine(engine) -{ - figmaAdapter = figmaQtInstance; - // connect(getFigmaAdapter(), &FigmaQmlSingleton::eventReceived, this, &FigmaAdapter::eventReceived); - // connect(getFigmaAdapter(), &FigmaQmlSingleton::viewLoaded, this, &FigmaAdapter::viewLoaded); - loader = new DynamicLoader(&engine,this); - connect(loader,&DynamicLoader::componentCreated, this, &FigmaAdapter::componentCreated); - connect(loader,&DynamicLoader::errorOccurred, this, &FigmaAdapter::errorOccurred); - saveSettingClickCallback = [this]{saveSettingClick();}; -} - -FigmaAdapter::~FigmaAdapter() -{ - if(isFigmaAdapterLyfe){ - *isFigmaAdapterLyfe = false; - } -} - -void FigmaAdapter::Init() -{ - auto list = engine.rootObjects(); - if (list.empty()) { - return; - } - QObject *rootObject = engine.rootObjects().first(); - - updateElement(rootObject, HOME_ITEM, [this](QObject* rootObject, std::function onClickAction){ - QuickHelper::addMouseAreaElements(rootObject, - [this]{ homeItemClick();}, - [this,rootObject]{headerEntered((QQuickItem*)rootObject);}, - [this,rootObject]{headerExited((QQuickItem*)rootObject);} - ); - },0); - - updateElement(rootObject, PROJECT_ITEM, [this](QObject* rootObject, std::function onClickAction){ - QuickHelper::addMouseAreaElements(rootObject, - [this]{ projectsItemClick();}, - [this,rootObject]{headerEntered((QQuickItem*)rootObject);}, - [this,rootObject]{headerExited((QQuickItem*)rootObject);} - ); - },0); - updateElement(rootObject, SETTINGS_ITEM, [this](QObject* rootObject, std::function onClickAction){ - QuickHelper::addMouseAreaElements(rootObject, - [this]{ settingsItemClick();}, - [this,rootObject]{headerEntered((QQuickItem*)rootObject);}, - [this,rootObject]{headerExited((QQuickItem*)rootObject);} - ); - },0); - - updateElement(rootObject, CLOSE_ITEM, [this](QObject* rootObject, std::function onClickAction){ - QuickHelper::addMouseAreaElements(rootObject, - [this]{ closeItemClick();}, - [this,rootObject]{headerEntered((QQuickItem*)rootObject);}, - [this,rootObject]{headerExited((QQuickItem*)rootObject, QML::CORLOR_MENU_ITEM_BASE_EXIT);} - ); - },0); - - labelAvailibleSizeButton = QuickHelper::getQuickItem(rootObject, LABEL_AVAILIBLE_SIZE); - rectAvailibleSize = QuickHelper::getQuickItem(rootObject, RECT_AVAILIBLE_SIZE_BAR); - rectPassedBar = QuickHelper::getQuickItem(rootObject, RECT_AVAILIBLE_PASSED_BAR); - componentLabelAvailibleSize = QuickHelper::getQuickItem(rootObject, COMPONENT_LABEL_AVAILIBLE_SIZE); - homeItemClick(); - - if (rectAvailibleSize && rectPassedBar){ - progressBarController = QuickHelper::addProgressBar(rectAvailibleSize,rectAvailibleSize,rectPassedBar); - } - - isFigmaAdapterLyfe = new bool(true); - std::thread th([this] { - bool *check = isFigmaAdapterLyfe; - while (*check) { - updateStorageInfo(); - std::this_thread::sleep_for(std::chrono::milliseconds(1000)); - } - delete check; - }); - - th.detach(); - - if (componentLabelAvailibleSize) { - QObject *addedComponent = 0; - QuickHelper::addMouseAreaElements(componentLabelAvailibleSize->parent(), - [this]{if(clickableStorageInfo->isEnabled())settingsItemClick();}, - [this]{if(clickableStorageInfo->isEnabled())headerEntered((QQuickItem*)componentLabelAvailibleSize->parent());}, - [this]{if(clickableStorageInfo->isEnabled())headerExited((QQuickItem*)componentLabelAvailibleSize->parent());}, &addedComponent - ); - - if (addedComponent) { - clickableStorageInfo = qobject_cast(addedComponent); - } - } - - if (labelAvailibleSizeButton) { - QuickHelper::setPorpetryEnumerator( - labelAvailibleSizeButton,"FontSizeMode", "fontSizeMode", "HorizontalFit" - ); - } -} - -void FigmaAdapter::updateElement(QObject *rootObject, const QString &elementName, - std::function)> updateItemFunction, - std::function onClick) -{ - QuickHelper::updateElement(rootObject,elementName,updateItemFunction, onClick); -} - -void FigmaAdapter::homeItemClick() -{ - qDebug()<< "homeItemClick"; - loadPage(QML::Pages::MAIN,[this]{homeItemLoaded();}); -} - -void FigmaAdapter::homeItemLoaded() -{ - QObject *rootObject = engine.rootObjects().first(); - QQuickItem * mainViewItem = QuickHelper::getQuickItem(rootObject, "MainView"); - - if(!mainViewItem) return; - // QObjectList listChildren = mainViewItem->children(); - - QQuickItem * mainPage; - mainPage = QuickHelper::getQuickItem(mainViewItem, "MainPage"); - - MainPageActivity * mainPageActivity = 0; - - if (rootObject && mainViewItem) { - mainPageActivity = new MainPageActivity(mainViewItem,mainPage); - activity = mainPageActivity; - } - - MainPagePresentor *presentor = new MainPagePresentor(mainPageActivity, mainPage); - engine.rootContext()->setContextProperty("mainViewPresentor", presentor); -} - -#include "projectpageppesentor.h" - -void FigmaAdapter::projectsItemClick() -{ - qDebug()<< "projectsItemClick"; - loadPage(QML::Pages::PROJECT,[this]{projectsItemLoaded();}); -} - -void FigmaAdapter::projectsItemLoaded() -{ - QObject *rootObject = engine.rootObjects().first(); - QQuickItem * mainViewItem = QuickHelper::getQuickItem(rootObject, "MainView"); - - if (!mainViewItem) return; - - QQuickItem * projectPage; - projectPage = QuickHelper::getQuickItem(mainViewItem, "ProjectPage"); - - ProjectPageActivity * projectPageActivity = 0; - - if (rootObject && mainViewItem) { - projectPageActivity = new ProjectPageActivity(mainViewItem, projectPage); - activity = projectPageActivity; - } - - ProjectPagePesentor * presentor = new ProjectPagePesentor(projectPageActivity, projectPage); -} - -void FigmaAdapter::settingsItemClick() -{ - qDebug()<< "settingsItemClick"; - loadPage(QML::Pages::SETTINGS, [this]{settingsItemLoaded();}); -} - -void FigmaAdapter::settingsItemLoaded() { - QObject *rootObject = engine.rootObjects().first(); - QQuickItem * mainViewItem = QuickHelper::getQuickItem(rootObject, "MainView"); - - if(!mainViewItem) return; - - QQuickItem * settingsPage; - settingsPage = QuickHelper::getQuickItem(mainViewItem, "SettingsPage"); - - SettingsPageActivity * settingsPageActivity = 0; - - if (rootObject && mainViewItem) { - settingsPageActivity = new SettingsPageActivity(mainViewItem,saveSettingClickCallback, settingsPage); - activity = settingsPageActivity; - } -} - -void FigmaAdapter::closeItemClick() -{ - qDebug()<< "closeItemClick"; - exit(0); -} - -void FigmaAdapter::loadPage(const QString& pageName, std::function onPageLoaded) { - QObject *rootObject = engine.rootObjects().first(); - - QString page = pageName;//DEFAULT_PAGE_PATH + - - auto updateFunc = [this, page, onPageLoaded](QObject* rootObject, std::function ) { - doActionOnSuccessAllowChangePaged = [this, rootObject,page, onPageLoaded]{ - QQuickItem* parentItem = qobject_cast(rootObject); - - Helper::clearChildren(parentItem); - - if (!parentItem) { - qWarning() << "[C++] Root object is not a QQuickItem"; - return; - } - - QQmlEngine* engine = qmlEngine(rootObject); - - if (!engine) { - qWarning() << "[C++] Failed to get QQmlEngine"; - return; - } - - QQuickItem *createdComponent = 0; - loader->createComponent(page , parentItem, &createdComponent); - - if (createdComponent) { - if (activity) { - activity->pageChanged(); - activity = 0; - } - onPageLoaded(); - } - }; - - doActionOnBlockAllowChangePaged = []{}; - - if (activity) { - activity->isAllowChangePage(doActionOnSuccessAllowChangePaged,doActionOnBlockAllowChangePaged); - } else { - doActionOnSuccessAllowChangePaged(); - } - }; - - updateElement(rootObject,"MainView", updateFunc, 0); -} - -quint64 getFreeDiskSpace(const QString &path, qint64*totalBytes = 0) -{ - QStorageInfo storage(path); - - if (!storage.isValid() || !storage.isReady()) { - qWarning() << "Неверный путь или диск не готов:" << path; - return 0; - } - - if (storage.isReadOnly()) { - qWarning() << "Диск доступен только для чтения:" << path; - return 0; - } - - if (totalBytes) { - *totalBytes = storage.bytesTotal(); - } - - return storage.bytesAvailable(); -} - -void FigmaAdapter::hideStorageInfo() { - if (clickableStorageInfo) { - clickableStorageInfo->setEnabled(true); - } - - if (componentLabelAvailibleSize) { - componentLabelAvailibleSize->setVisible(false); - } - - if (rectAvailibleSize) { - rectAvailibleSize->setVisible(false); - } - - if (rectPassedBar){ - rectPassedBar->setVisible(false); - } - - if (labelAvailibleSizeButton) { - labelAvailibleSizeButton->setProperty("text", "Хранилище не задано"); - } - - return; -} - -void FigmaAdapter::showStorageInfo(const QString &path) { - if (clickableStorageInfo) { - clickableStorageInfo->setEnabled(false); - } - - if (componentLabelAvailibleSize) { - componentLabelAvailibleSize->setVisible(true); - } - - if (rectAvailibleSize){ - rectAvailibleSize->setVisible(true); - } - - if (rectPassedBar) { - rectPassedBar->setVisible(true); - } - - qint64 totalBytes = 0; - quint64 freeBytes = getFreeDiskSpace(path, &totalBytes); - - if (freeBytes < SettingsRepository::instance().memoryLimitMinBytes()) { - emit Signalizer::get().reachedLimitAvailibleMemortSize(); - } - - QString numberFormat = QString::number(freeBytes / (1024.0 * 1024.0 * 1024.0), 'f', 2); - - if (labelAvailibleSizeButton) { - labelAvailibleSizeButton->setProperty("text", numberFormat + " Гб"); - } - - if (progressBarController) { - double percent = 1.0 *freeBytes / totalBytes; - percent = 1 - percent; - percent*=100; - QMetaObject::invokeMethod(progressBarController, "setPercent", - Q_ARG(QVariant,percent )); - } - - return; -} - -void FigmaAdapter::updateStorageInfo() -{ - QString path = SettingsRepository::instance().defaultProjectDirectory(); - - if (path == "") { - hideStorageInfo(); - return; - } - - showStorageInfo(path); - -} - #include "httpproxyserver.h" +#include "headeractivity.h" +#include "QQuickWindow" -void FigmaAdapter::saveSettingClick() +void saveSettingClick(IPageActivity *activity) { qDebug() << "FigmaAdapter::saveSettingClick"; SettingsPageActivity* activitySettings = (SettingsPageActivity*)(activity); - + // update projectdir { QFileInfo url(activitySettings->textProjectPath); @@ -405,48 +65,173 @@ void FigmaAdapter::saveSettingClick() } } -void FigmaAdapter::eventReceived(const QString &element, const QString &event) +FigmaAdapter::FigmaAdapter(void * figmaQtInstance, QQmlApplicationEngine &engine, QObject *parent) + : QObject{parent} , engine(engine) { - qDebug() << "event: "<< event << " element: " << element; + saveSettingClickCallback = [this]{saveSettingClick(activity);}; } -void FigmaAdapter::componentCreated(QQuickItem *item) +FigmaAdapter::~FigmaAdapter() { - -} - -void FigmaAdapter::errorOccurred(const QString &message) -{ - qDebug()<< message; -} - - -void FigmaAdapter::headerEntered(QQuickItem *item) -{ - if (item->isEnabled()) { - item->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED); + if (isFigmaAdapterLyfe) { + *isFigmaAdapterLyfe = false; } } -void FigmaAdapter::headerExited(QQuickItem *item, const QColor & color) +void FigmaAdapter::Init() { - if (item->isEnabled()) { - item->setProperty("color", color); + auto list = engine.rootObjects(); + if (list.empty()) { + return; } + rootObject = engine.rootObjects().first(); + + isFigmaAdapterLyfe = new bool(true); + doActionOnBlockAllowChangePaged = []{}; + + if(isAllElementsFound() == false) return; + + QQuickItem * headerItem = addContentToItem(сontentHeader,FIGMA_ComponentTitle); + if (headerItem) { + HeaderActivity * activity = new HeaderActivity(headerItem,headerItem); + connect(activity, &HeaderActivity::newProjectItemClick,this, &FigmaAdapter::newProjectItemClicked); + connect(activity,&HeaderActivity::projectItemClick,this,&FigmaAdapter::projectItemClicked); + connect(activity,&HeaderActivity::homeClick,this,&FigmaAdapter::homeClicked); + connect(activity,&HeaderActivity::closeWindowClick, this,&FigmaAdapter::closeWindowClicked); + connect(activity,&HeaderActivity::hideWindowClick, this,&FigmaAdapter::hideWindowClicked); + } + + showHomePage(); } -void FigmaAdapter::Helper::clearChildren(QQuickItem *parentItem) +bool FigmaAdapter::isAllElementsFound() { - const auto children = parentItem->children(); + bool retCode = true; + сontentHeader = QuickHelper::getQuickItem(rootObject, CONTENT_HEADER); + if (!сontentHeader) { + qWarning() << "Failed to get fieldContentHeader:" << CONTENT_HEADER; + retCode = false; + } - if (children.size()) { + сontentMain = QuickHelper::getQuickItem(rootObject, CONTENT_MAIN); + if (!сontentMain) { + qWarning() << "Failed to get fieldContentMain:" << CONTENT_MAIN; + retCode = false; + } - for (QObject* child : children) { - if (QQuickItem* item = qobject_cast(child)) { - item->setParentItem(nullptr); - item->setParent(nullptr); - item->deleteLater(); - } + return retCode; +} + +QQuickItem * FigmaAdapter::addContentToItem(QQuickItem *parentItem, QString name) +{ + QString componentName = name.left(name.size()-4); + QString textCompnent = R"( +import FigmaQmlInterface +)"; + + textCompnent += componentName; + textCompnent += R"( + { + id: customComponent +} +)"; + QVariantList listItems; + QObject *createdComponent = 0; + QQuickItem *createdComponentItem = 0; + QuickHelper::addComponent(parentItem, listItems,textCompnent, &createdComponent); + + if (createdComponent) { + + createdComponentItem = qobject_cast(createdComponent); + + if (createdComponentItem && activity) { + activity->pageChanged(); + activity = 0; } } + + return createdComponentItem; } + +void FigmaAdapter::loadPage(const QString& pageName, std::function onPageLoaded) { + QObject *rootObject = сontentMain; //engine.rootObjects().first(); + + QString page = pageName; + + auto updateFunc = [this, page, onPageLoaded](QObject* rootObject) { + doActionOnSuccessAllowChangePaged = [this, rootObject,page, onPageLoaded]{ + QQuickItem* parentItem = qobject_cast(rootObject); + + QuickHelper::clearChildren(parentItem); + + if (!parentItem) { + qWarning() << "[C++] Root object is not a QQuickItem"; + return; + } + + addContentToItem(parentItem,page); + + if (onPageLoaded != nullptr) onPageLoaded(); + }; + + if (activity) { + activity->isAllowChangePage(doActionOnSuccessAllowChangePaged,doActionOnBlockAllowChangePaged); + } else { + doActionOnSuccessAllowChangePaged(); + } + }; + + updateFunc(rootObject); + + // HeaderActivity +} +void FigmaAdapter::showHomePage() +{ + loadPage(FIGMA_HomePage,[this] {showHomePageLoaded();}); +} + +void FigmaAdapter::showHomePageLoaded() +{ + + // QQuickItem * mainPage; + // mainPage = QuickHelper::getQuickItem(mainViewItem, "MainPage"); + + // MainPageActivity * mainPageActivity = 0; + + // if (rootObject && mainViewItem) { + // mainPageActivity = new MainPageActivity(mainViewItem,mainPage); + // activity = mainPageActivity; + // } + + // MainPagePresentor *presentor = new MainPagePresentor(mainPageActivity, mainPage); + // engine.rootContext()->setContextProperty("mainViewPresentor", presentor); +} + +void FigmaAdapter::closeWindowClicked() +{ + exit(0); +} + +void FigmaAdapter::hideWindowClicked() +{ + сontentHeader->window()->showMinimized(); +} + +void FigmaAdapter::newProjectItemClicked() +{ + +} + +void FigmaAdapter::projectItemClicked() +{ + +} + +void FigmaAdapter::homeClicked() +{ + +}; + + + + diff --git a/Quartz/figmaadapter.h b/Quartz/figmaadapter.h index cca6afc..31903d9 100644 --- a/Quartz/figmaadapter.h +++ b/Quartz/figmaadapter.h @@ -15,13 +15,12 @@ class FigmaAdapter : public QObject Q_OBJECT bool *isFigmaAdapterLyfe = 0; - DynamicLoader* loader = 0; -private: - void * figmaAdapter; - QQmlApplicationEngine &engine; - std::function saveSettingClickCallback; std::function doActionOnSuccessAllowChangePaged; std::function doActionOnBlockAllowChangePaged; + std::function saveSettingClickCallback; + +private: + QQmlApplicationEngine &engine; public: explicit FigmaAdapter(void * figmaQtInstance, QQmlApplicationEngine &engine, QObject *parent = nullptr); @@ -29,66 +28,30 @@ public: void Init(); private: - static void updateElement ( - QObject *rootObject, - const QString& elementName, - std::function)> updateItemFunction, - std::function onClick - ); - - // handler clicks - void homeItemClick(); - void homeItemLoaded(); - void projectsItemClick(); - void projectsItemLoaded(); - void settingsItemClick(); - void settingsItemLoaded(); - void closeItemClick(); + bool isAllElementsFound(); + QQuickItem * addContentToItem(QQuickItem *item, QString name); void loadPage(const QString& pageName,std::function onPageLoaded = nullptr); - void updateStorageInfo(); - - void saveSettingClick(); - class Helper { - public: - static void clearChildren(QQuickItem* parentItem); - }; - - -private: - const QString LABEL_AVAILIBLE_SIZE = "LabelAvailibleSizeButton"; - QQuickItem * labelAvailibleSizeButton = 0; - - const QString RECT_AVAILIBLE_SIZE_BAR = "AvailibleSizeProgressBar"; - QQuickItem * rectAvailibleSize = 0; - - const QString COMPONENT_LABEL_AVAILIBLE_SIZE = "LabelAvailibleSizeComponent"; - QQuickItem * componentLabelAvailibleSize = 0; - - - const QString RECT_AVAILIBLE_PASSED_BAR = "AvailibleSizeProgressBarPassedBar"; - QQuickItem * rectPassedBar = 0; - // const QString DEFAULT_PAGE_PATH = "pages/FigmaQmlInterface/qml/"; - - QQuickItem * progressBarController = 0; - - const QString DEFAULT_PAGE_PATH = FIGMA_QML_BASE_PATH; - // const QString MAIN_PAGE = "TestPage_MainPage2_figma.qml"; - // const QString SETTINS_PAGE = "TestPage_SettingsPage2_figma.qml"; - // const QString PROJECTS_PAGE = "TestPage_ProjectPage2_figma.qml"; - private: IPageActivity *activity = 0; - void headerExited(QQuickItem *item, const QColor &color= QML::CORLOR_MENU_ITEM_BASE); - void hideStorageInfo(); - void showStorageInfo(const QString &path); - QQuickItem * clickableStorageInfo = 0; -public slots: - void eventReceived(const QString& element, const QString& event); + QObject *rootObject = nullptr; + + + const QString CONTENT_HEADER = "ContentHeader"; + const QString CONTENT_MAIN = "ContentMain"; + + QQuickItem *сontentHeader = 0; + QQuickItem *сontentMain = 0; private slots: - void componentCreated(QQuickItem* item); - void errorOccurred(const QString& message); - void headerEntered(QQuickItem*item); + void showHomePage(); + void showHomePageLoaded(); + + void closeWindowClicked(); + void hideWindowClicked(); + void newProjectItemClicked(); + void projectItemClicked(); + void homeClicked(); + }; diff --git a/Quartz/headeractivity.cpp b/Quartz/headeractivity.cpp new file mode 100644 index 0000000..4fa86c8 --- /dev/null +++ b/Quartz/headeractivity.cpp @@ -0,0 +1,236 @@ +#include "headeractivity.h" +#include "quickhelper.h" +#include "qdebug.h" +#include +#include "FigmaStyles.h" +#include "callbackwrapper.h" +#include "ArrDifferentTypes.h" +#include + +HeaderActivity::HeaderActivity(QQuickItem * item, QObject *parent) + : QObject{parent}, root(item) +{ + if (!item) { + return; + } + + init(); +} + +void HeaderActivity::pageChanged() +{ + +} + +void HeaderActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) +{ + continueChange(); +} + +void HeaderActivity::init() +{ + QString name = root->objectName(); + if (!isAlllElementFound()) return; + + addMouseAreaToElementsToNavigation(); +} + +void HeaderActivity::addMouseAreaToElementsToNavigation(){ + + QuickHelper::addMouseAreaElements(fieldHideWindow, + [this] { + emit hideWindowClick(); + }, + [this]{ + if (fieldHideWindow->isEnabled()) { + fieldHideWindow->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED); + } + }, + [this]{ + if (fieldHideWindow->isEnabled()) { + fieldHideWindow->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header); + } + }); + + QuickHelper::addMouseAreaElements(fieldCreateProject, + [this] { + emit newProjectItemClick(); + }, + [this]{ + if (fieldCreateProject->isEnabled()) { + fieldCreateProject->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED); + } + }, + [this]{ + if (fieldCreateProject->isEnabled()) { + fieldCreateProject->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header); + } + }); + + QuickHelper::addMouseAreaElements(fieldProjects, + [this] { + emit projectItemClick(); + }, + [this]{ + if (fieldProjects->isEnabled()) { + fieldProjects->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED); + } + }, + [this]{ + if (fieldProjects->isEnabled()) { + fieldProjects->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header); + } + }); + + QuickHelper::addMouseAreaElements(fieldHome, + [this] { + emit homeClick(); + }, + [this]{ + if (fieldHome->isEnabled()) { + fieldHome->setProperty("color", QML::CORLOR_MENU_ITEM_SELECTED); + } + }, + [this]{ + if (fieldHome->isEnabled()) { + fieldHome->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header); + } + }); + + QuickHelper::addMouseAreaElements(fieldCloseWindow, + [this] { + emit closeWindowClick(); + }, + [this] { + if (fieldCloseWindow->isEnabled()) { + fieldCloseWindow->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_EXIT); + } + }, + [this] { + if (fieldCloseWindow->isEnabled()) { + fieldCloseWindow->setProperty("color", QML::CORLOR_MENU_ITEM_BASE_Header); + } + }); + + QString addComponent = QString::fromLocal8Bit(R"( +import QtQuick +import QtQuick.Controls + +MouseArea { + id: root + anchors.fill: parent + acceptedButtons: Qt.LeftButton | Qt.RightButton + + property point clickPos: "0,0" + + onPressed: function(mouse) { + if (mouse.button === Qt.LeftButton) { + clickPos = Qt.point(mouse.x, mouse.y) + } else if (mouse.button === Qt.RightButton) { + contextMenu.popup() + } + } + + onPositionChanged: function(mouse) { + if (pressedButtons & Qt.LeftButton) { + + var delta = Qt.point(mouse.x - clickPos.x, mouse.y - clickPos.y) + quickUpdaterData.arrDifferentTypes[0] = delta + quickUpdaterData.arrDifferentTypes[1].invoke() + } + } + + Menu { + id: contextMenu + + MenuItem { + text: "Скрыть" + onTriggered: { + quickUpdaterData.arrDifferentTypes[2].invoke() + } + } + + MenuItem { + text: "Закрыть" + onTriggered: { + quickUpdaterData.arrDifferentTypes[3].invoke() + } + } + } +} +)"); + + QVariantList list; + list.append(QVariant::fromValue(QPoint())); + auto wrapperMove = new CallbackWrapper([this] {handleWrapperMove();}); + auto wrapperHide = new CallbackWrapper([this] {handleWrapperHide();}); + auto wrapperClose = new CallbackWrapper([this] {handleWrapperClose();}); + + list.append(QVariant::fromValue(wrapperMove)); + list.append(QVariant::fromValue(wrapperHide)); + + QObject *customTitleMouseArea = 0; + headerArrDifferentTypes = 0; + QuickHelper::addComponent(fieldLabelTitle, list, addComponent, &customTitleMouseArea, &headerArrDifferentTypes); +} + +void HeaderActivity::handleWrapperMove() +{ + auto listVariant = headerArrDifferentTypes->getArrDifferentTypes(); + QPoint offset = listVariant[0].toPoint(); + auto window = root->window(); + auto windowPos = window->position(); + window->setPosition(windowPos + offset); +} + +void HeaderActivity::handleWrapperHide() +{ + emit hideWindowClick(); +} + +void HeaderActivity::handleWrapperClose() +{ + emit closeWindowClick(); +} + +bool HeaderActivity::isAlllElementFound() +{ + bool retCode = true; + fieldHideWindow = QuickHelper::getQuickItem(root, FIELD_HIDE_WINDOW); + if (!fieldHideWindow) { + qWarning() << "Failed to get fieldHideWindow:" << FIELD_HIDE_WINDOW; + retCode = false; + } + + fieldCloseWindow = QuickHelper::getQuickItem(root, FIELD_CLOSE_WINDOW); + if (!fieldCloseWindow) { + qWarning() << "Failed to get fieldCloseWindow:" << FIELD_CLOSE_WINDOW; + retCode = false; + } + + fieldCreateProject = QuickHelper::getQuickItem(root, FIELD_CREATE_PROJECT); + if (!fieldCreateProject) { + qWarning() << "Failed to get fieldCreateProject:" << FIELD_CREATE_PROJECT; + retCode = false; + } + + fieldProjects = QuickHelper::getQuickItem(root, FIELD_PROJECTS); + if (!fieldProjects) { + qWarning() << "Failed to get fieldProjects:" << FIELD_PROJECTS; + retCode = false; + } + + fieldHome = QuickHelper::getQuickItem(root, FIELD_HOME); + if (!fieldHome) { + qWarning() << "Failed to get fieldHome:" << FIELD_HOME; + retCode = false; + } + + fieldLabelTitle = QuickHelper::getQuickItem(root, FIELD_LABEL_TITLE); + if (!fieldLabelTitle) { + qWarning() << "Failed to get fieldLabelTitle:" << FIELD_LABEL_TITLE; + retCode = false; + } + + return retCode; +} diff --git a/Quartz/headeractivity.h b/Quartz/headeractivity.h new file mode 100644 index 0000000..1d6a817 --- /dev/null +++ b/Quartz/headeractivity.h @@ -0,0 +1,57 @@ +#ifndef HEADERACTIVITY_H +#define HEADERACTIVITY_H + +#include +#include "interfaces/IPageActivity.h" + +class QQuickItem; +class DynamicLoader; +class QQmlEngine; +class ArrDifferentTypes; + +class HeaderActivity : public QObject, public IPageActivity +{ + Q_OBJECT +public: + explicit HeaderActivity(QQuickItem * item, QObject *parent = nullptr); + + void pageChanged() override final; + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + +signals: + void closeWindowClick(); + void hideWindowClick(); + void newProjectItemClick(); + void projectItemClick(); + void homeClick(); + +private: + QQuickItem * root; + + const QString FIELD_HIDE_WINDOW = "HideWindow"; + const QString FIELD_CLOSE_WINDOW = "CloseWindow"; + const QString FIELD_CREATE_PROJECT = "CreateProjectItemMenu"; + const QString FIELD_PROJECTS = "ProjectsItemMenu"; + const QString FIELD_HOME = "HomeItemMenu"; + const QString FIELD_LABEL_TITLE = "LabelTitle"; + + QQuickItem *fieldHideWindow = 0; + QQuickItem *fieldCloseWindow = 0; + QQuickItem *fieldCreateProject = 0; + QQuickItem *fieldProjects = 0; + QQuickItem *fieldHome = 0; + QQuickItem *fieldLabelTitle = 0; + + ArrDifferentTypes * headerArrDifferentTypes = 0; + + void init(); + bool isAlllElementFound(); + void addMouseAreaToElementsToNavigation(); + void handleWrapperMove(); + void handleWrapperHide(); + void handleWrapperClose(); + + +}; + +#endif // HEADERACTIVITY_H diff --git a/Quartz/httpproxyserver.cpp b/Quartz/httpproxyserver.cpp index 373d16b..0d3d046 100644 --- a/Quartz/httpproxyserver.cpp +++ b/Quartz/httpproxyserver.cpp @@ -7,6 +7,7 @@ #include #include #include "settingsrepository.h" +#include "QCoreApplication" HttpProxyServer* HttpProxyServer::Instance = 0; // extern const char* PotreeViewer; @@ -108,14 +109,13 @@ int HttpProxyServer::serveFileWithRange(QTcpSocket *socket, const QString &pathA QFileInfo fileInfo(path); + qDebug() << "Try serve file: " << path; if (!fileInfo.exists() || !fileInfo.isFile()) { - //sendError(socket, 404, "File not found"); return 1; } QFile file(path); if (!file.open(QIODevice::ReadOnly)) { - //sendError(socket, 403, "Forbidden"); return 2; } @@ -221,12 +221,17 @@ int HttpProxyServer::serveFile(QTcpSocket *socket, const QString &pathArg) QMimeDatabase mimeDb; QMimeType mimeType; QByteArray content = ""; - if (pathArg == "src/pages/PotreeViewer.tsx?t=1748915927496") { - QString filePath = "D:\\projects\\PotreeViewer.js"; + if (pathArg.startsWith("src/pages/PotreeViewer.tsx?t")) { + + static QDir dir(QCoreApplication::applicationDirPath()); + + QString filePath = dir.absoluteFilePath("QtQuckApp\\PotreeViewer.js"); + QFile file(filePath); if (!file.open(QIODevice::ReadOnly)) { return 2; } + content = file.readAll(); file.close(); mimeType = mimeDb.mimeTypeForFile(filePath);//"application/octet-stream"; @@ -434,5 +439,6 @@ void HttpProxyServer::sendError(QTcpSocket *socket, int code, const QString &mes } #include +#include diff --git a/Quartz/infopageactivity.cpp b/Quartz/infopageactivity.cpp new file mode 100644 index 0000000..d0e5dd7 --- /dev/null +++ b/Quartz/infopageactivity.cpp @@ -0,0 +1,28 @@ +#include "infopageactivity.h" +#include "QDebug" + +InfoPageActivity::InfoPageActivity(QQuickItem * item, QObject *parent) + : QObject{parent}, root(item) +{ + if (!item) { + qWarning() << "[C++] Root object is null"; + return; + } + + init(); +} + +void InfoPageActivity::pageChanged() +{ + +} + +void InfoPageActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) +{ + continueChange(); +} + +void InfoPageActivity::init() +{ + +} diff --git a/Quartz/infopageactivity.h b/Quartz/infopageactivity.h new file mode 100644 index 0000000..e77a16d --- /dev/null +++ b/Quartz/infopageactivity.h @@ -0,0 +1,29 @@ +#ifndef INFOPAGEACTIVITY_H +#define INFOPAGEACTIVITY_H + +#include +#include "interfaces/IPageActivity.h" + +class QQuickItem; +class DynamicLoader; +class QQmlEngine; + + +class InfoPageActivity : public QObject, public IPageActivity +{ + Q_OBJECT +public: + explicit InfoPageActivity(QQuickItem * item, QObject *parent = nullptr); + + void pageChanged() override final; + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + +signals: + +private: + QQuickItem * root; + void init(); +}; + + +#endif // INFOPAGEACTIVITY_H diff --git a/Quartz/main.cpp b/Quartz/main.cpp index 8114583..31fbe7e 100644 --- a/Quartz/main.cpp +++ b/Quartz/main.cpp @@ -9,24 +9,72 @@ #include "QQmlContext" #include "DynamicQmlComponent.h" #include "QQmlImageProviderBase" +#include "settingsrepository.h" +#include QQmlApplicationEngine *engine=0; extern void startHTTPServer(); -int main(int argc, char *argv[]) -{ - // QString filePath = "/home/user/documents/report.txt"; - // QFileInfo fileInfo(filePath); - // QString fileName = fileInfo.fileName(); // Extracts "report.txt" - // qDebug() << "File name:" << fileName; + +#include +#include +#include +#include +#include +#include +#include + +// Потокобезопасный логгер для release-сборки +void messageOutputHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg) +{ + static QDir dir(QCoreApplication::applicationDirPath()); + static QFile logFile(dir.absoluteFilePath("app_release.log")); + static QMutex mutex; + + QMutexLocker locker(&mutex); + + if (!logFile.isOpen()) { + // Открываем файл в режиме дозаписи + logFile.open(QIODevice::Append | QIODevice::Text); + } + + QTextStream out(&logFile); + QString timestamp = QDateTime::currentDateTime().toString("yyyy-MM-dd HH:mm:ss.zzz"); + + QString logLevel; + switch (type) { + case QtDebugMsg: + logLevel = "DEBUG"; + break; + case QtWarningMsg: + logLevel = "WARNING"; + break; + case QtCriticalMsg: + logLevel = "CRITICAL"; + break; + case QtFatalMsg: + logLevel = "FATAL"; + break; + } + + out << timestamp << " [" << logLevel << "] " + << msg << "\n"; + + out.flush(); + + if (type == QtFatalMsg) { + abort(); + } +} + +int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); - // app.applicationFilePath() app.setWindowIcon(QIcon(":/ico/Logo.ico")); engine = new QQmlApplicationEngine(); - // QApplication app(argc, argv); + QObject::connect( engine, &QQmlApplicationEngine::objectCreationFailed, @@ -42,10 +90,17 @@ int main(int argc, char *argv[]) for (const auto &path : engine->importPathList()) { qDebug() << " - " << path; } + FigmaQmlSingleton * instance = FigmaQmlSingleton::instance(*engine); FigmaAdapter * figmaAdapter = 0; +#ifndef QT_DEBUG + if (false) { + qInstallMessageHandler(messageOutputHandler); + } +#endif + if (instance) { figmaAdapter = new FigmaAdapter(instance, *engine); } @@ -55,22 +110,43 @@ int main(int argc, char *argv[]) qDebug() << "Before"; - // QByteArray myComponentQml = R"( - // import QtQuick 2.15 - // Rectangle { - // width: 100 - // height: 100 - // color: "red" - // } - // )"; - - // // Создаем компонент - // QQmlComponent component = qmlRegisterType("QtQuckApp", 1, 0, "MyDynamicComponent"); engine->loadFromModule("QtQuckApp", "Main"); + // QObject *rootObject = engine->rootObjects().first(); + + // // Попробуем привести к QQuickItem* + // QQuickItem *item = qobject_cast(rootObject); + // QQuickWindow *window = nullptr; + + // if (item) { + // window = item->window(); + // } else { + // // Возможно, корневой объект — это Window или ApplicationWindow + // window = qobject_cast(rootObject); + // } + + if (figmaAdapter) { + if (SettingsRepository::instance().defaultProjectDirectory() == "") { + QString path = app.applicationDirPath(); + + // Добавляем подпапку "project" + QDir dir(path); + QString projectSubDir = dir.filePath("project"); + + // Пытаемся создать папку, если её нет + if (!dir.exists("project")) { + if (!dir.mkdir("project")) { + qWarning() << "Не удалось создать директорию:" << projectSubDir; + } + else { + SettingsRepository::instance().setDefaultProjectDirectory(projectSubDir); + } + } + } + figmaAdapter->Init(); } diff --git a/Quartz/mainpageactivity.cpp b/Quartz/mainpageactivity.cpp index 4b7d8ab..f179b05 100644 --- a/Quartz/mainpageactivity.cpp +++ b/Quartz/mainpageactivity.cpp @@ -1,22 +1,13 @@ #include "mainpageactivity.h" -#include -#include -#include -#include "QQuickItem" -#include "quickhelper.h" -#include -#include "dynamicloader.h" -#include -#include -#include "FigmaStyles.h" -#include "FigmaQmlNames.h" -#include "ArrDifferentTypes.h" -#include "callbackwrapper.h" -#include "QClipboard" -#include "httpproxyserver.h" -#include "projectpageppesentor.h" -#include "QDesktopServices" -#include "settingsrepository.h" +#include "QDebug" + +const char * HOME_ITEM = "HomeItem"; +const char * PROJECT_ITEM = "ProjectsItem"; +const char * NEW_PROJECT_ITEM = "ProjectsItem"; +const char * ABOUT_ITEM = "ProjectsItem"; +const char * SETTINGS_ITEM = "SettingsItem"; +const char * CLOSE_ITEM = "CloseItem"; +const char * BACK_ITEM = "BackItem"; MainPageActivity::MainPageActivity(QQuickItem * item, QObject *parent) : QObject{parent}, root(item) @@ -26,186 +17,12 @@ MainPageActivity::MainPageActivity(QQuickItem * item, QObject *parent) return; } - engine = qmlEngine(item); - - if (!engine) { - qWarning() << "[C++] Failed to get QQmlEngine"; - return; - } - - loader = new DynamicLoader(engine,this); - connect(loader, &DynamicLoader::errorOccurred, this, &MainPageActivity::errorOccurredDynamycLoaderHandler); - MainPageActivity::init(); -} - -void MainPageActivity::setProjectName(QString name) -{ - projectNameTextField->setProperty("text",name); + init(); } void MainPageActivity::pageChanged() { -} -QString MainPageActivity::getProjectName() const -{ - return projectNameTextField->property("text").toString(); -} - -void freeItem(QQuickItem*& item){ - if (item) { - item->setParentItem(nullptr); - item->setParent(nullptr); - item->deleteLater(); - item->setVisible(false); - - item = 0; - } -} -void MainPageActivity::doActionsOnTranslateFinished() -{ - // setColumnCenterTranslate(); - // setInitialView(); - // freeItem(listFilesItem); - - freeItem(columnCenterItem); - setColumnCenterTranslate(); - blockTranslate(); - labelFileCount->setProperty("text", "Ни один файл не выбран"); - clearScrollableTextList(); -} - -void MainPageActivity::setProgressBarPercent(double value) -{ - if (progressBarController) { - QMetaObject::invokeMethod(progressBarController, "setPercent", - Q_ARG(QVariant, value*100)); - } -} - -bool MainPageActivity::isVariablesSet(){ - bool ret_code = false; // Флаг ошибки - - if (!buttonChooseFiles) { - qWarning() << "Failed to get buttonChooseFiles:" << BUTTON_CHOOSE_FILES; - ret_code = true; - } - - if (!contentMainPageTransform) { - qWarning() << "Failed to get contentMainPageTransform:" << CONTENT_MAIN_PAGE_TRANSFORM; - ret_code = true; - } - - columnLeft = QuickHelper::getQuickItem(root, COLUMN_LEFT); - if (!columnLeft) { - qWarning() << "Failed to get columnLeft:" << COLUMN_LEFT; - ret_code = true; - } - - if (!columnCenter) { - qWarning() << "Failed to get columnCenter:" << COLUMN_CENTER; - ret_code = true; - } - - if (!columnRight) { - qWarning() << "Failed to get columnRight:" << COLUMN_RIGHT; - ret_code = true; - } - - if (!labelFileCount) { - qWarning() << "Failed to get labelFileCount:" << LABEL_FILE_COUNT; - ret_code = true; - } - - // После всех проверок можно использовать ret_code для определения успешности - if (ret_code) { - qCritical() << "One or more QML elements failed to load"; - // Дополнительная обработка ошибки - } - - return !ret_code; -} - -void MainPageActivity::loadElementsFromView() { - buttonChooseFiles = QuickHelper::getQuickItem(root,BUTTON_CHOOSE_FILES); - contentMainPageTransform = QuickHelper::getQuickItem(root,CONTENT_MAIN_PAGE_TRANSFORM); - columnLeft = QuickHelper::getQuickItem(root,COLUMN_LEFT); - columnCenter = QuickHelper::getQuickItem(root,COLUMN_CENTER); - columnRight = QuickHelper::getQuickItem(root,COLUMN_RIGHT); - labelFileCount = QuickHelper::getQuickItem(root,LABEL_FILE_COUNT); -} - -void MainPageActivity::init() { - loadElementsFromView(); - - if (!isVariablesSet()) { - return; - } - - setInitialView(); -} - -void MainPageActivity::setInitialView() { - if (listFilesItem) { - listFilesItem->setParentItem(nullptr); - listFilesItem->setParent(nullptr); - listFilesItem->deleteLater(); - } - listFilesItem = 0; - loader->createComponent(QML_SCROLLABLE_TEXT_LIST, columnLeft, &listFilesItem); - - QuickHelper::addMouseAreaElements(buttonChooseFiles, - [this] {handleChooseFiles();}, - [this]{buttonEntered(buttonChooseFiles);}, - [this]{buttonExited(buttonChooseFiles);}); - - setColumnCenterTranslate(); - setDefaultValues(); - blockTranslate(); - - QString myMessageDialogComponent = R"( -import QtQuckApp - -ShowMessageDialog { - id: showMessageDialog - objectName: "showMessageDialog" - onCopyToClipboard: function(textToCopy) { - quickUpdaterData.arrDifferentTypes[1]=textToCopy - quickUpdaterData.arrDifferentTypes[0].invoke() - } -} - -)"; - - QVariantList list; - QObject* addedComponent = 0; - ArrDifferentTypes *data = 0; - QuickHelper::addComponent(root,list,myMessageDialogComponent,&addedComponent, &data); - - if (addedComponent) { - this->itemShowMessageNoDialog = qobject_cast(addedComponent); - - CallbackWrapper *wrapper = new CallbackWrapper([this,data]{ - QVariantList value = data->getArrDifferentTypes(); - copyToClipBoard(value[1]); - }, addedComponent); - data->addVarToData(QVariant::fromValue(wrapper)); - } -} - -void MainPageActivity::copyToClipBoard(QVariant value){ - QString str = value.toString(); - QClipboard *clipboard = QGuiApplication::clipboard(); - clipboard->setText(str); -} - -void MainPageActivity::clearScrollableTextList() -{ - if (listFilesItem == 0) return; - bool success = QMetaObject::invokeMethod( - listFilesItem, - "clear" - ); } void MainPageActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) @@ -213,372 +30,7 @@ void MainPageActivity::isAllowChangePage(const std::function &continueC continueChange(); } -void MainPageActivity::setDefaultValues() -{ - if (projectNameTextField) { - projectNameTextField->setProperty("text", "Проект"); - } - - if (labelFileCount) { - labelFileCount->setProperty("width", 400); - labelFileCount->setProperty("text", "Ни один файл не выбран"); - labelFileCount->setProperty("wrapMode", "Text.NoWrap"); - labelFileCount->setProperty("elide", "Text.ElideNone"); - labelFileCount->setProperty("clip", false); - } -} - -void MainPageActivity::setColumnCenterTranslate() { - - QuickHelper::clearChildren(columnCenter); - if (columnCenterItem) { - freeItem(columnCenterItem); - progressBarController = 0; - transformButtonCancel = 0; - } - columnCenterItem = 0; - loader->createComponent(QML::Pages::TRANSFORM, columnCenter, &columnCenterItem); - - if (columnCenterItem) { - transformButton = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON); - projectNameTextField = QuickHelper::getQuickItem(columnCenterItem, PROJECT_NAME_TEXT_FILED); - } - - if (transformButton) { - QuickHelper::addMouseAreaElements(transformButton, - [this] {translateClick();}, - [this]{buttonEntered(transformButton);}, - [this]{buttonExited(transformButton);}); - - auto defaultColor = transformButton->property("color").toString(); - QuickHelper::updateColor(transformButton, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE); - } - - if (projectNameTextField) { - QuickHelper::moveTextFiledX(projectNameTextField); - } -} - -void MainPageActivity::setColumnCenterTranslating(){ - QuickHelper::clearChildren(columnCenter); - // QuickHelper::clearChildren(columnCenter); - if (columnCenterItem) { - freeItem(columnCenterItem); - } - - columnCenterItem = 0; - - loader->createComponent(QML::Pages::TRANSLATING, columnCenter, &columnCenterItem); - - if (columnCenterItem) { - transformButtonCancel = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON_CANCEL); - - translateProgressBar = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR); - translateProgressBarFilled = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR_FILLED); - } - - if (transformButtonCancel) { - QuickHelper::addMouseAreaElements(transformButtonCancel, - [this] {cancelTranslateClick();}, - [this]{buttonEntered(transformButtonCancel);}, - [this]{buttonExited(transformButtonCancel);}); - - auto defaultColor = transformButtonCancel->property("color").toString(); - QuickHelper::updateColor(transformButtonCancel, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE); - } - - if (projectNameTextField) { - QuickHelper::moveTextFiledX(projectNameTextField); - } - - progressBarController = QuickHelper::addProgressBar(columnCenterItem,translateProgressBar, translateProgressBarFilled); -} - -void MainPageActivity::removeProjectStatusFragment(){ - if (projectStatusFragment) { - projectStatusFragment->setParent(nullptr); - projectStatusFragment->deleteLater(); - projectStatusFragment = 0; - } -} - -void MainPageActivity::showCustomMessage(const QString &message, const QString & pathSave) -{ - //return; - if (itemShowMessageNoDialog) { - bool success = QMetaObject::invokeMethod( - itemShowMessageNoDialog, - "showMessageDialog", - Q_ARG(QVariant, QVariant::fromValue(message)), - Q_ARG(QVariant, QVariant::fromValue(pathSave)) - ); - } - - -} - -void MainPageActivity::translateClick(){ - qDebug() << "TranslateClick"; - - //showCustomMessage("test"); - - setColumnCenterTranslating(); - - removeProjectStatusFragment(); - projectStatusFragment = new ProjectStatusFragment(columnRight,this); - - emit translate(); -} - -void MainPageActivity::cancelTranslateClick() -{ - emit cancelTranslate(); - setColumnCenterTranslate(); -} - -void MainPageActivity::blockTranslate() -{ - // Подкрашиваем окно перевода - isBlockTranslate = true; - transformButton->setEnabled(false); - transformButton->setProperty("enabled",false); - projectNameTextField->setEnabled(false); -} - -void MainPageActivity::allowTranslate() -{ - // Разрешаем перевод - isBlockTranslate = false; - - if(transformButton == 0) return; - - transformButton->setEnabled(true); - transformButton->setProperty("enabled",true); - projectNameTextField->setEnabled(true); -} - -void MainPageActivity::listFilePathSet(QVariant listFiles) -{ - QStringList list = listFiles.toStringList(); - - if( list.count()) { - QString text = "Выбрано файлов: " + QString::number(listFiles.toStringList().count()); - labelFileCount->setProperty("text", text); - allowTranslate(); - } -} - -void MainPageActivity::errorOccurredDynamycLoaderHandler(const QString &message) -{ - qDebug()<<"Error: " << message; -} - -void MainPageActivity::handleChooseFiles() -{ - if (listFilesItem) { - QMetaObject::invokeMethod(listFilesItem, "openFileDialog"); - // Q_ARG(QVariant, variant)); - } -} - -void MainPageActivity::buttonEntered(QQuickItem * item){ - if (item->isEnabled()) { - item->setProperty("color", QML::CORLOR_BUTTON_FOCUSED); - } -} - -void MainPageActivity::buttonExited(QQuickItem * item){ - if (item->isEnabled()) { - item->setProperty("color", QML::CORLOR_BUTTON_BASE); - } -} - - -ProjectStatusFragment::ProjectStatusFragment(QQuickItem *item, QObject *parent) :QObject(parent) +void MainPageActivity::init() { - if (!item) { - qWarning() << "[C++] Root object is null"; - return; - } - - root = item; - - engine = qmlEngine(item); - - if (!engine) { - qWarning() << "[C++] Failed to get QQmlEngine"; - return; - } - - loader = new DynamicLoader(engine,this); - connect(loader, &DynamicLoader::errorOccurred, this, &ProjectStatusFragment::errorOccurredDynamycLoaderHandler); - init(); -} - -void ProjectStatusFragment::init() -{ - QQuickItem * createdComponent=0; - loader->createComponent(QML::Pages::PROJECT_PASPORT,root,&createdComponent); - - if (createdComponent) { - projectPasport = createdComponent; - } - - if (isAllElementsFound() == false) return; - - QuickHelper::addMouseAreaElements(buttonShowProject, - [this] { - if(onClickShow != nullptr) { - onClickShow(); - } - }, - [this]{ - if (buttonShowProject->isEnabled()) { - buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED); - } - }, - [this]{ - if (buttonShowProject->isEnabled()) { - buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_BASE); - } - }); - - QuickHelper::updateColor(buttonShowProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE); - - QuickHelper::addMouseAreaElements(buttonDeleteProject, - [this] { - if(onClickShow != nullptr) { - onClickShow(); - } - }, - [this] { - if (buttonDeleteProject->isEnabled()) { - buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED); - } - }, - [this] { - if (buttonDeleteProject->isEnabled()) { - buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_BASE_EMPTY); - } - }); - - QuickHelper::updateColor(buttonDeleteProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE_EMPTY); - - auto doNothing = []{}; - auto copyToClipBoard = [this] { - MainPageActivity::copyToClipBoard(labelProjectPath->property("text").toString()); - }; - - QuickHelper::addMouseAreaWithCopy(labelProjectPath, - copyToClipBoard, doNothing, doNothing, 0, 0); - - setInteractionButtonsEnabled(false); - - auto act = this; - // Text.ElideRight - - auto d = [act] { - auto fragment = act; - QString path =fragment->getProjectPath(); - if (path == "") return; - - HttpProxyServer &srv = *HttpProxyServer::Instance; - qint16 port = srv.getLocalProt(); - QString pathUrl = QString("http://127.0.0.1") + ":" + QString::number(port) + "/viewer"; - QString relative = ProjectPagePesentor::getRelativePath(path,SettingsRepository::instance().defaultProjectDirectory()); - if(relative == "/") return; - - if ( relative.startsWith("/") == false){ - relative= "/" + relative; - } - srv.setProjectPath(relative); - QUrl url(pathUrl); - QDesktopServices::openUrl(url); - }; - - onClickShow = d; - - QuickHelper::setPropetryEnumerator( - labelProjectPath, // указатель на QQuickItem (например, QQuickText) - "elide", // имя свойства - "ElideRight" // значение enum - ); -} - -void ProjectStatusFragment::setInteractionButtonsEnabled(bool state){ - if (buttonShowProject) { - buttonShowProject->setEnabled(state); - } - - if (buttonDeleteProject) { - buttonDeleteProject->setEnabled(state); - } -} - -void ProjectStatusFragment::setProjectName(const QString& value){ - if(labelProjectName)labelProjectName->setProperty("text",value); -} - -void ProjectStatusFragment::setProjectPath(const QString& value){ - if(labelProjectPath)labelProjectPath->setProperty("text",value); -} -QString ProjectStatusFragment::getProjectPath(){ - if(labelProjectPath) return labelProjectPath->property("text").toString(); - return ""; -} - -void ProjectStatusFragment::setProjectStatus(const QString& value){ - if (labelProjectStatus) labelProjectStatus->setProperty("text",value); -} - -void ProjectStatusFragment::deleteLater() -{ - QuickHelper::clearChildren(root); - if (projectPasport) { - QuickHelper::freeItem(projectPasport); - } - - QObject::deleteLater(); -} - -void ProjectStatusFragment::errorOccurredDynamycLoaderHandler(const QString &message) -{ - qDebug()<<"Error: " << message; -} - -bool ProjectStatusFragment::isAllElementsFound(){ - bool retCode = true; - - buttonShowProject = QuickHelper::getQuickItem(root, BUTTON_SHOW_PROJECT); - if (!buttonShowProject) { - qWarning() << "Failed to get buttonShowProject:" << BUTTON_SHOW_PROJECT; - retCode = false; - } - - buttonDeleteProject = QuickHelper::getQuickItem(root, BUTTON_DELETE_PROJECT); - if (!buttonDeleteProject) { - qWarning() << "Failed to get buttonDeleteProject:" << BUTTON_DELETE_PROJECT; - retCode = false; - } - - labelProjectName = QuickHelper::getQuickItem(root, LABEL_PROJECT_NAME); - if (!labelProjectName) { - qWarning() << "Failed to get labelProjectName:" << LABEL_PROJECT_NAME; - retCode = false; - } - - labelProjectPath = QuickHelper::getQuickItem(root, LABEL_PROJECT_PATH); - if (!labelProjectPath) { - qWarning() << "Failed to get labelProjectPath:" << LABEL_PROJECT_PATH; - retCode = false; - } - - labelProjectStatus = QuickHelper::getQuickItem(root, LABEL_PROJECT_STATUS); - if (!labelProjectStatus) { - qWarning() << "Failed to get labelProjectStatus:" << LABEL_PROJECT_STATUS; - retCode = false; - } - - return retCode; } diff --git a/Quartz/mainpageactivity.cpp1 b/Quartz/mainpageactivity.cpp1 new file mode 100644 index 0000000..621bc32 --- /dev/null +++ b/Quartz/mainpageactivity.cpp1 @@ -0,0 +1,558 @@ +#include "mainpageactivity.h" +#include +#include +#include +#include "QQuickItem" +#include "quickhelper.h" +#include +#include "dynamicloader.h" +#include +#include +#include "FigmaStyles.h" +#include "FigmaQmlNames.h" +#include "ArrDifferentTypes.h" +#include "callbackwrapper.h" +#include "QClipboard" +#include "httpproxyserver.h" +#include "projectpageppesentor.h" +#include "QDesktopServices" +#include "settingsrepository.h" + +MainPageActivity::MainPageActivity(QQuickItem * item, QObject *parent) + : QObject{parent}, root(item) +{ + if (!item) { + qWarning() << "[C++] Root object is null"; + return; + } + + engine = qmlEngine(item); + + if (!engine) { + qWarning() << "[C++] Failed to get QQmlEngine"; + return; + } + + loader = new DynamicLoader(engine,this); + connect(loader, &DynamicLoader::errorOccurred, this, &MainPageActivity::errorOccurredDynamycLoaderHandler); + MainPageActivity::init(); +} + +void MainPageActivity::setProjectName(QString name) +{ + projectNameTextField->setProperty("text",name); +} + +void MainPageActivity::pageChanged() +{ +} + +QString MainPageActivity::getProjectName() const +{ + return projectNameTextField->property("text").toString(); +} + +void freeItem(QQuickItem*& item){ + if (item) { + item->setParentItem(nullptr); + item->setParent(nullptr); + item->deleteLater(); + item->setVisible(false); + + item = 0; + } +} +void MainPageActivity::doActionsOnTranslateFinished() +{ + // setColumnCenterTranslate(); + // setInitialView(); + // freeItem(listFilesItem); + + freeItem(columnCenterItem); + setColumnCenterTranslate(); + blockTranslate(); + labelFileCount->setProperty("text", "Ни один файл не выбран"); + clearScrollableTextList(); +} + +void MainPageActivity::setProgressBarPercent(double value) +{ + if (progressBarController) { + QMetaObject::invokeMethod(progressBarController, "setPercent", + Q_ARG(QVariant, value*100)); + } +} + +bool MainPageActivity::isVariablesSet(){ + bool ret_code = false; // Флаг ошибки + + if (!buttonChooseFiles) { + qWarning() << "Failed to get buttonChooseFiles:" << BUTTON_CHOOSE_FILES; + ret_code = true; + } + + if (!contentMainPageTransform) { + qWarning() << "Failed to get contentMainPageTransform:" << CONTENT_MAIN_PAGE_TRANSFORM; + ret_code = true; + } + + columnLeft = QuickHelper::getQuickItem(root, COLUMN_LEFT); + if (!columnLeft) { + qWarning() << "Failed to get columnLeft:" << COLUMN_LEFT; + ret_code = true; + } + + if (!columnCenter) { + qWarning() << "Failed to get columnCenter:" << COLUMN_CENTER; + ret_code = true; + } + + if (!columnRight) { + qWarning() << "Failed to get columnRight:" << COLUMN_RIGHT; + ret_code = true; + } + + if (!labelFileCount) { + qWarning() << "Failed to get labelFileCount:" << LABEL_FILE_COUNT; + ret_code = true; + } + + // После всех проверок можно использовать ret_code для определения успешности + if (ret_code) { + qCritical() << "One or more QML elements failed to load"; + // Дополнительная обработка ошибки + } + + return !ret_code; +} + +void MainPageActivity::loadElementsFromView() { + buttonChooseFiles = QuickHelper::getQuickItem(root,BUTTON_CHOOSE_FILES); + contentMainPageTransform = QuickHelper::getQuickItem(root,CONTENT_MAIN_PAGE_TRANSFORM); + columnLeft = QuickHelper::getQuickItem(root,COLUMN_LEFT); + columnCenter = QuickHelper::getQuickItem(root,COLUMN_CENTER); + columnRight = QuickHelper::getQuickItem(root,COLUMN_RIGHT); + labelFileCount = QuickHelper::getQuickItem(root,LABEL_FILE_COUNT); +} + +void MainPageActivity::init() { + loadElementsFromView(); + + if (!isVariablesSet()) { + return; + } + + setInitialView(); +} + +void MainPageActivity::setInitialView() { + if (listFilesItem) { + listFilesItem->setParentItem(nullptr); + listFilesItem->setParent(nullptr); + listFilesItem->deleteLater(); + } + listFilesItem = 0; + loader->createComponent(QML_SCROLLABLE_TEXT_LIST, columnLeft, &listFilesItem); + + QuickHelper::addMouseAreaElements(buttonChooseFiles, + [this] {handleChooseFiles();}, + [this]{buttonEntered(buttonChooseFiles);}, + [this]{buttonExited(buttonChooseFiles);}); + + setColumnCenterTranslate(); + setDefaultValues(); + blockTranslate(); + + QString myMessageDialogComponent = R"( +import QtQuckApp + +ShowMessageDialog { + id: showMessageDialog + objectName: "showMessageDialog" + onCopyToClipboard: function(textToCopy) { + quickUpdaterData.arrDifferentTypes[1]=textToCopy + quickUpdaterData.arrDifferentTypes[0].invoke() + } +} +)"; + + QVariantList list; + QObject* addedComponent = 0; + ArrDifferentTypes *data = 0; + QuickHelper::addComponent(root,list,myMessageDialogComponent,&addedComponent, &data); + + if (addedComponent) { + this->itemShowMessageNoDialog = qobject_cast(addedComponent); + + CallbackWrapper *wrapper = new CallbackWrapper([this,data]{ + QVariantList value = data->getArrDifferentTypes(); + copyToClipBoard(value[1]); + }, addedComponent); + data->addVarToData(QVariant::fromValue(wrapper)); + } +} + +void MainPageActivity::copyToClipBoard(QVariant value){ + QString str = value.toString(); + QClipboard *clipboard = QGuiApplication::clipboard(); + clipboard->setText(str); +} + +void MainPageActivity::clearScrollableTextList() +{ + if (listFilesItem == 0) return; + bool success = QMetaObject::invokeMethod( + listFilesItem, + "clear" + ); +} + +void MainPageActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) +{ + continueChange(); +} + +void MainPageActivity::setDefaultValues() +{ + if (projectNameTextField) { + projectNameTextField->setProperty("text", "Проект"); + } + + if (labelFileCount) { + labelFileCount->setProperty("width", 400); + labelFileCount->setProperty("text", "Ни один файл не выбран"); + labelFileCount->setProperty("wrapMode", "Text.NoWrap"); + labelFileCount->setProperty("elide", "Text.ElideNone"); + labelFileCount->setProperty("clip", false); + } +} + +void MainPageActivity::setColumnCenterTranslate() { + + QuickHelper::clearChildren(columnCenter); + if (columnCenterItem) { + freeItem(columnCenterItem); + progressBarController = 0; + transformButtonCancel = 0; + } + columnCenterItem = 0; + loader->createComponent(QML::Pages::TRANSFORM, columnCenter, &columnCenterItem); + + if (columnCenterItem) { + transformButton = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON); + projectNameTextField = QuickHelper::getQuickItem(columnCenterItem, PROJECT_NAME_TEXT_FILED); + } + + if (transformButton) { + QuickHelper::addMouseAreaElements(transformButton, + [this] {translateClick();}, + [this]{buttonEntered(transformButton);}, + [this]{buttonExited(transformButton);}); + + auto defaultColor = transformButton->property("color").toString(); + QuickHelper::updateColor(transformButton, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE); + } + + if (projectNameTextField) { + QuickHelper::moveTextFiledX(projectNameTextField); + } +} + +void MainPageActivity::setColumnCenterTranslating(){ + QuickHelper::clearChildren(columnCenter); + // QuickHelper::clearChildren(columnCenter); + if (columnCenterItem) { + freeItem(columnCenterItem); + } + + columnCenterItem = 0; + + loader->createComponent(QML::Pages::TRANSLATING, columnCenter, &columnCenterItem); + + if (columnCenterItem) { + transformButtonCancel = QuickHelper::getQuickItem(columnCenterItem, TRANSFORM_BUTTON_CANCEL); + + translateProgressBar = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR); + translateProgressBarFilled = QuickHelper::getQuickItem(columnCenterItem, TRANSLATE_PROGRESS_BAR_FILLED); + } + + if (transformButtonCancel) { + QuickHelper::addMouseAreaElements(transformButtonCancel, + [this] {cancelTranslateClick();}, + [this]{buttonEntered(transformButtonCancel);}, + [this]{buttonExited(transformButtonCancel);}); + + auto defaultColor = transformButtonCancel->property("color").toString(); + QuickHelper::updateColor(transformButtonCancel, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE); + } + + if (projectNameTextField) { + QuickHelper::moveTextFiledX(projectNameTextField); + } + + progressBarController = QuickHelper::addProgressBar(columnCenterItem,translateProgressBar, translateProgressBarFilled); +} + +void MainPageActivity::removeProjectStatusFragment(){ + if (projectStatusFragment) { + projectStatusFragment->setParent(nullptr); + projectStatusFragment->deleteLater(); + projectStatusFragment = 0; + } +} + +void MainPageActivity::showCustomMessage(const QString &message, const QString & pathSave) +{ + //return; + if (itemShowMessageNoDialog) { + bool success = QMetaObject::invokeMethod( + itemShowMessageNoDialog, + "showMessageDialog", + Q_ARG(QVariant, QVariant::fromValue(message)), + Q_ARG(QVariant, QVariant::fromValue(pathSave)) + ); + } + + +} + +void MainPageActivity::translateClick(){ + qDebug() << "TranslateClick"; + + //showCustomMessage("test"); + + setColumnCenterTranslating(); + + removeProjectStatusFragment(); + projectStatusFragment = new ProjectStatusFragment(columnRight,this); + + emit translate(); +} + +void MainPageActivity::cancelTranslateClick() +{ + emit cancelTranslate(); + setColumnCenterTranslate(); +} + +void MainPageActivity::blockTranslate() +{ + // Подкрашиваем окно перевода + isBlockTranslate = true; + transformButton->setEnabled(false); + transformButton->setProperty("enabled",false); + projectNameTextField->setEnabled(false); +} + +void MainPageActivity::allowTranslate() +{ + // Разрешаем перевод + isBlockTranslate = false; + + if(transformButton == 0) return; + + transformButton->setEnabled(true); + transformButton->setProperty("enabled",true); + projectNameTextField->setEnabled(true); +} + +void MainPageActivity::listFilePathSet(QVariant listFiles) +{ + QStringList list = listFiles.toStringList(); + + if( list.count()) { + QString text = "Выбрано файлов: " + QString::number(listFiles.toStringList().count()); + labelFileCount->setProperty("text", text); + allowTranslate(); + } +} + +void MainPageActivity::errorOccurredDynamycLoaderHandler(const QString &message) +{ + qDebug()<<"Error: " << message; +} + +void MainPageActivity::handleChooseFiles() +{ + if (listFilesItem) { + QMetaObject::invokeMethod(listFilesItem, "openFileDialog"); + // Q_ARG(QVariant, variant)); + } +} + +void MainPageActivity::buttonEntered(QQuickItem * item){ + if (item->isEnabled()) { + item->setProperty("color", QML::CORLOR_BUTTON_FOCUSED); + } +} + +void MainPageActivity::buttonExited(QQuickItem * item){ + if (item->isEnabled()) { + item->setProperty("color", QML::CORLOR_BUTTON_BASE); + } +} + + +ProjectStatusFragment::ProjectStatusFragment(QQuickItem *item, QObject *parent) :QObject(parent) +{ + + if (!item) { + qWarning() << "[C++] Root object is null"; + return; + } + + root = item; + + engine = qmlEngine(item); + + if (!engine) { + qWarning() << "[C++] Failed to get QQmlEngine"; + return; + } + + loader = new DynamicLoader(engine,this); + connect(loader, &DynamicLoader::errorOccurred, this, &ProjectStatusFragment::errorOccurredDynamycLoaderHandler); + init(); +} + +void ProjectStatusFragment::init() +{ + QQuickItem * createdComponent=0; + loader->createComponent(QML::Pages::PROJECT_PASPORT,root,&createdComponent); + + if (createdComponent) { + projectPasport = createdComponent; + } + + if (isAllElementsFound() == false) return; + + QuickHelper::addMouseAreaElements(buttonShowProject, + [this] { + if(onClickShow != nullptr) { + onClickShow(); + } + }, + [this]{ + if (buttonShowProject->isEnabled()) { + buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED); + } + }, + [this]{ + if (buttonShowProject->isEnabled()) { + buttonShowProject->setProperty("color", QML::CORLOR_BUTTON_BASE); + } + }); + + QuickHelper::updateColor(buttonShowProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE); + + QuickHelper::addMouseAreaElements(buttonDeleteProject, + [this] { + if(onClickShow != nullptr) { + onClickShow(); + } + }, + [this] { + if (buttonDeleteProject->isEnabled()) { + buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_FOCUSED); + } + }, + [this] { + if (buttonDeleteProject->isEnabled()) { + buttonDeleteProject->setProperty("color", QML::CORLOR_BUTTON_BASE_EMPTY); + } + }); + + QuickHelper::updateColor(buttonDeleteProject, QML::CORLOR_BUTTON_DISABLED, QML::CORLOR_BUTTON_BASE_EMPTY); + + auto doNothing = []{}; + auto copyToClipBoard = [this] { + MainPageActivity::copyToClipBoard(labelProjectPath->property("text").toString()); + }; + + QuickHelper::addMouseAreaWithCopy(labelProjectPath, + copyToClipBoard, doNothing, doNothing, 0, 0); + + setInteractionButtonsEnabled(false); + + auto act = this; + // Text.ElideRight + + +} + +void ProjectStatusFragment::setInteractionButtonsEnabled(bool state){ + if (buttonShowProject) { + buttonShowProject->setEnabled(state); + } + + if (buttonDeleteProject) { + buttonDeleteProject->setEnabled(state); + } +} + +void ProjectStatusFragment::setProjectName(const QString& value){ + if(labelProjectName)labelProjectName->setProperty("text",value); +} + +void ProjectStatusFragment::setProjectPath(const QString& value){ + if(labelProjectPath)labelProjectPath->setProperty("text",value); +} +QString ProjectStatusFragment::getProjectPath(){ + if(labelProjectPath) return labelProjectPath->property("text").toString(); + return ""; +} + +void ProjectStatusFragment::setProjectStatus(const QString& value){ + if (labelProjectStatus) labelProjectStatus->setProperty("text",value); +} + +void ProjectStatusFragment::deleteLater() +{ + QuickHelper::clearChildren(root); + if (projectPasport) { + QuickHelper::freeItem(projectPasport); + } + + QObject::deleteLater(); +} + +void ProjectStatusFragment::errorOccurredDynamycLoaderHandler(const QString &message) +{ + qDebug()<<"Error: " << message; +} + +bool ProjectStatusFragment::isAllElementsFound(){ + bool retCode = true; + + buttonShowProject = QuickHelper::getQuickItem(root, BUTTON_SHOW_PROJECT); + if (!buttonShowProject) { + qWarning() << "Failed to get buttonShowProject:" << BUTTON_SHOW_PROJECT; + retCode = false; + } + + buttonDeleteProject = QuickHelper::getQuickItem(root, BUTTON_DELETE_PROJECT); + if (!buttonDeleteProject) { + qWarning() << "Failed to get buttonDeleteProject:" << BUTTON_DELETE_PROJECT; + retCode = false; + } + + labelProjectName = QuickHelper::getQuickItem(root, LABEL_PROJECT_NAME); + if (!labelProjectName) { + qWarning() << "Failed to get labelProjectName:" << LABEL_PROJECT_NAME; + retCode = false; + } + + labelProjectPath = QuickHelper::getQuickItem(root, LABEL_PROJECT_PATH); + if (!labelProjectPath) { + qWarning() << "Failed to get labelProjectPath:" << LABEL_PROJECT_PATH; + retCode = false; + } + + labelProjectStatus = QuickHelper::getQuickItem(root, LABEL_PROJECT_STATUS); + if (!labelProjectStatus) { + qWarning() << "Failed to get labelProjectStatus:" << LABEL_PROJECT_STATUS; + retCode = false; + } + + return retCode; +} diff --git a/Quartz/mainpageactivity.h b/Quartz/mainpageactivity.h index 8efd360..0c4aa1d 100644 --- a/Quartz/mainpageactivity.h +++ b/Quartz/mainpageactivity.h @@ -3,177 +3,25 @@ #include #include "interfaces/IPageActivity.h" -#include "FigmaQmlNames.h" class QQuickItem; class DynamicLoader; class QQmlEngine; -class ProjectStatusFragment : public QObject { - Q_OBJECT - -public: - explicit ProjectStatusFragment(QQuickItem * item, QObject *parent = nullptr); - void deleteLater(); - - void setProjectName(const QString &value); - void setProjectPath(const QString &value); - void setProjectStatus(const QString &value); - void setInteractionButtonsEnabled(bool state); - // void setOnClickShow(const std::function& func){ - // onClickShow = func; - // } - std::function onClickShow = nullptr; - - QString getProjectPath(); -private: - QQuickItem * root; - void init(); - - const QString BUTTON_SHOW_PROJECT = "ShowProjectButton"; - QQuickItem * buttonShowProject = 0; - - - const QString BUTTON_DELETE_PROJECT = "DeleteProjectButton"; - QQuickItem * buttonDeleteProject = 0; - - - const QString LABEL_PROJECT_NAME= "ProjecNameLabel"; - QQuickItem * labelProjectName = 0; - - - const QString LABEL_PROJECT_PATH = "ProjectPathLabel"; - QQuickItem * labelProjectPath = 0; - - - const QString LABEL_PROJECT_STATUS = "ProjectStatusLabel"; - QQuickItem * labelProjectStatus = 0; - - -private slots: - void errorOccurredDynamycLoaderHandler(const QString &message); -private: - DynamicLoader * loader; - QQmlEngine * engine; - QQuickItem * projectPasport = 0; - bool isAllElementsFound(); - - - std::function onClickDelete = nullptr; - -}; - class MainPageActivity : public QObject, public IPageActivity { Q_OBJECT - public: explicit MainPageActivity(QQuickItem * item, QObject *parent = nullptr); - void setProjectName(QString name); + void pageChanged() override final; - QString getProjectName() const; - void doActionsOnTranslateFinished(); - void setProgressBarPercent(double value); -public: - ProjectStatusFragment* getProjectFragment() {return projectStatusFragment;} - static void copyToClipBoard(QVariant value); + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + +signals: private: QQuickItem * root; - DynamicLoader* loader = 0; - QQmlEngine * engine; - - - const QString BUTTON_CHOOSE_FILES = "ButtonChooseFiles"; - QQuickItem * buttonChooseFiles = 0; - - const QString CONTENT_MAIN_PAGE_TRANSFORM = "ContentMainPageTransform"; - QQuickItem * contentMainPageTransform = 0; - - const QString COLUMN_LEFT = "ColumnLeft"; - QQuickItem * columnLeft = 0; - - const QString COLUMN_CENTER = "ColumnCenter"; - QQuickItem * columnCenter = 0; - - const QString COLUMN_RIGHT = "ColumnRight"; - QQuickItem * columnRight = 0; - - const QString LABEL_FILE_COUNT = "ChosenFileCountLabel"; - QQuickItem * labelFileCount = 0; - - const QString QML_SCROLLABLE_TEXT_LIST = QML::App::SCROLLABLE_TEXT_LIST; //"QtQuckApp/qml/ScrollableTextList.qml"; - QQuickItem *listFilesItem = 0; - - QQuickItem *progressBarController = 0; - - QQuickItem *columnCenterItem = 0; - - const QString TRANSFORM_BUTTON = "TransformButton"; - QQuickItem * transformButton = 0; - - const QString TRANSFORM_BUTTON_CANCEL = "ProgressTranslateCancelButton"; - QQuickItem * transformButtonCancel = 0; - - const QString PROJECT_NAME_TEXT_FILED = "ProjectTextField"; - QQuickItem * projectNameTextField = 0; - - const QString TRANSLATE_PROGRESS_BAR = "TranslateProgressBar"; - QQuickItem * translateProgressBar = 0; - - const QString TRANSLATE_PROGRESS_BAR_FILLED = "TranslateProgressBarFilled"; - QQuickItem * translateProgressBarFilled = 0; - - // контролер сообщений - QQuickItem * itemShowMessageNoDialog = 0; - - bool isBlockTranslate = true; - - ProjectStatusFragment *projectStatusFragment = 0; - - void handleChooseFiles(); - bool isVariablesSet(); void init(); - void loadElementsFromView(); - // Загружаем qml подмодули - void setInitialView(); - void setDefaultValues(); - - void translateClick(); - void cancelTranslateClick(); - void blockTranslate(); - void allowTranslate(); - - void setColumnCenterTranslate(); - void setColumnCenterTranslating(); - - void buttonEntered(QQuickItem *item); - void buttonExited(QQuickItem *item); - void clearScrollableTextList(); - - -signals: - void translate(); - void cancelTranslate(); -public: - QQuickItem* getButtonChooseFiles() const { return buttonChooseFiles; } - QQuickItem* getContentMainPageTransform() const { return contentMainPageTransform; } - QQuickItem* getColumnLeft() const { return columnLeft; } - QQuickItem* getColumnCenter() const { return columnCenter; } - QQuickItem* getColumnRight() const { return columnRight; } - QQuickItem* getLabelFileCount() const { return labelFileCount; } - QQuickItem* getTransformButton() const { return transformButton; } - QQuickItem* getProjectNameTextField() const { return projectNameTextField; } - - void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; - void removeProjectStatusFragment(); - void showCustomMessage(const QString& message,const QString& logPath); - -public slots: - void listFilePathSet(QVariant); -private slots: - void errorOccurredDynamycLoaderHandler(const QString& message); -signals: }; #endif // MAINPAGEACTIVITY_H diff --git a/Quartz/mainpageactivity.h1 b/Quartz/mainpageactivity.h1 new file mode 100644 index 0000000..8efd360 --- /dev/null +++ b/Quartz/mainpageactivity.h1 @@ -0,0 +1,179 @@ +#ifndef MAINPAGEACTIVITY_H +#define MAINPAGEACTIVITY_H + +#include +#include "interfaces/IPageActivity.h" +#include "FigmaQmlNames.h" + +class QQuickItem; +class DynamicLoader; +class QQmlEngine; + +class ProjectStatusFragment : public QObject { + Q_OBJECT + +public: + explicit ProjectStatusFragment(QQuickItem * item, QObject *parent = nullptr); + void deleteLater(); + + void setProjectName(const QString &value); + void setProjectPath(const QString &value); + void setProjectStatus(const QString &value); + void setInteractionButtonsEnabled(bool state); + // void setOnClickShow(const std::function& func){ + // onClickShow = func; + // } + std::function onClickShow = nullptr; + + QString getProjectPath(); +private: + QQuickItem * root; + void init(); + + const QString BUTTON_SHOW_PROJECT = "ShowProjectButton"; + QQuickItem * buttonShowProject = 0; + + + const QString BUTTON_DELETE_PROJECT = "DeleteProjectButton"; + QQuickItem * buttonDeleteProject = 0; + + + const QString LABEL_PROJECT_NAME= "ProjecNameLabel"; + QQuickItem * labelProjectName = 0; + + + const QString LABEL_PROJECT_PATH = "ProjectPathLabel"; + QQuickItem * labelProjectPath = 0; + + + const QString LABEL_PROJECT_STATUS = "ProjectStatusLabel"; + QQuickItem * labelProjectStatus = 0; + + +private slots: + void errorOccurredDynamycLoaderHandler(const QString &message); +private: + DynamicLoader * loader; + QQmlEngine * engine; + QQuickItem * projectPasport = 0; + bool isAllElementsFound(); + + + std::function onClickDelete = nullptr; + +}; + +class MainPageActivity : public QObject, public IPageActivity +{ + Q_OBJECT + +public: + explicit MainPageActivity(QQuickItem * item, QObject *parent = nullptr); + void setProjectName(QString name); + void pageChanged() override final; + QString getProjectName() const; + void doActionsOnTranslateFinished(); + void setProgressBarPercent(double value); +public: + ProjectStatusFragment* getProjectFragment() {return projectStatusFragment;} + static void copyToClipBoard(QVariant value); + +private: + QQuickItem * root; + DynamicLoader* loader = 0; + QQmlEngine * engine; + + + const QString BUTTON_CHOOSE_FILES = "ButtonChooseFiles"; + QQuickItem * buttonChooseFiles = 0; + + const QString CONTENT_MAIN_PAGE_TRANSFORM = "ContentMainPageTransform"; + QQuickItem * contentMainPageTransform = 0; + + const QString COLUMN_LEFT = "ColumnLeft"; + QQuickItem * columnLeft = 0; + + const QString COLUMN_CENTER = "ColumnCenter"; + QQuickItem * columnCenter = 0; + + const QString COLUMN_RIGHT = "ColumnRight"; + QQuickItem * columnRight = 0; + + const QString LABEL_FILE_COUNT = "ChosenFileCountLabel"; + QQuickItem * labelFileCount = 0; + + const QString QML_SCROLLABLE_TEXT_LIST = QML::App::SCROLLABLE_TEXT_LIST; //"QtQuckApp/qml/ScrollableTextList.qml"; + QQuickItem *listFilesItem = 0; + + QQuickItem *progressBarController = 0; + + QQuickItem *columnCenterItem = 0; + + const QString TRANSFORM_BUTTON = "TransformButton"; + QQuickItem * transformButton = 0; + + const QString TRANSFORM_BUTTON_CANCEL = "ProgressTranslateCancelButton"; + QQuickItem * transformButtonCancel = 0; + + const QString PROJECT_NAME_TEXT_FILED = "ProjectTextField"; + QQuickItem * projectNameTextField = 0; + + const QString TRANSLATE_PROGRESS_BAR = "TranslateProgressBar"; + QQuickItem * translateProgressBar = 0; + + const QString TRANSLATE_PROGRESS_BAR_FILLED = "TranslateProgressBarFilled"; + QQuickItem * translateProgressBarFilled = 0; + + // контролер сообщений + QQuickItem * itemShowMessageNoDialog = 0; + + bool isBlockTranslate = true; + + ProjectStatusFragment *projectStatusFragment = 0; + + void handleChooseFiles(); + bool isVariablesSet(); + void init(); + void loadElementsFromView(); + // Загружаем qml подмодули + void setInitialView(); + void setDefaultValues(); + + void translateClick(); + void cancelTranslateClick(); + void blockTranslate(); + void allowTranslate(); + + void setColumnCenterTranslate(); + void setColumnCenterTranslating(); + + void buttonEntered(QQuickItem *item); + void buttonExited(QQuickItem *item); + void clearScrollableTextList(); + + +signals: + void translate(); + void cancelTranslate(); +public: + QQuickItem* getButtonChooseFiles() const { return buttonChooseFiles; } + QQuickItem* getContentMainPageTransform() const { return contentMainPageTransform; } + QQuickItem* getColumnLeft() const { return columnLeft; } + QQuickItem* getColumnCenter() const { return columnCenter; } + QQuickItem* getColumnRight() const { return columnRight; } + QQuickItem* getLabelFileCount() const { return labelFileCount; } + QQuickItem* getTransformButton() const { return transformButton; } + QQuickItem* getProjectNameTextField() const { return projectNameTextField; } + + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + void removeProjectStatusFragment(); + void showCustomMessage(const QString& message,const QString& logPath); + +public slots: + void listFilePathSet(QVariant); +private slots: + void errorOccurredDynamycLoaderHandler(const QString& message); +signals: +}; + +#endif // MAINPAGEACTIVITY_H diff --git a/Quartz/mainpagepresentor.cpp b/Quartz/mainpagepresentor.cpp index d1f5008..3922c96 100644 --- a/Quartz/mainpagepresentor.cpp +++ b/Quartz/mainpagepresentor.cpp @@ -1,103 +1,6 @@ #include "mainpagepresentor.h" -#include "mainpageactivity.h" - -#include -#include -#include "formatconverter.h" -#include "settingsrepository.h" -#include "singalizer.h" -#include "projectpageppesentor.h" -#include "settingsrepository.h" -#include "httpproxyserver.h" -#include "QDesktopServices" void MainPagePresentor::init() { - connect(this, &MainPagePresentor::listFilesSet, activity,&MainPageActivity::listFilePathSet); - connect(activity,&MainPageActivity::translate,this, &MainPagePresentor::transform); - connect(activity,&MainPageActivity::cancelTranslate,this, &MainPagePresentor::cancelTransform); - connect(&Signalizer::get(), &Signalizer::reachedLimitAvailibleMemortSize, [this]{ - cancelTransform(); - activity->showCustomMessage("Достигнут лимит свободного места на диске",""); - }); -} - -void MainPagePresentor::setlistFilePath(const QVariant &listFilePath) { - model->m_listFilePath = listFilePath; - auto list = listFilePath.toStringList(); - - if (list.count() == 0) return; - - emit listFilesSet(model->m_listFilePath); - QFileInfo fileInfo(list.first()); - QString lastFolderName = QDir(fileInfo.absolutePath()).dirName(); - activity->setProjectName(lastFolderName); - activity->removeProjectStatusFragment(); -} - -void MainPagePresentor::transform() { - if (formatConverter == 0) { - formatConverter = new FormatConverter(); - connect(formatConverter,&FormatConverter::convertedFinished, this,&MainPagePresentor::transformFinished); - connect(formatConverter,&FormatConverter::convertedFinishedWithError, this,&MainPagePresentor::transformFinishedWithError); - } - - QStringList stringList = model->m_listFilePath.toStringList(); - - QString projectName = activity->getProjectName(); - QString projectPath = SettingsRepository::instance().defaultProjectDirectory() +"\\" + projectName; - QDir projectDir(SettingsRepository::instance().defaultProjectDirectory()); - - if (projectDir.exists(projectPath ) == false) { - projectDir.mkdir(projectPath ); - } - - connect(formatConverter, &FormatConverter::percentCompetedChanged, this, &MainPagePresentor::percentCompeteTrassformChangedHandler); - - auto fragment = activity->getProjectFragment(); - fragment->setProjectName(projectName); - fragment->setProjectPath(projectPath); - fragment->setProjectStatus("Не сформирован"); - formatConverter->convert(stringList, projectPath); -} - -void MainPagePresentor::transformFinished() -{ - activity->doActionsOnTranslateFinished(); - auto fragment = activity->getProjectFragment(); - fragment->setProjectStatus("Сформирован"); - fragment->setInteractionButtonsEnabled(true); -} - -void MainPagePresentor::transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog) -{ - activity->doActionsOnTranslateFinished(); - auto fragment = activity->getProjectFragment(); - fragment->setProjectStatus("Ошибка преобразования"); - fragment->setInteractionButtonsEnabled(false); - - QString errorMsg = R"( -Невозможно преобразовать следующие файлы: - -)"; - for(const auto &filePath: listErrorFilesPath){ - errorMsg += filePath + "\n"; - } - activity->showCustomMessage(errorMsg,pathLog); -} - -void MainPagePresentor::cancelTransform() -{ - if (formatConverter) { - formatConverter->stopAllConverting(); - } -} - -void MainPagePresentor::percentCompeteTrassformChangedHandler(double newValue) -{ - activity->setProgressBarPercent(newValue); -} - -void MainPagePresentor(){ } diff --git a/Quartz/mainpagepresentor.cpp1 b/Quartz/mainpagepresentor.cpp1 new file mode 100644 index 0000000..d1f5008 --- /dev/null +++ b/Quartz/mainpagepresentor.cpp1 @@ -0,0 +1,103 @@ +#include "mainpagepresentor.h" +#include "mainpageactivity.h" + +#include +#include +#include "formatconverter.h" +#include "settingsrepository.h" +#include "singalizer.h" +#include "projectpageppesentor.h" +#include "settingsrepository.h" +#include "httpproxyserver.h" +#include "QDesktopServices" + +void MainPagePresentor::init() +{ + connect(this, &MainPagePresentor::listFilesSet, activity,&MainPageActivity::listFilePathSet); + connect(activity,&MainPageActivity::translate,this, &MainPagePresentor::transform); + connect(activity,&MainPageActivity::cancelTranslate,this, &MainPagePresentor::cancelTransform); + connect(&Signalizer::get(), &Signalizer::reachedLimitAvailibleMemortSize, [this]{ + cancelTransform(); + activity->showCustomMessage("Достигнут лимит свободного места на диске",""); + }); +} + +void MainPagePresentor::setlistFilePath(const QVariant &listFilePath) { + model->m_listFilePath = listFilePath; + auto list = listFilePath.toStringList(); + + if (list.count() == 0) return; + + emit listFilesSet(model->m_listFilePath); + QFileInfo fileInfo(list.first()); + QString lastFolderName = QDir(fileInfo.absolutePath()).dirName(); + activity->setProjectName(lastFolderName); + activity->removeProjectStatusFragment(); +} + +void MainPagePresentor::transform() { + if (formatConverter == 0) { + formatConverter = new FormatConverter(); + connect(formatConverter,&FormatConverter::convertedFinished, this,&MainPagePresentor::transformFinished); + connect(formatConverter,&FormatConverter::convertedFinishedWithError, this,&MainPagePresentor::transformFinishedWithError); + } + + QStringList stringList = model->m_listFilePath.toStringList(); + + QString projectName = activity->getProjectName(); + QString projectPath = SettingsRepository::instance().defaultProjectDirectory() +"\\" + projectName; + QDir projectDir(SettingsRepository::instance().defaultProjectDirectory()); + + if (projectDir.exists(projectPath ) == false) { + projectDir.mkdir(projectPath ); + } + + connect(formatConverter, &FormatConverter::percentCompetedChanged, this, &MainPagePresentor::percentCompeteTrassformChangedHandler); + + auto fragment = activity->getProjectFragment(); + fragment->setProjectName(projectName); + fragment->setProjectPath(projectPath); + fragment->setProjectStatus("Не сформирован"); + formatConverter->convert(stringList, projectPath); +} + +void MainPagePresentor::transformFinished() +{ + activity->doActionsOnTranslateFinished(); + auto fragment = activity->getProjectFragment(); + fragment->setProjectStatus("Сформирован"); + fragment->setInteractionButtonsEnabled(true); +} + +void MainPagePresentor::transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog) +{ + activity->doActionsOnTranslateFinished(); + auto fragment = activity->getProjectFragment(); + fragment->setProjectStatus("Ошибка преобразования"); + fragment->setInteractionButtonsEnabled(false); + + QString errorMsg = R"( +Невозможно преобразовать следующие файлы: + +)"; + for(const auto &filePath: listErrorFilesPath){ + errorMsg += filePath + "\n"; + } + activity->showCustomMessage(errorMsg,pathLog); +} + +void MainPagePresentor::cancelTransform() +{ + if (formatConverter) { + formatConverter->stopAllConverting(); + } +} + +void MainPagePresentor::percentCompeteTrassformChangedHandler(double newValue) +{ + activity->setProgressBarPercent(newValue); +} + +void MainPagePresentor(){ + +} diff --git a/Quartz/mainpagepresentor.h b/Quartz/mainpagepresentor.h index eeebf32..ab968c3 100644 --- a/Quartz/mainpagepresentor.h +++ b/Quartz/mainpagepresentor.h @@ -2,31 +2,25 @@ #define MAINPAGEPRESENTOR_H #include -#include +#include class MainPageActivity; class FormatConverter; -class MainPagePresentor : public QObject { +class MainPagePresentor : public QObject +{ Q_OBJECT - Q_PROPERTY(QVariant listFilePath READ listFilePath WRITE setlistFilePath FINAL) - QML_ELEMENT - public: explicit MainPagePresentor(MainPageActivity * activity, QObject* parent = nullptr) : QObject(parent), model(new MainPagePresentorModel), activity(activity) { init(); } - void init(); - QVariant listFilePath() const {return model->m_listFilePath; } - void setlistFilePath(const QVariant& listFilePath); - - Q_INVOKABLE void transform(); - signals: - void listFilesSet(QVariant); + private: + void init(); + MainPageActivity *activity; FormatConverter * formatConverter = 0; @@ -34,12 +28,6 @@ private: public: QVariant m_listFilePath; } *model; - -private slots: - void transformFinished(); - void cancelTransform(); - void percentCompeteTrassformChangedHandler(double newValue); - void transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog); }; #endif // MAINPAGEPRESENTOR_H diff --git a/Quartz/mainpagepresentor.h1 b/Quartz/mainpagepresentor.h1 new file mode 100644 index 0000000..eeebf32 --- /dev/null +++ b/Quartz/mainpagepresentor.h1 @@ -0,0 +1,45 @@ +#ifndef MAINPAGEPRESENTOR_H +#define MAINPAGEPRESENTOR_H + +#include +#include + +class MainPageActivity; +class FormatConverter; + +class MainPagePresentor : public QObject { + Q_OBJECT + Q_PROPERTY(QVariant listFilePath READ listFilePath WRITE setlistFilePath FINAL) + QML_ELEMENT + +public: + explicit MainPagePresentor(MainPageActivity * activity, QObject* parent = nullptr) + : QObject(parent), model(new MainPagePresentorModel), activity(activity) { + init(); + } + + void init(); + QVariant listFilePath() const {return model->m_listFilePath; } + void setlistFilePath(const QVariant& listFilePath); + + Q_INVOKABLE void transform(); + +signals: + void listFilesSet(QVariant); +private: + MainPageActivity *activity; + FormatConverter * formatConverter = 0; + + class MainPagePresentorModel{ + public: + QVariant m_listFilePath; + } *model; + +private slots: + void transformFinished(); + void cancelTransform(); + void percentCompeteTrassformChangedHandler(double newValue); + void transformFinishedWithError(QStringList listErrorFilesPath, QString pathLog); +}; + +#endif // MAINPAGEPRESENTOR_H diff --git a/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH125_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/C15_43_GB30_figma.qml similarity index 59% rename from Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH125_figma.qml rename to Quartz/pages/FigmaQmlInterface/qml/C15_43_GB30_figma.qml index fcff0f7..f5d065a 100644 --- a/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH125_figma.qml +++ b/Quartz/pages/FigmaQmlInterface/qml/C15_43_GB30_figma.qml @@ -7,14 +7,14 @@ import QtQuick.Controls import QtQuick.Shapes import FigmaQmlInterface Rectangle { -// component (Instance) level: 0 LabelHeaderComponentH1 - id: figma_94_18 - // # "LabelHeaderComponentH1" - objectName:"LabelHeaderComponentH1" +// component (Instance) level: 0 15.43 GB + id: figma_696_76 + // # "15.43 GB" + objectName:"15.43 GB" x:0 y:0 - width:128 - height:39 + width:115 + height:31 color:"#00ffffff" clip: false Component.onCompleted: { diff --git a/Quartz/pages/FigmaQmlInterface/qml/ColumnaItemComponent30_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/ColumnaItemComponent36_figma.qml similarity index 92% rename from Quartz/pages/FigmaQmlInterface/qml/ColumnaItemComponent30_figma.qml rename to Quartz/pages/FigmaQmlInterface/qml/ColumnaItemComponent36_figma.qml index 3997db7..45dba4c 100644 --- a/Quartz/pages/FigmaQmlInterface/qml/ColumnaItemComponent30_figma.qml +++ b/Quartz/pages/FigmaQmlInterface/qml/ColumnaItemComponent36_figma.qml @@ -8,7 +8,7 @@ import QtQuick.Shapes import FigmaQmlInterface Rectangle { // component (Instance) level: 0 ColumnaItemComponent - id: figma_139_46 + id: figma_696_64 // # "ColumnaItemComponent" objectName:"ColumnaItemComponent" x:0 @@ -16,6 +16,7 @@ Rectangle { width:266 height:27 color: "transparent" + radius:6 clip: false Component.onCompleted: { } diff --git a/Quartz/pages/FigmaQmlInterface/qml/FileComponent23_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/FileComponent23_figma.qml deleted file mode 100644 index 6339b74..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/FileComponent23_figma.qml +++ /dev/null @@ -1,153 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 FileComponent - id: figma_98_57 - // # "FileComponent" - objectName:"FileComponent" - x:0 - y:0 - width:266 - height:243 - color: "#fffcfbfe" - radius:33.25 - clip: true - property Component delegate_98_58: Item { - // component (Instance) level: 0 file 1 - id: figma_98_58 - // # "file 1" - objectName:"file 1" - x:73 - y:9 - width:118.94 - height:157.502 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_98_58 - maskSource: maskSource_figma_98_58 - } - Image { - id: source_figma_98_58 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/e774f5e9c89c49d525aed5785d5bfcabb8cc67f3.png" - } - Shape { - id: maskSource_figma_98_58 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.232703 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L118.94 0L118.94 157.502L0 157.502L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.232703 - fillColor:"#00000000" - // component (shapeFill) level: 0 - id: svgpath_figma_98_58 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_98_58 - path: "M0 0L118.94 0L118.94 157.502L0 157.502L0 0Z" - } - } - } - property alias path: path_0_figma_98_58.path - } - property Item i_delegate_98_58 - property matrix4x4 delegate_98_58_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_98_58_transformChanged: {if(i_delegate_98_58 && i_delegate_98_58.transform != delegate_98_58_transform) i_delegate_98_58.transform = delegate_98_58_transform;} - property real delegate_98_58_x: NaN - onDelegate_98_58_xChanged: {if(i_delegate_98_58 && i_delegate_98_58.x != delegate_98_58_x) i_delegate_98_58.x = delegate_98_58_x;} - property real delegate_98_58_y: NaN - onDelegate_98_58_yChanged: {if(i_delegate_98_58 && i_delegate_98_58.y != delegate_98_58_y) i_delegate_98_58.y = delegate_98_58_y;} - property real delegate_98_58_width: NaN - onDelegate_98_58_widthChanged: {if(i_delegate_98_58 && i_delegate_98_58.width != delegate_98_58_width) i_delegate_98_58.width = delegate_98_58_width;} - property real delegate_98_58_height: NaN - onDelegate_98_58_heightChanged: {if(i_delegate_98_58 && i_delegate_98_58.height != delegate_98_58_height) i_delegate_98_58.height = delegate_98_58_height;} - property Component delegate_98_59: LabelHeaderComponentH2_bold57_figma { - // component (Instance) level: 0 LabelHeaderComponentH2-bold - id: figma_98_59 - // # "LabelHeaderComponentH2-bold" - objectName:"LabelHeaderComponentH2-bold" - x:44 - y:184 - width:178 - height:31 - Text { - // component (Instance) level: 1 Label - id: figma_i98_59_618_361 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:171 - height:31 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Информация" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 26 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - property Item i_delegate_98_59 - property matrix4x4 delegate_98_59_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_98_59_transformChanged: {if(i_delegate_98_59 && i_delegate_98_59.transform != delegate_98_59_transform) i_delegate_98_59.transform = delegate_98_59_transform;} - property real delegate_98_59_x: NaN - onDelegate_98_59_xChanged: {if(i_delegate_98_59 && i_delegate_98_59.x != delegate_98_59_x) i_delegate_98_59.x = delegate_98_59_x;} - property real delegate_98_59_y: NaN - onDelegate_98_59_yChanged: {if(i_delegate_98_59 && i_delegate_98_59.y != delegate_98_59_y) i_delegate_98_59.y = delegate_98_59_y;} - property real delegate_98_59_width: NaN - onDelegate_98_59_widthChanged: {if(i_delegate_98_59 && i_delegate_98_59.width != delegate_98_59_width) i_delegate_98_59.width = delegate_98_59_width;} - property real delegate_98_59_height: NaN - onDelegate_98_59_heightChanged: {if(i_delegate_98_59 && i_delegate_98_59.height != delegate_98_59_height) i_delegate_98_59.height = delegate_98_59_height;} - Component.onCompleted: { - const o_delegate_98_58 = {} - if(!isNaN(delegate_98_58_transform.m11)) o_delegate_98_58['transform'] = delegate_98_58_transform; - if(!isNaN(delegate_98_58_x)) o_delegate_98_58['x'] = delegate_98_58_x; - if(!isNaN(delegate_98_58_y)) o_delegate_98_58['y'] = delegate_98_58_y; - if(!isNaN(delegate_98_58_width)) o_delegate_98_58['width'] = delegate_98_58_width; - if(!isNaN(delegate_98_58_height)) o_delegate_98_58['height'] = delegate_98_58_height; - i_delegate_98_58 = delegate_98_58.createObject(this, o_delegate_98_58) - delegate_98_58_x = Qt.binding(()=>i_delegate_98_58.x) - delegate_98_58_y = Qt.binding(()=>i_delegate_98_58.y) - delegate_98_58_width = Qt.binding(()=>i_delegate_98_58.width) - delegate_98_58_height = Qt.binding(()=>i_delegate_98_58.height) - const o_delegate_98_59 = {} - if(!isNaN(delegate_98_59_transform.m11)) o_delegate_98_59['transform'] = delegate_98_59_transform; - if(!isNaN(delegate_98_59_x)) o_delegate_98_59['x'] = delegate_98_59_x; - if(!isNaN(delegate_98_59_y)) o_delegate_98_59['y'] = delegate_98_59_y; - if(!isNaN(delegate_98_59_width)) o_delegate_98_59['width'] = delegate_98_59_width; - if(!isNaN(delegate_98_59_height)) o_delegate_98_59['height'] = delegate_98_59_height; - i_delegate_98_59 = delegate_98_59.createObject(this, o_delegate_98_59) - delegate_98_59_x = Qt.binding(()=>i_delegate_98_59.x) - delegate_98_59_y = Qt.binding(()=>i_delegate_98_59.y) - delegate_98_59_width = Qt.binding(()=>i_delegate_98_59.width) - delegate_98_59_height = Qt.binding(()=>i_delegate_98_59.height) - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/FolderComponent22_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/FolderComponent22_figma.qml deleted file mode 100644 index c8baefb..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/FolderComponent22_figma.qml +++ /dev/null @@ -1,153 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 FolderComponent - id: figma_98_54 - // # "FolderComponent" - objectName:"FolderComponent" - x:0 - y:0 - width:266 - height:243 - color: "#fffcfbfe" - radius:33.25 - clip: true - property Component delegate_98_55: Item { - // component (Instance) level: 0 Folder 1 - id: figma_98_55 - // # "Folder 1" - objectName:"Folder 1" - x:0 - y:50 - width:266 - height:196.383 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_98_55 - maskSource: maskSource_figma_98_55 - } - Image { - id: source_figma_98_55 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/2f16aa7c1fce22dea11dc59bd1e521a7a653e18e.png" - } - Shape { - id: maskSource_figma_98_55 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.519531 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L266 0L266 196.383L0 196.383L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.519531 - fillColor:"#00000000" - // component (shapeFill) level: 0 - id: svgpath_figma_98_55 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_98_55 - path: "M0 0L266 0L266 196.383L0 196.383L0 0Z" - } - } - } - property alias path: path_0_figma_98_55.path - } - property Item i_delegate_98_55 - property matrix4x4 delegate_98_55_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_98_55_transformChanged: {if(i_delegate_98_55 && i_delegate_98_55.transform != delegate_98_55_transform) i_delegate_98_55.transform = delegate_98_55_transform;} - property real delegate_98_55_x: NaN - onDelegate_98_55_xChanged: {if(i_delegate_98_55 && i_delegate_98_55.x != delegate_98_55_x) i_delegate_98_55.x = delegate_98_55_x;} - property real delegate_98_55_y: NaN - onDelegate_98_55_yChanged: {if(i_delegate_98_55 && i_delegate_98_55.y != delegate_98_55_y) i_delegate_98_55.y = delegate_98_55_y;} - property real delegate_98_55_width: NaN - onDelegate_98_55_widthChanged: {if(i_delegate_98_55 && i_delegate_98_55.width != delegate_98_55_width) i_delegate_98_55.width = delegate_98_55_width;} - property real delegate_98_55_height: NaN - onDelegate_98_55_heightChanged: {if(i_delegate_98_55 && i_delegate_98_55.height != delegate_98_55_height) i_delegate_98_55.height = delegate_98_55_height;} - property Component delegate_98_56: LabelHeaderComponentH2_bold57_figma { - // component (Instance) level: 0 LabelHeaderComponentH2-bold - id: figma_98_56 - // # "LabelHeaderComponentH2-bold" - objectName:"LabelHeaderComponentH2-bold" - x:19 - y:121 - width:171 - height:31.0351 - Text { - // component (Instance) level: 1 Label - id: figma_i98_56_618_361 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:209 - height:31 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"ПапкаПроектов" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 26 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - property Item i_delegate_98_56 - property matrix4x4 delegate_98_56_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_98_56_transformChanged: {if(i_delegate_98_56 && i_delegate_98_56.transform != delegate_98_56_transform) i_delegate_98_56.transform = delegate_98_56_transform;} - property real delegate_98_56_x: NaN - onDelegate_98_56_xChanged: {if(i_delegate_98_56 && i_delegate_98_56.x != delegate_98_56_x) i_delegate_98_56.x = delegate_98_56_x;} - property real delegate_98_56_y: NaN - onDelegate_98_56_yChanged: {if(i_delegate_98_56 && i_delegate_98_56.y != delegate_98_56_y) i_delegate_98_56.y = delegate_98_56_y;} - property real delegate_98_56_width: NaN - onDelegate_98_56_widthChanged: {if(i_delegate_98_56 && i_delegate_98_56.width != delegate_98_56_width) i_delegate_98_56.width = delegate_98_56_width;} - property real delegate_98_56_height: NaN - onDelegate_98_56_heightChanged: {if(i_delegate_98_56 && i_delegate_98_56.height != delegate_98_56_height) i_delegate_98_56.height = delegate_98_56_height;} - Component.onCompleted: { - const o_delegate_98_55 = {} - if(!isNaN(delegate_98_55_transform.m11)) o_delegate_98_55['transform'] = delegate_98_55_transform; - if(!isNaN(delegate_98_55_x)) o_delegate_98_55['x'] = delegate_98_55_x; - if(!isNaN(delegate_98_55_y)) o_delegate_98_55['y'] = delegate_98_55_y; - if(!isNaN(delegate_98_55_width)) o_delegate_98_55['width'] = delegate_98_55_width; - if(!isNaN(delegate_98_55_height)) o_delegate_98_55['height'] = delegate_98_55_height; - i_delegate_98_55 = delegate_98_55.createObject(this, o_delegate_98_55) - delegate_98_55_x = Qt.binding(()=>i_delegate_98_55.x) - delegate_98_55_y = Qt.binding(()=>i_delegate_98_55.y) - delegate_98_55_width = Qt.binding(()=>i_delegate_98_55.width) - delegate_98_55_height = Qt.binding(()=>i_delegate_98_55.height) - const o_delegate_98_56 = {} - if(!isNaN(delegate_98_56_transform.m11)) o_delegate_98_56['transform'] = delegate_98_56_transform; - if(!isNaN(delegate_98_56_x)) o_delegate_98_56['x'] = delegate_98_56_x; - if(!isNaN(delegate_98_56_y)) o_delegate_98_56['y'] = delegate_98_56_y; - if(!isNaN(delegate_98_56_width)) o_delegate_98_56['width'] = delegate_98_56_width; - if(!isNaN(delegate_98_56_height)) o_delegate_98_56['height'] = delegate_98_56_height; - i_delegate_98_56 = delegate_98_56.createObject(this, o_delegate_98_56) - delegate_98_56_x = Qt.binding(()=>i_delegate_98_56.x) - delegate_98_56_y = Qt.binding(()=>i_delegate_98_56.y) - delegate_98_56_width = Qt.binding(()=>i_delegate_98_56.width) - delegate_98_56_height = Qt.binding(()=>i_delegate_98_56.height) - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/Frame_82934_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/Frame_82934_figma.qml new file mode 100644 index 0000000..407b2c7 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/Frame_82934_figma.qml @@ -0,0 +1,23 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 Frame 829 + id: figma_696_68 + // # "Frame 829" + objectName:"Frame 829" + x:0 + y:0 + width:149 + height:34.4433 + color: "transparent" + radius:6 + clip: false + Component.onCompleted: { + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/Frame_86032_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/Frame_86032_figma.qml new file mode 100644 index 0000000..083e4e0 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/Frame_86032_figma.qml @@ -0,0 +1,22 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 Frame 860 + id: figma_696_73 + // # "Frame 860" + objectName:"Frame 860" + x:0 + y:0 + width:100 + height:23 + color: "transparent" + clip: false + Component.onCompleted: { + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/HeaderValueComponent33_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/HeaderValueComponent33_figma.qml deleted file mode 100644 index 2eca189..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/HeaderValueComponent33_figma.qml +++ /dev/null @@ -1,64 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 HeaderValueComponent - id: figma_269_178 - // # "HeaderValueComponent" - objectName:"HeaderValueComponent" - x:0 - y:0 - width:54 - height:13 - color:"#00ffffff" - clip: false - property Component delegate_269_179: Text { - // component (Instance) level: 0 Label - id: figma_269_179 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:54 - height:13 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"Свободно" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - property Item i_delegate_269_179 - property matrix4x4 delegate_269_179_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_269_179_transformChanged: {if(i_delegate_269_179 && i_delegate_269_179.transform != delegate_269_179_transform) i_delegate_269_179.transform = delegate_269_179_transform;} - property real delegate_269_179_x: NaN - onDelegate_269_179_xChanged: {if(i_delegate_269_179 && i_delegate_269_179.x != delegate_269_179_x) i_delegate_269_179.x = delegate_269_179_x;} - property real delegate_269_179_y: NaN - onDelegate_269_179_yChanged: {if(i_delegate_269_179 && i_delegate_269_179.y != delegate_269_179_y) i_delegate_269_179.y = delegate_269_179_y;} - property real delegate_269_179_width: NaN - onDelegate_269_179_widthChanged: {if(i_delegate_269_179 && i_delegate_269_179.width != delegate_269_179_width) i_delegate_269_179.width = delegate_269_179_width;} - property real delegate_269_179_height: NaN - onDelegate_269_179_heightChanged: {if(i_delegate_269_179 && i_delegate_269_179.height != delegate_269_179_height) i_delegate_269_179.height = delegate_269_179_height;} - Component.onCompleted: { - const o_delegate_269_179 = {} - if(!isNaN(delegate_269_179_transform.m11)) o_delegate_269_179['transform'] = delegate_269_179_transform; - if(!isNaN(delegate_269_179_x)) o_delegate_269_179['x'] = delegate_269_179_x; - if(!isNaN(delegate_269_179_y)) o_delegate_269_179['y'] = delegate_269_179_y; - if(!isNaN(delegate_269_179_width)) o_delegate_269_179['width'] = delegate_269_179_width; - if(!isNaN(delegate_269_179_height)) o_delegate_269_179['height'] = delegate_269_179_height; - i_delegate_269_179 = delegate_269_179.createObject(this, o_delegate_269_179) - delegate_269_179_x = Qt.binding(()=>i_delegate_269_179.x) - delegate_269_179_y = Qt.binding(()=>i_delegate_269_179.y) - delegate_269_179_width = Qt.binding(()=>i_delegate_269_179.width) - delegate_269_179_height = Qt.binding(()=>i_delegate_269_179.height) - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/InputComponent33_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/InputComponent33_figma.qml deleted file mode 100644 index f5c48cf..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/InputComponent33_figma.qml +++ /dev/null @@ -1,182 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 InputComponent - id: figma_219_72 - // # "InputComponent" - objectName:"InputComponent" - x:0 - y:0 - width:231 - height:40 - color: "transparent" - clip: false - property Component delegate_219_73: Text { - // component (Instance) level: 0 Label - id: figma_219_73 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:231 - height:13 - color:"#ff302f38" - wrapMode: TextEdit.WordWrap - text:"Имя проекта" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - property Item i_delegate_219_73 - property matrix4x4 delegate_219_73_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_219_73_transformChanged: {if(i_delegate_219_73 && i_delegate_219_73.transform != delegate_219_73_transform) i_delegate_219_73.transform = delegate_219_73_transform;} - property real delegate_219_73_x: NaN - onDelegate_219_73_xChanged: {if(i_delegate_219_73 && i_delegate_219_73.x != delegate_219_73_x) i_delegate_219_73.x = delegate_219_73_x;} - property real delegate_219_73_y: NaN - onDelegate_219_73_yChanged: {if(i_delegate_219_73 && i_delegate_219_73.y != delegate_219_73_y) i_delegate_219_73.y = delegate_219_73_y;} - property real delegate_219_73_width: NaN - onDelegate_219_73_widthChanged: {if(i_delegate_219_73 && i_delegate_219_73.width != delegate_219_73_width) i_delegate_219_73.width = delegate_219_73_width;} - property real delegate_219_73_height: NaN - onDelegate_219_73_heightChanged: {if(i_delegate_219_73 && i_delegate_219_73.height != delegate_219_73_height) i_delegate_219_73.height = delegate_219_73_height;} - property Component delegate_219_155: Rectangle { - // component (Instance) level: 0 Frame 798 - id: figma_219_155 - // # "Frame 798" - objectName:"Frame 798" - x:0 - y:17 - width:231 - height:23 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0, 0, 0, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 226; y: 0.5 } -PathLine { x: 226; y: 0 } -PathLine { x: 226; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 231; y: 5 } -PathLine { x: 230.5; y: 5 } -PathLine { x: 230.5; y: 18 } -PathLine { x: 231; y: 18 } -PathLine { x: 231.5; y: 18 } -PathLine { x: 231.5; y: 5 } -PathLine { x: 231; y: 5 } -PathMove { x: 226; y: 23 } -PathLine { x: 226; y: 22.5 } -PathLine { x: 5; y: 22.5 } -PathLine { x: 5; y: 23 } -PathLine { x: 5; y: 23.5 } -PathLine { x: 226; y: 23.5 } -PathLine { x: 226; y: 23 } -PathMove { x: 0; y: 18 } -PathLine { x: 0.5; y: 18 } -PathLine { x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathLine { x: -0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathMove { x: 5; y: 23 } -PathLine { x: 5; y: 22.5 } -PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathLine { x: -0.5; y: 18 } -PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 } -PathLine { x: 5; y: 23 } -PathMove { x: 231; y: 18 } -PathLine { x: 230.5; y: 18 } -PathCubic { control1X: 230.5; control1Y: 20.4853; control2X: 228.485; control2Y: 22.5; x: 226; y: 22.5 } -PathLine { x: 226; y: 23 } -PathLine { x: 226; y: 23.5 } -PathCubic { control1X: 229.038; control1Y: 23.5; control2X: 231.5; control2Y: 21.0376; x: 231.5; y: 18 } -PathLine { x: 231; y: 18 } -PathMove { x: 226; y: 0 } -PathLine { x: 226; y: 0.5 } -PathCubic { control1X: 228.485; control1Y: 0.5; control2X: 230.5; control2Y: 2.51472; x: 230.5; y: 5 } -PathLine { x: 231; y: 5 } -PathLine { x: 231.5; y: 5 } -PathCubic { control1X: 231.5; control1Y: 1.96243; control2X: 229.038; control2Y: -0.5; x: 226; y: -0.5 } -PathLine { x: 226; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - TextField { - // component (Instance) level: 0 TextField - id: figma_219_74 - // # "TextField" - objectName:"TextField" - x:3 - y:0 - width:225 - height:23 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"1" -background: Rectangle {color: "transparent"} font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignVCenter - } - } - property Item i_delegate_219_155 - property matrix4x4 delegate_219_155_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_219_155_transformChanged: {if(i_delegate_219_155 && i_delegate_219_155.transform != delegate_219_155_transform) i_delegate_219_155.transform = delegate_219_155_transform;} - property real delegate_219_155_x: NaN - onDelegate_219_155_xChanged: {if(i_delegate_219_155 && i_delegate_219_155.x != delegate_219_155_x) i_delegate_219_155.x = delegate_219_155_x;} - property real delegate_219_155_y: NaN - onDelegate_219_155_yChanged: {if(i_delegate_219_155 && i_delegate_219_155.y != delegate_219_155_y) i_delegate_219_155.y = delegate_219_155_y;} - property real delegate_219_155_width: NaN - onDelegate_219_155_widthChanged: {if(i_delegate_219_155 && i_delegate_219_155.width != delegate_219_155_width) i_delegate_219_155.width = delegate_219_155_width;} - property real delegate_219_155_height: NaN - onDelegate_219_155_heightChanged: {if(i_delegate_219_155 && i_delegate_219_155.height != delegate_219_155_height) i_delegate_219_155.height = delegate_219_155_height;} - Component.onCompleted: { - const o_delegate_219_73 = {} - if(!isNaN(delegate_219_73_transform.m11)) o_delegate_219_73['transform'] = delegate_219_73_transform; - if(!isNaN(delegate_219_73_x)) o_delegate_219_73['x'] = delegate_219_73_x; - if(!isNaN(delegate_219_73_y)) o_delegate_219_73['y'] = delegate_219_73_y; - if(!isNaN(delegate_219_73_width)) o_delegate_219_73['width'] = delegate_219_73_width; - if(!isNaN(delegate_219_73_height)) o_delegate_219_73['height'] = delegate_219_73_height; - i_delegate_219_73 = delegate_219_73.createObject(this, o_delegate_219_73) - delegate_219_73_x = Qt.binding(()=>i_delegate_219_73.x) - delegate_219_73_y = Qt.binding(()=>i_delegate_219_73.y) - delegate_219_73_width = Qt.binding(()=>i_delegate_219_73.width) - delegate_219_73_height = Qt.binding(()=>i_delegate_219_73.height) - const o_delegate_219_155 = {} - if(!isNaN(delegate_219_155_transform.m11)) o_delegate_219_155['transform'] = delegate_219_155_transform; - if(!isNaN(delegate_219_155_x)) o_delegate_219_155['x'] = delegate_219_155_x; - if(!isNaN(delegate_219_155_y)) o_delegate_219_155['y'] = delegate_219_155_y; - if(!isNaN(delegate_219_155_width)) o_delegate_219_155['width'] = delegate_219_155_width; - if(!isNaN(delegate_219_155_height)) o_delegate_219_155['height'] = delegate_219_155_height; - i_delegate_219_155 = delegate_219_155.createObject(this, o_delegate_219_155) - delegate_219_155_x = Qt.binding(()=>i_delegate_219_155.x) - delegate_219_155_y = Qt.binding(()=>i_delegate_219_155.y) - delegate_219_155_width = Qt.binding(()=>i_delegate_219_155.width) - delegate_219_155_height = Qt.binding(()=>i_delegate_219_155.height) - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_InputComponent35_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/InputComponent42_figma.qml similarity index 68% rename from Quartz/pages/FigmaQmlInterface/qml/TestPage_InputComponent35_figma.qml rename to Quartz/pages/FigmaQmlInterface/qml/InputComponent42_figma.qml index 765bc59..64f5969 100644 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_InputComponent35_figma.qml +++ b/Quartz/pages/FigmaQmlInterface/qml/InputComponent42_figma.qml @@ -6,9 +6,17 @@ import QtQuick.Shapes import QtQuick.Controls import QtQuick.Shapes import FigmaQmlInterface -InputComponent33_figma { +Rectangle { // component (Instance) level: 0 InputComponent id: figma_219_72 // # "InputComponent" objectName:"InputComponent" + x:0 + y:0 + width:231 + height:40 + color: "transparent" + clip: false + Component.onCompleted: { + } } diff --git a/Quartz/pages/FigmaQmlInterface/qml/LabelComponent22_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/LabelComponent24_figma.qml similarity index 100% rename from Quartz/pages/FigmaQmlInterface/qml/LabelComponent22_figma.qml rename to Quartz/pages/FigmaQmlInterface/qml/LabelComponent24_figma.qml diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_LabelHeaderComponentH2_bold60_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH2_bold40_figma.qml similarity index 71% rename from Quartz/pages/FigmaQmlInterface/qml/TestPage_LabelHeaderComponentH2_bold60_figma.qml rename to Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH2_bold40_figma.qml index f82f995..d92fc9c 100644 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_LabelHeaderComponentH2_bold60_figma.qml +++ b/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH2_bold40_figma.qml @@ -6,9 +6,17 @@ import QtQuick.Shapes import QtQuick.Controls import QtQuick.Shapes import FigmaQmlInterface -LabelHeaderComponentH2_bold56_figma { +Rectangle { // component (Instance) level: 0 LabelHeaderComponentH2-bold id: figma_269_147 // # "LabelHeaderComponentH2-bold" objectName:"LabelHeaderComponentH2-bold" + x:0 + y:0 + width:171 + height:31 + color:"#00ffffff" + clip: false + Component.onCompleted: { + } } diff --git a/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH2_bold56_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH2_bold56_figma.qml deleted file mode 100644 index 220a960..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH2_bold56_figma.qml +++ /dev/null @@ -1,64 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 LabelHeaderComponentH2-bold - id: figma_269_147 - // # "LabelHeaderComponentH2-bold" - objectName:"LabelHeaderComponentH2-bold" - x:0 - y:0 - width:171 - height:31 - color:"#00ffffff" - clip: false - property Component delegate_269_148: Text { - // component (Instance) level: 0 Label - id: figma_269_148 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:171 - height:31 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 26 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - property Item i_delegate_269_148 - property matrix4x4 delegate_269_148_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_269_148_transformChanged: {if(i_delegate_269_148 && i_delegate_269_148.transform != delegate_269_148_transform) i_delegate_269_148.transform = delegate_269_148_transform;} - property real delegate_269_148_x: NaN - onDelegate_269_148_xChanged: {if(i_delegate_269_148 && i_delegate_269_148.x != delegate_269_148_x) i_delegate_269_148.x = delegate_269_148_x;} - property real delegate_269_148_y: NaN - onDelegate_269_148_yChanged: {if(i_delegate_269_148 && i_delegate_269_148.y != delegate_269_148_y) i_delegate_269_148.y = delegate_269_148_y;} - property real delegate_269_148_width: NaN - onDelegate_269_148_widthChanged: {if(i_delegate_269_148 && i_delegate_269_148.width != delegate_269_148_width) i_delegate_269_148.width = delegate_269_148_width;} - property real delegate_269_148_height: NaN - onDelegate_269_148_heightChanged: {if(i_delegate_269_148 && i_delegate_269_148.height != delegate_269_148_height) i_delegate_269_148.height = delegate_269_148_height;} - Component.onCompleted: { - const o_delegate_269_148 = {} - if(!isNaN(delegate_269_148_transform.m11)) o_delegate_269_148['transform'] = delegate_269_148_transform; - if(!isNaN(delegate_269_148_x)) o_delegate_269_148['x'] = delegate_269_148_x; - if(!isNaN(delegate_269_148_y)) o_delegate_269_148['y'] = delegate_269_148_y; - if(!isNaN(delegate_269_148_width)) o_delegate_269_148['width'] = delegate_269_148_width; - if(!isNaN(delegate_269_148_height)) o_delegate_269_148['height'] = delegate_269_148_height; - i_delegate_269_148 = delegate_269_148.createObject(this, o_delegate_269_148) - delegate_269_148_x = Qt.binding(()=>i_delegate_269_148.x) - delegate_269_148_y = Qt.binding(()=>i_delegate_269_148.y) - delegate_269_148_width = Qt.binding(()=>i_delegate_269_148.width) - delegate_269_148_height = Qt.binding(()=>i_delegate_269_148.height) - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH364_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH326_figma.qml similarity index 100% rename from Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH364_figma.qml rename to Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH326_figma.qml diff --git a/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH363_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH363_figma.qml deleted file mode 100644 index f88243b..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/LabelHeaderComponentH363_figma.qml +++ /dev/null @@ -1,64 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 LabelHeaderComponentH3 - id: figma_269_166 - // # "LabelHeaderComponentH3" - objectName:"LabelHeaderComponentH3" - x:0 - y:0 - width:110 - height:20 - color:"#00ffffff" - clip: false - property Component delegate_269_167: Text { - // component (Instance) level: 0 Label - id: figma_269_167 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:110 - height:20 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Информация" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - property Item i_delegate_269_167 - property matrix4x4 delegate_269_167_transform: Qt.matrix4x4(Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,Nan,) - onDelegate_269_167_transformChanged: {if(i_delegate_269_167 && i_delegate_269_167.transform != delegate_269_167_transform) i_delegate_269_167.transform = delegate_269_167_transform;} - property real delegate_269_167_x: NaN - onDelegate_269_167_xChanged: {if(i_delegate_269_167 && i_delegate_269_167.x != delegate_269_167_x) i_delegate_269_167.x = delegate_269_167_x;} - property real delegate_269_167_y: NaN - onDelegate_269_167_yChanged: {if(i_delegate_269_167 && i_delegate_269_167.y != delegate_269_167_y) i_delegate_269_167.y = delegate_269_167_y;} - property real delegate_269_167_width: NaN - onDelegate_269_167_widthChanged: {if(i_delegate_269_167 && i_delegate_269_167.width != delegate_269_167_width) i_delegate_269_167.width = delegate_269_167_width;} - property real delegate_269_167_height: NaN - onDelegate_269_167_heightChanged: {if(i_delegate_269_167 && i_delegate_269_167.height != delegate_269_167_height) i_delegate_269_167.height = delegate_269_167_height;} - Component.onCompleted: { - const o_delegate_269_167 = {} - if(!isNaN(delegate_269_167_transform.m11)) o_delegate_269_167['transform'] = delegate_269_167_transform; - if(!isNaN(delegate_269_167_x)) o_delegate_269_167['x'] = delegate_269_167_x; - if(!isNaN(delegate_269_167_y)) o_delegate_269_167['y'] = delegate_269_167_y; - if(!isNaN(delegate_269_167_width)) o_delegate_269_167['width'] = delegate_269_167_width; - if(!isNaN(delegate_269_167_height)) o_delegate_269_167['height'] = delegate_269_167_height; - i_delegate_269_167 = delegate_269_167.createObject(this, o_delegate_269_167) - delegate_269_167_x = Qt.binding(()=>i_delegate_269_167.x) - delegate_269_167_y = Qt.binding(()=>i_delegate_269_167.y) - delegate_269_167_width = Qt.binding(()=>i_delegate_269_167.width) - delegate_269_167_height = Qt.binding(()=>i_delegate_269_167.height) - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/ProgressBarComponent28_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/ProgressBarComponent28_figma.qml new file mode 100644 index 0000000..16e8c47 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/ProgressBarComponent28_figma.qml @@ -0,0 +1,23 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 ProgressBarComponent + id: figma_696_78 + // # "ProgressBarComponent" + objectName:"ProgressBarComponent" + x:0 + y:0 + width:209 + height:10 + color: "transparent" + radius:5 + clip: true + Component.onCompleted: { + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/ProgressTranslateCancelButton30_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/ProgressTranslateCancelButton38_figma.qml similarity index 100% rename from Quartz/pages/FigmaQmlInterface/qml/ProgressTranslateCancelButton30_figma.qml rename to Quartz/pages/FigmaQmlInterface/qml/ProgressTranslateCancelButton38_figma.qml diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnCenter_transform2_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnCenter_transform2_figma.qml deleted file mode 100644 index e89ce21..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnCenter_transform2_figma.qml +++ /dev/null @@ -1,248 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 ColumnCenter-transform - id: figma_94_92 - // # "ColumnCenter-transform" - objectName:"ColumnCenter-transform" - x:0 - y:0 - width:344 - height:607 - color:"#ffffffff" - clip: true - - Rectangle { - // component (Instance) level: 0 Frame 797 - id: figma_219_154 - // # "Frame 797" - objectName:"Frame 797" - x: (figma_94_92.width - width) / 2 + 1.5 - y: (figma_94_92.height - height) / 2 + 0.5 - width:255 - height:254 - color: "transparent" - clip: false - - Rectangle { - // component (Instance) level: 0 TransformButton - id: figma_94_93 - // # "TransformButton" - objectName:"TransformButton" - x: (figma_219_154.width - width) / 2 - y: (figma_219_154.height - height) / 2 + 27 - width:255 - height:200 - color:"#fffcfbfc" - radius:30 - clip: true - - Item { - // component (Instance) level: 0 RefreshIcon - id: figma_94_94 - // # "RefreshIcon" - objectName:"RefreshIcon" - x: (figma_94_93.width - width) / 2 + 0.5 - y:10 - width:100 - height:100 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_94_94 - maskSource: maskSource_figma_94_94 - } - Image { - id: source_figma_94_94 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/8500eafa1c0b05136ba0d949af53c060439d9230.png" - } - Shape { - id: maskSource_figma_94_94 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:1 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L100 0L100 100L0 100L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:1 - fillColor:"#00000000" - // component (shapeFill) level: 0 - id: svgpath_figma_94_94 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_94_94 - path: "M0 0L100 0L100 100L0 100L0 0Z" - } - } - } - property alias path: path_0_figma_94_94.path - } - Text { - // component (Instance) level: 0 Преобразовать - id: figma_94_95 - // # "Преобразовать" - objectName:"Преобразовать" - x: (figma_94_93.width - width) / 2 + 0.5 - y:123 - width:242 - height:39 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Преобразовать" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 32 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - InputComponent33_figma { - // component (Instance) level: 0 InputComponent - id: figma_219_169 - // # "InputComponent" - objectName:"InputComponent" - x: (figma_219_154.width - width) / 2 - y:-40 - delegate_219_73: Text { - // component (Instance) level: 1 ProjectLabel - id: figma_i219_169_219_73 - // # "ProjectLabel" - objectName:"ProjectLabel" - x:0 - y:0 - width:231 - height:13 - color:"#ff302f38" - wrapMode: TextEdit.WordWrap - text:"Имя проекта" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - delegate_219_155: Rectangle { - // component (Instance) level: 1 StrokeElement - id: figma_i219_169_219_155 - // # "StrokeElement" - objectName:"StrokeElement" - x:0 - y:17 - width:231 - height:23 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0, 0, 0, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 226; y: 0.5 } -PathLine { x: 226; y: 0 } -PathLine { x: 226; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 231; y: 5 } -PathLine { x: 230.5; y: 5 } -PathLine { x: 230.5; y: 18 } -PathLine { x: 231; y: 18 } -PathLine { x: 231.5; y: 18 } -PathLine { x: 231.5; y: 5 } -PathLine { x: 231; y: 5 } -PathMove { x: 226; y: 23 } -PathLine { x: 226; y: 22.5 } -PathLine { x: 5; y: 22.5 } -PathLine { x: 5; y: 23 } -PathLine { x: 5; y: 23.5 } -PathLine { x: 226; y: 23.5 } -PathLine { x: 226; y: 23 } -PathMove { x: 0; y: 18 } -PathLine { x: 0.5; y: 18 } -PathLine { x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathLine { x: -0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathMove { x: 5; y: 23 } -PathLine { x: 5; y: 22.5 } -PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathLine { x: -0.5; y: 18 } -PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 } -PathLine { x: 5; y: 23 } -PathMove { x: 231; y: 18 } -PathLine { x: 230.5; y: 18 } -PathCubic { control1X: 230.5; control1Y: 20.4853; control2X: 228.485; control2Y: 22.5; x: 226; y: 22.5 } -PathLine { x: 226; y: 23 } -PathLine { x: 226; y: 23.5 } -PathCubic { control1X: 229.038; control1Y: 23.5; control2X: 231.5; control2Y: 21.0376; x: 231.5; y: 18 } -PathLine { x: 231; y: 18 } -PathMove { x: 226; y: 0 } -PathLine { x: 226; y: 0.5 } -PathCubic { control1X: 228.485; control1Y: 0.5; control2X: 230.5; control2Y: 2.51472; x: 230.5; y: 5 } -PathLine { x: 231; y: 5 } -PathLine { x: 231.5; y: 5 } -PathCubic { control1X: 231.5; control1Y: 1.96243; control2X: 229.038; control2Y: -0.5; x: 226; y: -0.5 } -PathLine { x: 226; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - TextField { - // component (Instance) level: 1 ProjectTextField - id: figma_i219_169_219_74 - // # "ProjectTextField" - objectName:"ProjectTextField" - x:3 - y:0 - width:225 - height:23 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"1" -background: Rectangle {color: "transparent"} font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignVCenter - } - } - } - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnCenter_translating2_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnCenter_translating2_figma.qml deleted file mode 100644 index b09ca7b..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnCenter_translating2_figma.qml +++ /dev/null @@ -1,163 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 ColumnCenter-translating - id: figma_94_97 - // # "ColumnCenter-translating" - objectName:"ColumnCenter-translating" - x:0 - y:0 - width:344 - height:607 - color:"#ffffffff" - clip: true - - LabelComponent22_figma { - // component (Instance) level: 0 ProgressTransformLabelItem - id: figma_94_98 - // # "ProgressTransformLabelItem" - objectName:"ProgressTransformLabelItem" - x:48 - y:258 - Text { - // component (Instance) level: 1 ProgressTransformLabel - id: figma_i94_98_613_450 - // # "ProgressTransformLabel" - objectName:"ProgressTransformLabel" - x:0 - y:0 - width:146 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Преобразование..." - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 TranslateProgressBar - id: figma_94_99 - // # "TranslateProgressBar" - objectName:"TranslateProgressBar" - x:49 - y:285 - width:249 - height:22 - color: "transparent" - clip: true -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0.545103, 0.429919, 0.961538, 1) - strokeWidth: 2 - fillColor: "transparent" - PathMove { x: 0; y: 0 } -PathLine { x: 0; y: -1 } -PathLine { x: -1; y: -1 } -PathLine { x: -1; y: 0 } -PathLine { x: 0; y: 0 } -PathMove { x: 249; y: 0 } -PathLine { x: 250; y: 0 } -PathLine { x: 250; y: -1 } -PathLine { x: 249; y: -1 } -PathLine { x: 249; y: 0 } -PathMove { x: 249; y: 22 } -PathLine { x: 249; y: 23 } -PathLine { x: 250; y: 23 } -PathLine { x: 250; y: 22 } -PathLine { x: 249; y: 22 } -PathMove { x: 0; y: 22 } -PathLine { x: -1; y: 22 } -PathLine { x: -1; y: 23 } -PathLine { x: 0; y: 23 } -PathLine { x: 0; y: 22 } -PathMove { x: 0; y: 0 } -PathLine { x: 0; y: 1 } -PathLine { x: 249; y: 1 } -PathLine { x: 249; y: 0 } -PathLine { x: 249; y: -1 } -PathLine { x: 0; y: -1 } -PathLine { x: 0; y: 0 } -PathMove { x: 249; y: 0 } -PathLine { x: 248; y: 0 } -PathLine { x: 248; y: 22 } -PathLine { x: 249; y: 22 } -PathLine { x: 250; y: 22 } -PathLine { x: 250; y: 0 } -PathLine { x: 249; y: 0 } -PathMove { x: 249; y: 22 } -PathLine { x: 249; y: 21 } -PathLine { x: 0; y: 21 } -PathLine { x: 0; y: 22 } -PathLine { x: 0; y: 23 } -PathLine { x: 249; y: 23 } -PathLine { x: 249; y: 22 } -PathMove { x: 0; y: 22 } -PathLine { x: 1; y: 22 } -PathLine { x: 1; y: 0 } -PathLine { x: 0; y: 0 } -PathLine { x: -1; y: 0 } -PathLine { x: -1; y: 22 } -PathLine { x: 0; y: 22 } -}} - Rectangle { - // component (Instance) level: 0 TranslateProgressBarFilled - id: figma_94_100 - // # "TranslateProgressBarFilled" - objectName:"TranslateProgressBarFilled" - x:0 - y:0 - width:40 - height:22 - color:"#ff8b6ef5" - clip: true - - } - } - Rectangle { - // component (Instance) level: 0 ProgressTranslateCancelButton - id: figma_94_101 - // # "ProgressTranslateCancelButton" - objectName:"ProgressTranslateCancelButton" - x:52 - y:319 - width:244 - height:31 - color:"#ff8b6ef5" - radius:30 - clip: true - - Text { - // component (Instance) level: 0 CancelLabel - id: figma_94_102 - // # "CancelLabel" - objectName:"CancelLabel" - x: (figma_94_101.width - width) / 2 - y: (figma_94_101.height - height) / 2 - width:78 - height:19 - color:"#ffffffff" - wrapMode: TextEdit.WordWrap - text:"Отменить" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnLeft_resultTranslatePasport2_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnLeft_resultTranslatePasport2_figma.qml deleted file mode 100644 index 4e1023b..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ColumnLeft_resultTranslatePasport2_figma.qml +++ /dev/null @@ -1,297 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 ColumnLeft-resultTranslatePasport - id: figma_443_34 - // # "ColumnLeft-resultTranslatePasport" - objectName:"ColumnLeft-resultTranslatePasport" - x:0 - y:0 - width:344 - height:607 - color:"#ffffffff" - clip: true - - Rectangle { - // component (Instance) level: 0 Frame 798 - id: figma_443_35 - // # "Frame 798" - objectName:"Frame 798" - x:0 - y:0 - width:344 - height:31 - color:"#ffeeeaea" - clip: true - - LabelComponent22_figma { - // component (Instance) level: 0 LabelComponent - id: figma_443_36 - // # "LabelComponent" - objectName:"LabelComponent" - x:14 - y:6 - width:316 - height:19 - Text { - // component (Instance) level: 1 Label - id: figma_i443_36_613_450 - // # "Label" - objectName:"Label" - x:124 - y:0 - width:67 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Паспорт" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - } - ProgressTranslateCancelButton30_figma { - // component (Instance) level: 0 ShowProjectButton - id: figma_443_37 - // # "ShowProjectButton" - objectName:"ShowProjectButton" - x:26 - y:512 - width:272 - height:30 - Text { - // component (Instance) level: 1 ShowLabel - id: figma_i443_37_652_314 - // # "ShowLabel" - objectName:"ShowLabel" - x:83 - y:5 - width:106 - height:19 - color:"#ffffffff" - wrapMode: TextEdit.WordWrap - text:"Просмотреть" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - ProgressTranslateCancelButton30_figma { - // component (Instance) level: 0 DeleteProjectButton - id: figma_443_38 - // # "DeleteProjectButton" - objectName:"DeleteProjectButton" - x:26 - y:555 - width:272 - height:30 - color: "transparent" - Text { - // component (Instance) level: 1 RemoveLabel - id: figma_i443_38_652_314 - // # "RemoveLabel" - objectName:"RemoveLabel" - x:103 - y:5 - width:65 - height:19 - color:"#ff110202" - wrapMode: TextEdit.WordWrap - text:"Удалить" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 Frame 803 - id: figma_443_39 - // # "Frame 803" - objectName:"Frame 803" - x:0 - y:38 - width:341 - height:448 - color: "transparent" - clip: false - - Rectangle { - // component (Instance) level: 0 Frame 801 - id: figma_443_40 - // # "Frame 801" - objectName:"Frame 801" - x:4 - y:0 - width:333 - height:19 - color: "transparent" - clip: false - - Text { - // component (Instance) level: 0 Label - id: figma_443_41 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:125 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Проект" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - Text { - // component (Instance) level: 0 ProjecNameLabel - id: figma_443_42 - // # "ProjecNameLabel" - objectName:"ProjecNameLabel" - x:125 - y:0 - width:208 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Краснокаменская" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 Frame 800 - id: figma_443_43 - // # "Frame 800" - objectName:"Frame 800" - x:4 - y:25 - width:333 - height:19 - color: "transparent" - clip: false - - Text { - // component (Instance) level: 0 Label - id: figma_443_44 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:125 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Расположение" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - Text { - // component (Instance) level: 0 ProjectPathLabel - id: figma_443_45 - // # "ProjectPathLabel" - objectName:"ProjectPathLabel" - x:125 - y:0 - width:208 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"D:\Projects\Qt" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 Frame 802 - id: figma_443_46 - // # "Frame 802" - objectName:"Frame 802" - x:4 - y:50 - width:333 - height:19 - color: "transparent" - clip: false - - Text { - // component (Instance) level: 0 Label - id: figma_443_47 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:125 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Статус" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - Text { - // component (Instance) level: 0 ProjectStatusLabel - id: figma_443_48 - // # "ProjectStatusLabel" - objectName:"ProjectStatusLabel" - x:125 - y:0 - width:208 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"не преобразован" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentListAvalibleSize4_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentListAvalibleSize4_figma.qml new file mode 100644 index 0000000..4b78f19 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentListAvalibleSize4_figma.qml @@ -0,0 +1,119 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 ComponentListAvalibleSize + id: figma_696_198 + // # "ComponentListAvalibleSize" + objectName:"ComponentListAvalibleSize" + x:0 + y:0 + width:182 + height:49 + color:"#fff0f0f0" + radius:5.82084 + clip: true + + C15_43_GB30_figma { + // component (Instance) level: 0 LabelAvailibleSizeButtonComponent + id: figma_696_199 + // # "LabelAvailibleSizeButtonComponent" + objectName:"LabelAvailibleSizeButtonComponent" + x:86 + y:14 + width:83.6746 + height:22.5558 + Text { + // component (Instance) level: 1 LabelAvailibleSizeButton + id: figma_i696_199_613_432 + // # "LabelAvailibleSizeButton" + objectName:"LabelAvailibleSizeButton" + x:0 + y:0 + width:84 + height:23 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"15.43 GB" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 18 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressBarComponent28_figma { + // component (Instance) level: 0 AvailibleSizeProgressBar + id: figma_696_200 + // # "AvailibleSizeProgressBar" + objectName:"AvailibleSizeProgressBar" + x:12 + y:38 + width:158 + height:8 + Rectangle { + // component (Instance) level: 1 AvailibleSizeProgressBarPassedBar + id: figma_i696_200_613_435 + // # "AvailibleSizeProgressBarPassedBar" + objectName:"AvailibleSizeProgressBarPassedBar" + x:0 + y:0 + width:112.051 + height:7.27605 + color:"#ffdb1c1c" + radius:3.63803 + clip: true + + } + } + Rectangle { + // component (Instance) level: 0 Frame 840 + id: figma_696_201 + // # "Frame 840" + objectName:"Frame 840" + x:12 + y:-9 + width:152 + height:4 + color: "transparent" + clip: true + + } + LabelComponent24_figma { + // component (Instance) level: 0 LabelComponent + id: figma_696_202 + // # "LabelComponent" + objectName:"LabelComponent" + x:12 + y:7 + width:139.628 + height:15 + Text { + // component (Instance) level: 1 Label + id: figma_i696_202_613_450 + // # "Label" + objectName:"Label" + x:0 + y:0 + width:59 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Свободно" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentProjectItem3_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentProjectItem3_figma.qml new file mode 100644 index 0000000..76693a5 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentProjectItem3_figma.qml @@ -0,0 +1,120 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Frame_82934_figma { +// component (Instance) level: 0 ComponentProjectItem + id: figma_696_258 + // # "ComponentProjectItem" + objectName:"ComponentProjectItem" + x:0 + y:0 + width:408 + height:34.4433 + color:"#ffb3ccff" + Rectangle { + // component (Instance) level: 1 Frame 846 + id: figma_i696_258_664_589 + // # "Frame 846" + objectName:"Frame 846" + x:4 + y:4 + width:400 + height:26.4433 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 1 Frame 854 + id: figma_i696_258_668_468 + // # "Frame 854" + objectName:"Frame 854" + x:0 + y:0 + width:20 + height:26.4433 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 1 file 1 1 + id: figma_i696_258_664_400 + // # "file 1 1" + objectName:"file 1 1" + x: (figma_i696_258_668_468.width - width) / 2 - 0.269006 + y: (figma_i696_258_668_468.height - height) / 2 + width:15.462 + height:20.4433 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_i696_258_664_400 + maskSource: maskSource_figma_i696_258_664_400 + } + Image { + id: source_figma_i696_258_664_400 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/1c48981d7f65b8590c4a278fdac35cda16325ad5.png" + } + Shape { + id: maskSource_figma_i696_258_664_400 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0398505 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L15.462 0L15.462 20.4433L0 20.4433L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0398505 + fillColor:"#00000000" + // component (shapeFill) level: 1 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_i696_258_664_400 + path: "M0 0L15.462 0L15.462 20.4433L0 20.4433L0 0Z" + } + } + } + property alias path: path_0_figma_i696_258_664_400.path + } + } + Text { + // component (Instance) level: 1 Третьяковская + id: figma_i696_258_664_404 + // # "Третьяковская" + objectName:"Третьяковская" + x:30 + y:7 + width:108 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Краснокаменская" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentStage1_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentStage1_figma.qml new file mode 100644 index 0000000..d2a68f5 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentStage1_figma.qml @@ -0,0 +1,61 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Frame_86032_figma { +// component (Instance) level: 0 ComponentStage + id: figma_703_616 + // # "ComponentStage" + objectName:"ComponentStage" + x:0 + y:0 + width:144 + height:23 + Shape { + // component (Instance) level: 1 Ellipse 3 + id: figma_i703_616_670_555 + // # "Ellipse 3" + objectName:"Ellipse 3" + x:0 + y:6 + width:10 + height:10 + ShapePath { + id: svgpath_figma_i703_616_670_555 + strokeColor: "transparent" + strokeWidth:1 + fillColor:"#ffd9d9d9" + // component (shapeFill) level: 1 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_i703_616_670_555 + path: "M10 5C10 7.76142 7.76142 10 5 10C2.23858 10 0 7.76142 0 5C0 2.23858 2.23858 0 5 0C7.76142 0 10 2.23858 10 5Z" + } + } + property alias path: path_0_figma_i703_616_670_555.path + } + Text { + // component (Instance) level: 1 Выбор файлов + id: figma_i703_616_670_553 + // # "Выбор файлов" + objectName:"Выбор файлов" + x:14 + y:4 + width:130 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Указание параметров" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentTitle4_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentTitle4_figma.qml new file mode 100644 index 0000000..5d1c675 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ComponentTitle4_figma.qml @@ -0,0 +1,491 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 ComponentTitle + id: figma_729_641 + // # "ComponentTitle" + objectName:"ComponentTitle" + x:0 + y:0 + width:600 + height:32 + color:"#ffcccccc" + clip: true + + Text { + // component (Instance) level: 0 LabelTitle + id: figma_729_642 + // # "LabelTitle" + objectName:"LabelTitle" + x: (figma_729_641.width - width) / 2 + 19.5 + y: (figma_729_641.height - height) / 2 + 0.5 + width:381 + height:31 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Кварц: Главная" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 11 + font.weight: Font.Normal + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + } + Rectangle { + // component (Instance) level: 0 Frame 815 + id: figma_729_643 + // # "Frame 815" + objectName:"Frame 815" + x:510 + y: (figma_729_641.height - height) / 2 + 0.5 + width:90 + height:33 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 HideWindow + id: figma_729_644 + // # "HideWindow" + objectName:"HideWindow" + x:0 + y:1 + width:45 + height:31 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 814 + id: figma_729_645 + // # "Frame 814" + objectName:"Frame 814" + x: (figma_729_644.width - width) / 2 + 1.5 + y: (figma_729_644.height - height) / 2 + width:12 + height:1 + color: "transparent" + clip: false + + Shape { + // component (Instance) level: 0 Rectangle 27 + id: figma_729_646 + // # "Rectangle 27" + objectName:"Rectangle 27" + x:0 + y:0 + width:12 + height:1.04762 + ShapePath { + strokeColor: "transparent" + strokeWidth:0.52381 + fillColor:"#ff000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_646 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_646 + path: "M0 0L12 0L12 1.04762L0 1.04762L0 0Z" + } + } + property alias path: path_0_figma_729_646.path + } + } + } + Rectangle { + // component (Instance) level: 0 CloseWindow + id: figma_729_647 + // # "CloseWindow" + objectName:"CloseWindow" + x:45 + y:1 + width:45 + height:31 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 813 + id: figma_729_648 + // # "Frame 813" + objectName:"Frame 813" + x: (figma_729_647.width - width) / 2 + y: (figma_729_647.height - height) / 2 - 0.357143 + width:15 + height:14.2857 + color: "transparent" + clip: false + + Shape { + // component (Instance) level: 0 Rectangle 28 + id: figma_729_649 + // # "Rectangle 28" + objectName:"Rectangle 28" + transform: Matrix4x4 { + matrix: Qt.matrix4x4( + 0.707107, 0.707107, -1.81899e-12, 0, + -0.707107, 0.707107, 13.5742, 0, + 0, 0, 1, 0, + 0, 0, 0, 1) + } + x:0 + y:13 + width:19.1958 + height:1 + ShapePath { + strokeColor: "transparent" + strokeWidth:0.714286 + fillColor:"#ff000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_649 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_649 + path: "M0 0L19.1958 0L19.1958 1L0 1L0 0Z" + } + } + property alias path: path_0_figma_729_649.path + } + Shape { + // component (Instance) level: 0 Rectangle 29 + id: figma_729_650 + // # "Rectangle 29" + objectName:"Rectangle 29" + transform: Matrix4x4 { + matrix: Qt.matrix4x4( + 0.707107, -0.707107, 1.26001, 0, + 0.707107, 0.707107, -0.104736, 0, + 0, 0, 1, 0, + 0, 0, 0, 1) + } + x:1 + y:0 + width:19.2278 + height:1 + ShapePath { + strokeColor: "transparent" + strokeWidth:0.714286 + fillColor:"#ff000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_650 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_650 + path: "M0 0L19.2278 0L19.2278 1L0 1L0 0Z" + } + } + property alias path: path_0_figma_729_650.path + } + } + } + } + Rectangle { + // component (Instance) level: 0 Frame 844 + id: figma_729_651 + // # "Frame 844" + objectName:"Frame 844" + x:0 + y:0 + width:140 + height:32 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 851 + id: figma_729_652 + // # "Frame 851" + objectName:"Frame 851" + x:0 + y:0 + width:35 + height:32 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 0 Logo 2 + id: figma_729_653 + // # "Logo 2" + objectName:"Logo 2" + x: (figma_729_652.width - width) / 2 + 0.0555544 + y: (figma_729_652.height - height) / 2 + width:31.1111 + height:28 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_729_653 + maskSource: maskSource_figma_729_653 + } + Image { + id: source_figma_729_653 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/81b8090b737e9cc1aca3c8512aa46b1a507b23a5.png" + } + Shape { + id: maskSource_figma_729_653 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0292099 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L31.1111 0L31.1111 28L0 28L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0292099 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_653 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_653 + path: "M0 0L31.1111 0L31.1111 28L0 28L0 0Z" + } + } + } + property alias path: path_0_figma_729_653.path + } + } + Rectangle { + // component (Instance) level: 0 Frame 858 + id: figma_729_654 + // # "Frame 858" + objectName:"Frame 858" + x:40 + y:0 + width:82.4242 + height:32 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 HomeItemMenu + id: figma_729_655 + // # "HomeItemMenu" + objectName:"HomeItemMenu" + x:0 + y:2 + width:26.1818 + height:26.1818 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 0 #HomeIcon + id: figma_729_656 + // # "#HomeIcon" + objectName:"#HomeIcon" + x: (figma_729_655.width - width) / 2 - 1.37799 + y:4 + width:23.4258 + height:20.2314 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_729_656 + maskSource: maskSource_figma_729_656 + } + Image { + id: source_figma_729_656 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/c98a8dfa5e5ae60415372792b482ee2395f3c244.png" + } + Shape { + id: maskSource_figma_729_656 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.176296 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L23.4258 0L23.4258 20.2314L0 20.2314L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.176296 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_656 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_656 + path: "M0 0L23.4258 0L23.4258 20.2314L0 20.2314L0 0Z" + } + } + } + property alias path: path_0_figma_729_656.path + } + } + Rectangle { + // component (Instance) level: 0 ProjectsItemMenu + id: figma_729_657 + // # "ProjectsItemMenu" + objectName:"ProjectsItemMenu" + x:28 + y:2 + width:26.1818 + height:26.1818 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 0 ProjectIcon + id: figma_729_658 + // # "ProjectIcon" + objectName:"ProjectIcon" + x: (figma_729_657.width - width) / 2 - 0.454545 + y:6 + width:23.2727 + height:17.4545 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_729_658 + maskSource: maskSource_figma_729_658 + } + Image { + id: source_figma_729_658 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/3c0e227d940391143941250369cfabae13fc1068.png" + } + Shape { + id: maskSource_figma_729_658 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.284043 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L23.2727 0L23.2727 17.4545L0 17.4545L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.284043 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_658 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_658 + path: "M0 0L23.2727 0L23.2727 17.4545L0 17.4545L0 0Z" + } + } + } + property alias path: path_0_figma_729_658.path + } + } + Rectangle { + // component (Instance) level: 0 CreateProjectItemMenu + id: figma_729_668 + // # "CreateProjectItemMenu" + objectName:"CreateProjectItemMenu" + x:56 + y:2 + width:26.1818 + height:26.1818 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 0 filecreate 1 + id: figma_729_660 + // # "filecreate 1" + objectName:"filecreate 1" + x: (figma_729_668.width - width) / 2 - 0.818182 + y: (figma_729_668.height - height) / 2 + 0.606061 + width:14.5455 + height:19.3939 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_729_660 + maskSource: maskSource_figma_729_660 + } + Image { + id: source_figma_729_660 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/5845797c11bd3dce41447016f80ae3ecd6372c45.png" + } + Shape { + id: maskSource_figma_729_660 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0191688 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L14.5455 0L14.5455 19.3939L0 19.3939L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0191688 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_660 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_660 + path: "M0 0L14.5455 0L14.5455 19.3939L0 19.3939L0 0Z" + } + } + } + property alias path: path_0_figma_729_660.path + } + } + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_FileComponent25_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_FileComponent25_figma.qml deleted file mode 100644 index b9d8dbf..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_FileComponent25_figma.qml +++ /dev/null @@ -1,14 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -FileComponent23_figma { -// component (Instance) level: 0 FileComponent - id: figma_98_57 - // # "FileComponent" - objectName:"FileComponent" -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_FolderComponent24_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_FolderComponent24_figma.qml deleted file mode 100644 index df64d76..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_FolderComponent24_figma.qml +++ /dev/null @@ -1,14 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -FolderComponent22_figma { -// component (Instance) level: 0 FolderComponent - id: figma_98_54 - // # "FolderComponent" - objectName:"FolderComponent" -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_Frame_8101_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_Frame_8101_figma.qml deleted file mode 100644 index 805d13f..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_Frame_8101_figma.qml +++ /dev/null @@ -1,22 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 Frame 810 - id: figma_518_62 - // # "Frame 810" - objectName:"Frame 810" - x:0 - y:0 - width:114 - height:26 - color:"#ffffffff" - radius:30 - clip: true - -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_HeaderValueComponent35_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_HeaderValueComponent35_figma.qml deleted file mode 100644 index 700e454..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_HeaderValueComponent35_figma.qml +++ /dev/null @@ -1,14 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -HeaderValueComponent33_figma { -// component (Instance) level: 0 HeaderValueComponent - id: figma_269_178 - // # "HeaderValueComponent" - objectName:"HeaderValueComponent" -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_HomePage6_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_HomePage6_figma.qml new file mode 100644 index 0000000..b5c6746 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_HomePage6_figma.qml @@ -0,0 +1,702 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 HomePage + id: figma_696_84 + // # "HomePage" + objectName:"HomePage" + x:0 + y:0 + width:600 + height:418 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 848 + id: figma_696_85 + // # "Frame 848" + objectName:"Frame 848" + x:0 + y:0 + width:159 + height:418 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 796 + id: figma_696_86 + // # "Frame 796" + objectName:"Frame 796" + x:0 + y:0 + width:159 + height:418 + color:"#ffeeeeee" + clip: false + + Rectangle { + // component (Instance) level: 0 Column + id: figma_696_87 + // # "Column" + objectName:"Column" + x:0 + y:0 + width:159 + height:113.27 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 BackItemPP + id: figma_696_88 + // # "BackItemPP" + objectName:"BackItemPP" + x:0 + y:6 + width:159 + height:31.27 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 BackItemP + id: figma_729_673 + // # "BackItemP" + objectName:"BackItemP" + x:5 + y:3 + width:27.27 + height:27.27 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 0 BackItem + id: figma_729_672 + // # "BackItem" + objectName:"BackItem" + x: (figma_729_673.width - width) / 2 + 1.29 + y: (figma_729_673.height - height) / 2 + 0.0113869 + width:15.85 + height:15.2928 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_729_672 + maskSource: maskSource_figma_729_672 + } + Image { + id: source_figma_729_672 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/3259052539ddee9dd518eeaf9e5a81633e5eabc1.png" + } + Shape { + id: maskSource_figma_729_672 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.562753 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L15.85 0L15.85 15.2928L0 15.2928L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.562753 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_672 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_672 + path: "M0 0L15.85 0L15.85 15.2928L0 15.2928L0 0Z" + } + } + } + property alias path: path_0_figma_729_672.path + } + } + } + Rectangle { + // component (Instance) level: 0 ProjectsItem + id: figma_696_93 + // # "ProjectsItem" + objectName:"ProjectsItem" + x:0 + y:45 + width:159 + height:27 + color: "transparent" + radius:6 + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 855 + id: figma_696_94 + // # "Frame 855" + objectName:"Frame 855" + x:7 + y:0 + width:27.2718 + height:27.2718 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 0 ProjectIcon + id: figma_696_95 + // # "ProjectIcon" + objectName:"ProjectIcon" + x: (figma_696_94.width - width) / 2 - 0.135915 + y: (figma_696_94.height - height) / 2 - 1.13591 + width:23 + height:23 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_696_95 + maskSource: maskSource_figma_696_95 + } + Image { + id: source_figma_696_95 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/3c0e227d940391143941250369cfabae13fc1068.png" + } + Shape { + id: maskSource_figma_696_95 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.23 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L23 0L23 23L0 23L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.23 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_696_95 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_696_95 + path: "M0 0L23 0L23 23L0 23L0 0Z" + } + } + } + property alias path: path_0_figma_696_95.path + } + } + Text { + // component (Instance) level: 0 ProjectLabel + id: figma_696_96 + // # "ProjectLabel" + objectName:"ProjectLabel" + x:38 + y:6 + width:113.728 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Проекты" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + Rectangle { + // component (Instance) level: 0 CreateProjectsItem + id: figma_696_97 + // # "CreateProjectsItem" + objectName:"CreateProjectsItem" + x:0 + y:80 + width:159 + height:27 + color: "transparent" + radius:6 + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 879 + id: figma_729_669 + // # "Frame 879" + objectName:"Frame 879" + x:7 + y:0 + width:27 + height:27 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 0 filecreate 1 + id: figma_729_670 + // # "filecreate 1" + objectName:"filecreate 1" + x: (figma_729_669.width - width) / 2 + y: (figma_729_669.height - height) / 2 + 1.5 + width:15 + height:20 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_729_670 + maskSource: maskSource_figma_729_670 + } + Image { + id: source_figma_729_670 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/5845797c11bd3dce41447016f80ae3ecd6372c45.png" + } + Shape { + id: maskSource_figma_729_670 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0197678 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L15 0L15 20L0 20L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0197678 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_729_670 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_729_670 + path: "M0 0L15 0L15 20L0 20L0 0Z" + } + } + } + property alias path: path_0_figma_729_670.path + } + } + Text { + // component (Instance) level: 0 ProjectLabel + id: figma_696_100 + // # "ProjectLabel" + objectName:"ProjectLabel" + x:38 + y:6 + width:114 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Создать" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + Rectangle { + // component (Instance) level: 0 Column + id: figma_696_101 + // # "Column" + objectName:"Column" + x:0 + y:327 + width:159 + height:91 + color: "transparent" + clip: false + + ColumnaItemComponent36_figma { + // component (Instance) level: 0 SettingsItem + id: figma_696_102 + // # "SettingsItem" + objectName:"SettingsItem" + x:0 + y:0 + width:159 + height:27 + Rectangle { + // component (Instance) level: 1 Frame 857 + id: figma_i696_102_668_655 + // # "Frame 857" + objectName:"Frame 857" + x:7 + y:0 + width:27.2718 + height:27.2718 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 1 SettingsIcon + id: figma_i696_102_613_481 + // # "SettingsIcon" + objectName:"SettingsIcon" + x: (figma_i696_102_668_655.width - width) / 2 + 0.364085 + y: (figma_i696_102_668_655.height - height) / 2 + 0.364085 + width:20 + height:20 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_i696_102_613_481 + maskSource: maskSource_figma_i696_102_613_481 + } + Image { + id: source_figma_i696_102_613_481 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/ff3699e449928196383ec790d1449da4567e924b.png" + } + Shape { + id: maskSource_figma_i696_102_613_481 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.2 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L20 0L20 20L0 20L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.2 + fillColor:"#00000000" + // component (shapeFill) level: 1 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_i696_102_613_481 + path: "M0 0L20 0L20 20L0 20L0 0Z" + } + } + } + property alias path: path_0_figma_i696_102_613_481.path + } + } + Text { + // component (Instance) level: 1 SettingsLabel + id: figma_i696_102_613_482 + // # "SettingsLabel" + objectName:"SettingsLabel" + x:38 + y:6 + width:113.728 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Настройки" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ColumnaItemComponent36_figma { + // component (Instance) level: 0 InfoItem + id: figma_696_103 + // # "InfoItem" + objectName:"InfoItem" + x:0 + y:32 + width:159 + height:27 + Rectangle { + // component (Instance) level: 1 InfoItem + id: figma_i696_103_668_655 + // # "InfoItem" + objectName:"InfoItem" + x:7 + y:0 + width:27.2718 + height:27.2718 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 1 SettingsIcon + id: figma_i696_103_613_481 + // # "SettingsIcon" + objectName:"SettingsIcon" + x: (figma_i696_103_668_655.width - width) / 2 + 0.364085 + y: (figma_i696_103_668_655.height - height) / 2 + 0.364085 + width:20 + height:20 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_i696_103_613_481 + maskSource: maskSource_figma_i696_103_613_481 + } + Image { + id: source_figma_i696_103_613_481 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/0b476a1a4f6492d458bce50e4c239b21fdd5dd59.png" + } + Shape { + id: maskSource_figma_i696_103_613_481 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.2 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L20 0L20 20L0 20L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.2 + fillColor:"#00000000" + // component (shapeFill) level: 1 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_i696_103_613_481 + path: "M0 0L20 0L20 20L0 20L0 0Z" + } + } + } + property alias path: path_0_figma_i696_103_613_481.path + } + } + Text { + // component (Instance) level: 1 SettingsLabel + id: figma_i696_103_613_482 + // # "SettingsLabel" + objectName:"SettingsLabel" + x:38 + y:6 + width:113.728 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"О Программе" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ColumnaItemComponent36_figma { + // component (Instance) level: 0 CloseItem + id: figma_696_104 + // # "CloseItem" + objectName:"CloseItem" + x:0 + y:64 + width:159 + height:27 + color:"#ffffedec" + Rectangle { + // component (Instance) level: 1 Frame 857 + id: figma_i696_104_668_655 + // # "Frame 857" + objectName:"Frame 857" + x:7 + y:0 + width:27.2718 + height:27.2718 + color: "transparent" + clip: false + + Item { + // component (Instance) level: 1 CloseIcon + id: figma_i696_104_613_481 + // # "CloseIcon" + objectName:"CloseIcon" + x: (figma_i696_104_668_655.width - width) / 2 + 0.364085 + y: (figma_i696_104_668_655.height - height) / 2 + 0.364085 + width:20 + height:20 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_i696_104_613_481 + maskSource: maskSource_figma_i696_104_613_481 + } + Image { + id: source_figma_i696_104_613_481 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/b94b825a0450b742b1b678299ff3bccffdbe4c04.png" + } + Shape { + id: maskSource_figma_i696_104_613_481 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.2 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L20 0L20 20L0 20L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.2 + fillColor:"#00000000" + // component (shapeFill) level: 1 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_i696_104_613_481 + path: "M0 0L20 0L20 20L0 20L0 0Z" + } + } + } + property alias path: path_0_figma_i696_104_613_481.path + } + } + Text { + // component (Instance) level: 1 CloseLabel + id: figma_i696_104_613_482 + // # "CloseLabel" + objectName:"CloseLabel" + x:38 + y:6 + width:113.728 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Выход" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + } + } + Rectangle { + // component (Instance) level: 0 Frame 847 + id: figma_696_105 + // # "Frame 847" + objectName:"Frame 847" + x:159 + y:0 + width:441 + height:418 + color: "transparent" + clip: false + + Text { + // component (Instance) level: 0 LabelRecentProject + id: figma_696_106 + // # "LabelRecentProject" + objectName:"LabelRecentProject" + x:10 + y:10 + width:421 + height:18 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Недавние проекты" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 15 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 0 ContentListRecentProjects + id: figma_701_302 + // # "ContentListRecentProjects" + objectName:"ContentListRecentProjects" + x:10 + y:43 + width:421 + height:365 + color: "transparent" + clip: false + + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_InfoPage1_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_InfoPage1_figma.qml new file mode 100644 index 0000000..48e0433 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_InfoPage1_figma.qml @@ -0,0 +1,196 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 InfoPage + id: figma_704_631 + // # "InfoPage" + objectName:"InfoPage" + x:0 + y:0 + width:633 + height:245 + color:"#fff0f0f0" + clip: false + + Item { + // component (Instance) level: 0 Logo 2 + id: figma_704_632 + // # "Logo 2" + objectName:"Logo 2" + x: (figma_704_631.width - width) / 2 - 252.5 + y: (figma_704_631.height - height) / 2 - 17.5 + width:120 + height:108 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_704_632 + maskSource: maskSource_figma_704_632 + } + Image { + id: source_figma_704_632 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/81b8090b737e9cc1aca3c8512aa46b1a507b23a5.png" + } + Shape { + id: maskSource_figma_704_632 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0292099 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L120 0L120 108L0 108L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0292099 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_704_632 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_704_632 + path: "M0 0L120 0L120 108L0 108L0 0Z" + } + } + } + property alias path: path_0_figma_704_632.path + } + Text { + // component (Instance) level: 0 Кварц 1.0.0.1 + id: figma_704_633 + // # "Кварц 1.0.0.1" + objectName:"Кварц 1.0.0.1" + x:143 + y:24 + width:235 + height:17 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Кварц 1.0.0.1" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 14 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Text { + // component (Instance) level: 0 ContentDesctiption + id: figma_704_634 + // # "ContentDesctiption" + objectName:"ContentDesctiption" + x:143 + y:51 + width:487 + height:177 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Собран на Qt (MSVC 2022, x64). + +Описание: +
Кварц - это программный продукт, предназначенный для конвертации файлов формата LAS/LAZ (файлы лазерного сканирования) в веб-формат, позволяющий отображать трёхмерные облака точек в браузере без использования специализированного ПО. +
© 2025 ООО \"КиберКод\". Все права защищены." + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 0 Frame 878 + id: figma_704_635 + // # "Frame 878" + objectName:"Frame 878" + x:378 + y:214 + width:245 + height:19 + color: "transparent" + clip: false + + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 DeleteProjectButton + id: figma_704_636 + // # "DeleteProjectButton" + objectName:"DeleteProjectButton" + x:0 + y:0 + width:88 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 RemoveLabel + id: figma_i704_636_652_314 + // # "RemoveLabel" + objectName:"RemoveLabel" + x:23 + y:3 + width:42 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Закрыть" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 DeleteProjectButton + id: figma_704_637 + // # "DeleteProjectButton" + objectName:"DeleteProjectButton" + x:104 + y:0 + width:141 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 RemoveLabel + id: figma_i704_637_652_314 + // # "RemoveLabel" + objectName:"RemoveLabel" + x:12 + y:3 + width:116 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Скопировать и закрыть" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_LabelHeaderComponentH367_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_LabelHeaderComponentH367_figma.qml deleted file mode 100644 index 68bfb32..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_LabelHeaderComponentH367_figma.qml +++ /dev/null @@ -1,14 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -LabelHeaderComponentH363_figma { -// component (Instance) level: 0 LabelHeaderComponentH3 - id: figma_269_166 - // # "LabelHeaderComponentH3" - objectName:"LabelHeaderComponentH3" -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainPage4_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainPage4_figma.qml deleted file mode 100644 index b694e0f..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainPage4_figma.qml +++ /dev/null @@ -1,165 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 MainPage - id: figma_94_72 - // # "MainPage" - objectName:"MainPage" - x:0 - y:0 - width:1096 - height:900 - color: "transparent" - clip: true - - LabelHeaderComponentH125_figma { - // component (Instance) level: 0 MainPageHeader - id: figma_94_73 - // # "MainPageHeader" - objectName:"MainPageHeader" - x:31 - y:20 - Text { - // component (Instance) level: 1 LabelHeader - id: figma_i94_73_613_438 - // # "LabelHeader" - objectName:"LabelHeader" - x:0 - y:0 - width:128 - height:39 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Главная" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 32 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 ButtonChooseFiles - id: figma_94_74 - // # "ButtonChooseFiles" - objectName:"ButtonChooseFiles" - x:288 - y:97 - width:606 - height:107 - color:"#ff8b6ef5" - radius:30 - clip: true - - Text { - // component (Instance) level: 0 ButtomChooseFilesLabel - id: figma_94_75 - // # "ButtomChooseFilesLabel" - objectName:"ButtomChooseFilesLabel" - x: (figma_94_74.width - width) / 2 - y: (figma_94_74.height - height) / 2 - width:246 - height:39 - color:"#ffffffff" - wrapMode: TextEdit.WordWrap - text:"Выбрать файлы" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 32 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 ContentMainPageTransform - id: figma_155_49 - // # "ContentMainPageTransform" - objectName:"ContentMainPageTransform" - x:52 - y:249 - width:995 - height:636 - color: "transparent" - clip: false - - Rectangle { - // component (Instance) level: 0 ColumnLeft - id: figma_94_76 - // # "ColumnLeft" - objectName:"ColumnLeft" - x:0 - y:29 - width:316 - height:607 - color:"#ffffffff" - clip: true - - } - Rectangle { - // component (Instance) level: 0 ColumnRight - id: figma_94_77 - // # "ColumnRight" - objectName:"ColumnRight" - x:679 - y:29 - width:316 - height:607 - color:"#ffffffff" - clip: true - - } - Rectangle { - // component (Instance) level: 0 ColumnCenter - id: figma_94_78 - // # "ColumnCenter" - objectName:"ColumnCenter" - x:325 - y:29 - width:344 - height:607 - color:"#ffffffff" - clip: true - - } - LabelComponent22_figma { - // component (Instance) level: 0 16 - id: figma_94_79 - // # "16" - objectName:"16" - x:0 - y:0 - width:158 - height:19 - Text { - // component (Instance) level: 1 ChosenFileCountLabel - id: figma_i94_79_613_450 - // # "ChosenFileCountLabel" - objectName:"ChosenFileCountLabel" - x:0 - y:0 - width:158 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Выбрано файлов: 10" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainWindow12_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainWindow12_figma.qml new file mode 100644 index 0000000..e496ceb --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainWindow12_figma.qml @@ -0,0 +1,47 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 MainWindow + id: figma_696_82 + // # "MainWindow" + objectName:"MainWindow" + x:0 + y:0 + width:600 + height:450 + color:"#ffffffff" + clip: true + + Rectangle { + // component (Instance) level: 0 ContentHeader + id: figma_697_580 + // # "ContentHeader" + objectName:"ContentHeader" + x:0 + y:0 + width:600 + height:32 + color: "transparent" + clip: false + + } + Rectangle { + // component (Instance) level: 0 ContentMain + id: figma_697_581 + // # "ContentMain" + objectName:"ContentMain" + x:0 + y:32 + width:600 + height:418 + color: "transparent" + clip: false + + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainWindow4_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainWindow4_figma.qml deleted file mode 100644 index 9025e90..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_MainWindow4_figma.qml +++ /dev/null @@ -1,785 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 MainWindow - id: figma_94_32 - // # "MainWindow" - objectName:"MainWindow" - x:0 - y:0 - width:1600 - height:900 - color:"#fffcfbfc" - clip: true - - Rectangle { - // component (Instance) level: 0 PanelRight - id: figma_94_65 - // # "PanelRight" - objectName:"PanelRight" - x:1317 - y:0 - width:283 - height:900 - color:"#ffffffff" - clip: false - - LabelHeaderComponentH364_figma { - // component (Instance) level: 0 InformationHeader - id: figma_94_66 - // # "InformationHeader" - objectName:"InformationHeader" - x:87 - y:22 - Text { - // component (Instance) level: 1 InformationHeaderLabel - id: figma_i94_66_613_430 - // # "InformationHeaderLabel" - objectName:"InformationHeaderLabel" - x:0 - y:0 - width:110 - height:20 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Информация" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 StorageInfoWidget - id: figma_94_67 - // # "StorageInfoWidget" - objectName:"StorageInfoWidget" - x:21 - y:64 - width:242 - height:111 - color: "transparent" - radius:8 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0.964706, 0.964706, 0.964706, 1) - strokeWidth: 4 - fillColor: "transparent" - PathMove { x: 8; y: 0 } -PathLine { x: 8; y: 2 } -PathLine { x: 234; y: 2 } -PathLine { x: 234; y: 0 } -PathLine { x: 234; y: -2 } -PathLine { x: 8; y: -2 } -PathLine { x: 8; y: 0 } -PathMove { x: 242; y: 8 } -PathLine { x: 240; y: 8 } -PathLine { x: 240; y: 103 } -PathLine { x: 242; y: 103 } -PathLine { x: 244; y: 103 } -PathLine { x: 244; y: 8 } -PathLine { x: 242; y: 8 } -PathMove { x: 234; y: 111 } -PathLine { x: 234; y: 109 } -PathLine { x: 8; y: 109 } -PathLine { x: 8; y: 111 } -PathLine { x: 8; y: 113 } -PathLine { x: 234; y: 113 } -PathLine { x: 234; y: 111 } -PathMove { x: 0; y: 103 } -PathLine { x: 2; y: 103 } -PathLine { x: 2; y: 8 } -PathLine { x: 0; y: 8 } -PathLine { x: -2; y: 8 } -PathLine { x: -2; y: 103 } -PathLine { x: 0; y: 103 } -PathMove { x: 8; y: 111 } -PathLine { x: 8; y: 109 } -PathCubic { control1X: 4.68629; control1Y: 109; control2X: 2; control2Y: 106.314; x: 2; y: 103 } -PathLine { x: 0; y: 103 } -PathLine { x: -2; y: 103 } -PathCubic { control1X: -2; control1Y: 108.523; control2X: 2.47716; control2Y: 113; x: 8; y: 113 } -PathLine { x: 8; y: 111 } -PathMove { x: 242; y: 103 } -PathLine { x: 240; y: 103 } -PathCubic { control1X: 240; control1Y: 106.314; control2X: 237.314; control2Y: 109; x: 234; y: 109 } -PathLine { x: 234; y: 111 } -PathLine { x: 234; y: 113 } -PathCubic { control1X: 239.523; control1Y: 113; control2X: 244; control2Y: 108.523; x: 244; y: 103 } -PathLine { x: 242; y: 103 } -PathMove { x: 234; y: 0 } -PathLine { x: 234; y: 2 } -PathCubic { control1X: 237.314; control1Y: 2; control2X: 240; control2Y: 4.68629; x: 240; y: 8 } -PathLine { x: 242; y: 8 } -PathLine { x: 244; y: 8 } -PathCubic { control1X: 244; control1Y: 2.47715; control2X: 239.523; control2Y: -2; x: 234; y: -2 } -PathLine { x: 234; y: 0 } -PathMove { x: 8; y: 0 } -PathLine { x: 8; y: -2 } -PathCubic { control1X: 2.47715; control1Y: -2; control2X: -2; control2Y: 2.47716; x: -2; y: 8 } -PathLine { x: 0; y: 8 } -PathLine { x: 2; y: 8 } -PathCubic { control1X: 2; control1Y: 4.68629; control2X: 4.68629; control2Y: 2; x: 8; y: 2 } -PathLine { x: 8; y: 0 } -}} - Rectangle { - // component (Instance) level: 0 LabelHeaderComponentH3 - id: figma_269_172 - // # "LabelHeaderComponentH3" - objectName:"LabelHeaderComponentH3" - x: (figma_94_67.width - width) / 2 + 0.5 - y:7 - width:83 - height:19 - color: "transparent" - clip: false - - Text { - // component (Instance) level: 0 Label - id: figma_269_173 - // # "Label" - objectName:"Label" - x:2 - y:1 - width:79 - height:17 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Хранилище" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 14 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - HeaderValueComponent33_figma { - // component (Instance) level: 0 LabelAvailibleSizeComponent - id: figma_269_181 - // # "LabelAvailibleSizeComponent" - objectName:"LabelAvailibleSizeComponent" - x:17 - y:35 - color: "transparent" - delegate_269_179: Text { - // component (Instance) level: 1 LabelAvailibleSize - id: figma_i269_181_269_179 - // # "LabelAvailibleSize" - objectName:"LabelAvailibleSize" - x:0 - y:0 - width:54 - height:13 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Свободно" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 LabelAvailibleSizeButtonComponent - id: figma_98_96 - // # "LabelAvailibleSizeButtonComponent" - objectName:"LabelAvailibleSizeButtonComponent" - x:17 - y:51 - width:209 - height:31 - color: "transparent" - clip: false - - Text { - // component (Instance) level: 0 LabelAvailibleSizeButton - id: figma_98_97 - // # "LabelAvailibleSizeButton" - objectName:"LabelAvailibleSizeButton" - x:0 - y:0 - width:209 - height:31 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"15.43 GB" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 26 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - Rectangle { - // component (Instance) level: 0 AvailibleSizeProgressBarPassedBar - id: figma_269_206 - // # "AvailibleSizeProgressBarPassedBar" - objectName:"AvailibleSizeProgressBarPassedBar" - x:19 - y:85 - width:159 - height:8 - color:"#ffdb1c1c" - radius:5 - clip: false - - } - Rectangle { - // component (Instance) level: 0 AvailibleSizeProgressBar - id: figma_269_205 - // # "AvailibleSizeProgressBar" - objectName:"AvailibleSizeProgressBar" - x:20 - y:84 - width:209 - height:10 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0.201923, 0.119406, 0.119406, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 204; y: 0.5 } -PathLine { x: 204; y: 0 } -PathLine { x: 204; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 204; y: 10 } -PathLine { x: 204; y: 9.5 } -PathLine { x: 5; y: 9.5 } -PathLine { x: 5; y: 10 } -PathLine { x: 5; y: 10.5 } -PathLine { x: 204; y: 10.5 } -PathLine { x: 204; y: 10 } -PathMove { x: 5; y: 10 } -PathLine { x: 5; y: 9.5 } -PathCubic { control1X: 2.51472; control1Y: 9.5; control2X: 0.5; control2Y: 7.48528; x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathCubic { control1X: -0.5; control1Y: 8.03757; control2X: 1.96244; control2Y: 10.5; x: 5; y: 10.5 } -PathLine { x: 5; y: 10 } -PathMove { x: 209; y: 5 } -PathLine { x: 208.5; y: 5 } -PathCubic { control1X: 208.5; control1Y: 7.48528; control2X: 206.485; control2Y: 9.5; x: 204; y: 9.5 } -PathLine { x: 204; y: 10 } -PathLine { x: 204; y: 10.5 } -PathCubic { control1X: 207.038; control1Y: 10.5; control2X: 209.5; control2Y: 8.03757; x: 209.5; y: 5 } -PathLine { x: 209; y: 5 } -PathMove { x: 204; y: 0 } -PathLine { x: 204; y: 0.5 } -PathCubic { control1X: 206.485; control1Y: 0.5; control2X: 208.5; control2Y: 2.51472; x: 208.5; y: 5 } -PathLine { x: 209; y: 5 } -PathLine { x: 209.5; y: 5 } -PathCubic { control1X: 209.5; control1Y: 1.96243; control2X: 207.038; control2Y: -0.5; x: 204; y: -0.5 } -PathLine { x: 204; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - } - } - } - Rectangle { - // component (Instance) level: 0 MainView - id: figma_94_71 - // # "MainView" - objectName:"MainView" - x:221 - y:0 - width:1096 - height:900 - color: "transparent" - clip: false - - } - Rectangle { - // component (Instance) level: 0 PanelLeft - id: figma_139_49 - // # "PanelLeft" - objectName:"PanelLeft" - x:1 - y:0 - width:221 - height:898 - color:"#ffffffff" - clip: false - - Rectangle { - // component (Instance) level: 0 Logo - id: figma_139_50 - // # "Logo" - objectName:"Logo" - x:10 - y:10 - width:201 - height:212 - color: "transparent" - clip: false - - Item { - // component (Instance) level: 0 logo2vnuzu 1 - id: figma_139_51 - // # "logo2vnuzu 1" - objectName:"logo2vnuzu 1" - x: (figma_139_50.width - width) / 2 - y: (figma_139_50.height - height) / 2 - width:201 - height:212 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_139_51 - maskSource: maskSource_figma_139_51 - } - Image { - id: source_figma_139_51 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/81b8090b737e9cc1aca3c8512aa46b1a507b23a5.png" - } - Shape { - id: maskSource_figma_139_51 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.0681129 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L201 0L201 212L0 212L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.0681129 - fillColor:"#00000000" - // component (shapeFill) level: 0 - id: svgpath_figma_139_51 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_139_51 - path: "M0 0L201 0L201 212L0 212L0 0Z" - } - } - } - property alias path: path_0_figma_139_51.path - } - } - Rectangle { - // component (Instance) level: 0 Frame 796 - id: figma_139_75 - // # "Frame 796" - objectName:"Frame 796" - x:6 - y:229 - width:209 - height:659 - color: "transparent" - clip: false - - Rectangle { - // component (Instance) level: 0 Column - id: figma_139_76 - // # "Column" - objectName:"Column" - x:0 - y:0 - width:209 - height:71 - color: "transparent" - clip: false - - ColumnaItemComponent30_figma { - // component (Instance) level: 0 HomeItem - id: figma_139_77 - // # "HomeItem" - objectName:"HomeItem" - x:0 - y:6 - width:209 - height:27 - color:"#ffffffff" - Item { - // component (Instance) level: 1 #HomeIcon - id: figma_i139_77_613_481 - // # "#HomeIcon" - objectName:"#HomeIcon" - x:7 - y:0 - width:27.2718 - height:27.2718 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_i139_77_613_481 - maskSource: maskSource_figma_i139_77_613_481 - } - Image { - id: source_figma_i139_77_613_481 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/c98a8dfa5e5ae60415372792b482ee2395f3c244.png" - } - Shape { - id: maskSource_figma_i139_77_613_481 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"#00000000" - // component (shapeFill) level: 1 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_i139_77_613_481 - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - property alias path: path_0_figma_i139_77_613_481.path - } - Text { - // component (Instance) level: 1 HomeLabel - id: figma_i139_77_613_482 - // # "HomeLabel" - objectName:"HomeLabel" - x:46 - y:4 - width:165.206 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Главная" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - ColumnaItemComponent30_figma { - // component (Instance) level: 0 ProjectsItem - id: figma_139_78 - // # "ProjectsItem" - objectName:"ProjectsItem" - x:0 - y:38 - width:209 - height:27 - Item { - // component (Instance) level: 1 ProjectIcon - id: figma_i139_78_613_481 - // # "ProjectIcon" - objectName:"ProjectIcon" - x:7 - y:0 - width:27.2718 - height:27.2718 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_i139_78_613_481 - maskSource: maskSource_figma_i139_78_613_481 - } - Image { - id: source_figma_i139_78_613_481 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/3c0e227d940391143941250369cfabae13fc1068.png" - } - Shape { - id: maskSource_figma_i139_78_613_481 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"#00000000" - // component (shapeFill) level: 1 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_i139_78_613_481 - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - property alias path: path_0_figma_i139_78_613_481.path - } - Text { - // component (Instance) level: 1 ProjectLabel - id: figma_i139_78_613_482 - // # "ProjectLabel" - objectName:"ProjectLabel" - x:46 - y:4 - width:165.206 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Проекты" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - } - Rectangle { - // component (Instance) level: 0 Column - id: figma_139_79 - // # "Column" - objectName:"Column" - x:0 - y:601 - width:209 - height:58 - color: "transparent" - clip: false - - ColumnaItemComponent30_figma { - // component (Instance) level: 0 CloseItem - id: figma_139_80 - // # "CloseItem" - objectName:"CloseItem" - x:1 - y:32 - width:212 - height:27 - color:"#ffffedec" - Item { - // component (Instance) level: 1 CloseIcon - id: figma_i139_80_613_481 - // # "CloseIcon" - objectName:"CloseIcon" - x:7 - y:0 - width:27.2718 - height:27.2718 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_i139_80_613_481 - maskSource: maskSource_figma_i139_80_613_481 - } - Image { - id: source_figma_i139_80_613_481 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/b94b825a0450b742b1b678299ff3bccffdbe4c04.png" - } - Shape { - id: maskSource_figma_i139_80_613_481 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"#00000000" - // component (shapeFill) level: 1 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_i139_80_613_481 - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - property alias path: path_0_figma_i139_80_613_481.path - } - Text { - // component (Instance) level: 1 CloseLabel - id: figma_i139_80_613_482 - // # "CloseLabel" - objectName:"CloseLabel" - x:46 - y:4 - width:165.206 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Выход" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - ColumnaItemComponent30_figma { - // component (Instance) level: 0 SettingsItem - id: figma_139_81 - // # "SettingsItem" - objectName:"SettingsItem" - x:1 - y:0 - width:212 - height:27 - Item { - // component (Instance) level: 1 SettingsIcon - id: figma_i139_81_613_481 - // # "SettingsIcon" - objectName:"SettingsIcon" - x:7 - y:0 - width:27.2718 - height:27.2718 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_i139_81_613_481 - maskSource: maskSource_figma_i139_81_613_481 - } - Image { - id: source_figma_i139_81_613_481 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/ff3699e449928196383ec790d1449da4567e924b.png" - } - Shape { - id: maskSource_figma_i139_81_613_481 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.272718 - fillColor:"#00000000" - // component (shapeFill) level: 1 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_i139_81_613_481 - path: "M0 0L27.2718 0L27.2718 27.2718L0 27.2718L0 0Z" - } - } - } - property alias path: path_0_figma_i139_81_613_481.path - } - Text { - // component (Instance) level: 1 SettingsLabel - id: figma_i139_81_613_482 - // # "SettingsLabel" - objectName:"SettingsLabel" - x:46 - y:4 - width:165.206 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Настройки" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.DemiBold - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - } - } - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ProjectPage4_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ProjectPage4_figma.qml deleted file mode 100644 index f39a3d5..0000000 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ProjectPage4_figma.qml +++ /dev/null @@ -1,108 +0,0 @@ -//Generated by FigmaQML 3.2.1 - -import QtQuick -import QtQuick.Effects -import QtQuick.Shapes -import QtQuick.Controls -import QtQuick.Shapes -import FigmaQmlInterface -Rectangle { -// component (Instance) level: 0 ProjectPage - id: figma_94_80 - // # "ProjectPage" - objectName:"ProjectPage" - x:0 - y:0 - width:1096 - height:900 - color: "transparent" - clip: true - - Rectangle { - // component (Instance) level: 0 Frame 811 - id: figma_560_41 - // # "Frame 811" - objectName:"Frame 811" - x:31 - y:20 - width:1037 - height:39 - color: "transparent" - clip: false - - LabelHeaderComponentH125_figma { - // component (Instance) level: 0 ProjectPageHeader - id: figma_94_81 - // # "ProjectPageHeader" - objectName:"ProjectPageHeader" - x:0 - y:0 - width:139 - height:39 - Text { - // component (Instance) level: 1 LabelHeader - id: figma_i94_81_613_438 - // # "LabelHeader" - objectName:"LabelHeader" - x:0 - y:0 - width:139 - height:39 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Проекты" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 32 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - LabelComponent22_figma { - // component (Instance) level: 0 SubDirectoryLabelComponent - id: figma_94_82 - // # "SubDirectoryLabelComponent" - objectName:"SubDirectoryLabelComponent" - x:149 - y:10 - width:888 - height:19 - Text { - // component (Instance) level: 1 SubdirectorName - id: figma_i94_82_613_450 - // # "SubdirectorName" - objectName:"SubdirectorName" - x:0 - y:0 - width:888 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Поддиректория" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - } - Rectangle { - // component (Instance) level: 0 FolderObserver - id: figma_94_83 - // # "FolderObserver" - objectName:"FolderObserver" - x: (figma_94_80.width - width) / 2 + 1.5 - y:86 - width:1037 - height:790 - color: "transparent" - radius:30 - clip: true - - } -} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ProjectsPage2_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ProjectsPage2_figma.qml new file mode 100644 index 0000000..c9fb423 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ProjectsPage2_figma.qml @@ -0,0 +1,425 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 ProjectsPage + id: figma_701_305 + // # "ProjectsPage" + objectName:"ProjectsPage" + x:0 + y:0 + width:600 + height:417 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 SearchComponent + id: figma_701_306 + // # "SearchComponent" + objectName:"SearchComponent" + x:0 + y:0 + width:430 + height:31 + color: "transparent" + clip: false + + } + Rectangle { + // component (Instance) level: 0 PanelRight + id: figma_701_307 + // # "PanelRight" + objectName:"PanelRight" + x:428 + y:0 + width:172 + height:417 + color:"#ffffffff" + clip: true + + LabelHeaderComponentH326_figma { + // component (Instance) level: 0 InformationHeader + id: figma_701_308 + // # "InformationHeader" + objectName:"InformationHeader" + x:0 + y:5 + width:172 + height:15 + Text { + // component (Instance) level: 1 InformationHeaderLabel + id: figma_i701_308_613_430 + // # "InformationHeaderLabel" + objectName:"InformationHeaderLabel" + x:46 + y:0 + width:80 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Информация" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignTop + } + } + Rectangle { + // component (Instance) level: 0 Frame 789 + id: figma_701_309 + // # "Frame 789" + objectName:"Frame 789" + x:0 + y:26 + width:172 + height:64 + color: "transparent" + radius:5.82084 + clip: true + + C15_43_GB30_figma { + // component (Instance) level: 0 LabelAvailibleSizeButtonComponent + id: figma_701_310 + // # "LabelAvailibleSizeButtonComponent" + objectName:"LabelAvailibleSizeButtonComponent" + x:12 + y:28 + width:83.6746 + height:22.5558 + Text { + // component (Instance) level: 1 LabelAvailibleSizeButton + id: figma_i701_310_613_432 + // # "LabelAvailibleSizeButton" + objectName:"LabelAvailibleSizeButton" + x:0 + y:0 + width:84 + height:23 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"15.43 GB" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 18 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressBarComponent28_figma { + // component (Instance) level: 0 AvailibleSizeProgressBar + id: figma_701_311 + // # "AvailibleSizeProgressBar" + objectName:"AvailibleSizeProgressBar" + x: (figma_701_309.width - width) / 2 + y:50 + width:148 + height:8 + Rectangle { + // component (Instance) level: 1 AvailibleSizeProgressBarPassedBar + id: figma_i701_311_613_435 + // # "AvailibleSizeProgressBarPassedBar" + objectName:"AvailibleSizeProgressBarPassedBar" + x:0 + y:0 + width:112.051 + height:7.27605 + color:"#ffdb1c1c" + radius:3.63803 + clip: true + + } + } + Rectangle { + // component (Instance) level: 0 Frame 840 + id: figma_701_312 + // # "Frame 840" + objectName:"Frame 840" + x:12 + y:6 + width:152 + height:4 + color: "transparent" + clip: true + + } + Rectangle { + // component (Instance) level: 0 Frame 804 + id: figma_701_313 + // # "Frame 804" + objectName:"Frame 804" + x:-3 + y:6 + width:175 + height:20.3023 + color:"#ffeeeaea" + clip: true + + LabelComponent24_figma { + // component (Instance) level: 0 LabelComponent + id: figma_701_314 + // # "LabelComponent" + objectName:"LabelComponent" + x:6 + y:2 + width:139.628 + height:15 + Text { + // component (Instance) level: 1 Label + id: figma_i701_314_613_450 + // # "Label" + objectName:"Label" + x:40 + y:0 + width:59 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Свободно" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + } + Rectangle { + // component (Instance) level: 0 ColumnLeft-resultTranslatePasport + id: figma_701_315 + // # "ColumnLeft-resultTranslatePasport" + objectName:"ColumnLeft-resultTranslatePasport" + x:0 + y:96 + width:172 + height:326 + color:"#ffffffff" + clip: true + + Rectangle { + // component (Instance) level: 0 Frame 798 + id: figma_701_316 + // # "Frame 798" + objectName:"Frame 798" + x:0 + y:0 + width:172 + height:20.3023 + color:"#ffeeeaea" + clip: true + + LabelComponent24_figma { + // component (Instance) level: 0 LabelComponent + id: figma_701_317 + // # "LabelComponent" + objectName:"LabelComponent" + x:6 + y:2 + width:139.628 + height:15 + Text { + // component (Instance) level: 1 Label + id: figma_i701_317_613_450 + // # "Label" + objectName:"Label" + x:44 + y:0 + width:50 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Паспорт" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 ShowProjectButton + id: figma_701_318 + // # "ShowProjectButton" + objectName:"ShowProjectButton" + x: (figma_701_315.width - width) / 2 + 1 + y:274 + width:148 + height:19 + color:"#ff0a5bff" + Text { + // component (Instance) level: 1 ShowLabel + id: figma_i701_318_652_314 + // # "ShowLabel" + objectName:"ShowLabel" + x:41 + y:3 + width:66 + height:12 + color:"#ffffffff" + wrapMode: TextEdit.WordWrap + text:"Просмотреть" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 DeleteProjectButton + id: figma_701_319 + // # "DeleteProjectButton" + objectName:"DeleteProjectButton" + x: (figma_701_315.width - width) / 2 + 7.62939e-06 + y:297 + width:146 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 RemoveLabel + id: figma_i701_319_652_314 + // # "RemoveLabel" + objectName:"RemoveLabel" + x:52 + y:3 + width:41 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Удалить" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + Rectangle { + // component (Instance) level: 0 Frame 803 + id: figma_701_320 + // # "Frame 803" + objectName:"Frame 803" + x:0 + y:24 + width:151 + height:208 + color: "transparent" + clip: false + + Text { + // component (Instance) level: 0 Label + id: figma_701_321 + // # "Label" + objectName:"Label" + x:1 + y:0 + width:55.2326 + height:12 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Проект" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Text { + // component (Instance) level: 0 ProjecNameLabel + id: figma_701_322 + // # "ProjecNameLabel" + objectName:"ProjecNameLabel" + x:1 + y:14 + width:106 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Краснокаменская" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Text { + // component (Instance) level: 0 Label + id: figma_701_323 + // # "Label" + objectName:"Label" + x:1 + y:32 + width:147.465 + height:12 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Расположение" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Text { + // component (Instance) level: 0 ProjectPathLabel + id: figma_701_324 + // # "ProjectPathLabel" + objectName:"ProjectPathLabel" + x:1 + y:46 + width:147 + height:75 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"D:\fsdfsfsdfsfsfsfsfsdfdsfsfsdfsdfsdfsdfdsfsdfsfsdf\Projects\Qt\dfsfssdfsfsfsdfsdfsfsfsdfsfsdfdsfsdfs" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + } + Rectangle { + // component (Instance) level: 0 ContentResultsOfSearch + id: figma_701_325 + // # "ContentResultsOfSearch" + objectName:"ContentResultsOfSearch" + x:10 + y:38 + width:408 + height:367 + color: "transparent" + clip: false + + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_SelectFilesStage1_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SelectFilesStage1_figma.qml new file mode 100644 index 0000000..32d8daf --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SelectFilesStage1_figma.qml @@ -0,0 +1,221 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 SelectFilesStage + id: figma_701_506 + // # "SelectFilesStage" + objectName:"SelectFilesStage" + x:0 + y:0 + width:419 + height:341 + color:"#fff0f0f0" + clip: false + + Text { + // component (Instance) level: 0 Выберите файлы для конвертации. + id: figma_701_507 + // # "Выберите файлы для конвертации." + objectName:"Выберите файлы для конвертации." + x:11 + y:13 + width:210 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Выберите файлы для конвертации." + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 0 Frame 868 + id: figma_701_508 + // # "Frame 868" + objectName:"Frame 868" + x:298 + y:317 + width:110 + height:19 + color: "transparent" + clip: false + + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 CancelButton + id: figma_701_509 + // # "CancelButton" + objectName:"CancelButton" + x:0 + y:0 + width:52 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 CancelLabel + id: figma_i701_509_652_314 + // # "CancelLabel" + objectName:"CancelLabel" + x:7 + y:3 + width:38 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Отмена" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 NextButton + id: figma_701_511 + // # "NextButton" + objectName:"NextButton" + x:61 + y:0 + width:49 + height:17.3023 + color:"#ff0a5bff" + Text { + // component (Instance) level: 1 NextLabel + id: figma_i701_511_652_314 + // # "NextLabel" + objectName:"NextLabel" + x:9 + y:2 + width:31 + height:12 + color:"#ffffffff" + wrapMode: TextEdit.WordWrap + text:"Далее" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + Rectangle { + // component (Instance) level: 0 ButtonChooseFiles + id: figma_701_512 + // # "ButtonChooseFiles" + objectName:"ButtonChooseFiles" + x: (figma_701_506.width - width) / 2 + y: (figma_701_506.height - height) / 2 - 114.991 + width:187 + height:33.0182 + color:"#ff0a5bff" + radius:9.25743 + clip: true + + Text { + // component (Instance) level: 0 ButtomChooseFilesLabel + id: figma_701_513 + // # "ButtomChooseFilesLabel" + objectName:"ButtomChooseFilesLabel" + x: (figma_701_512.width - width) / 2 - 0.5 + y: (figma_701_512.height - height) / 2 - 0.509077 + width:76 + height:12 + color:"#ffffffff" + wrapMode: TextEdit.WordWrap + text:"Выбрать файлы" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 9 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + Rectangle { + // component (Instance) level: 0 ListSelectedFiles + id: figma_701_514 + // # "ListSelectedFiles" + objectName:"ListSelectedFiles" + x:11 + y:80 + width:397 + height:231 + color: "transparent" + radius:9.26 + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 870 + id: figma_701_515 + // # "Frame 870" + objectName:"Frame 870" + x:0 + y:0 + width:120 + height:19 + color: "transparent" + clip: false + + LabelComponent24_figma { + // component (Instance) level: 0 16 + id: figma_701_516 + // # "16" + objectName:"16" + x:0 + y:3 + width:120 + height:13 + Text { + // component (Instance) level: 1 Label + id: figma_i701_516_613_450 + // # "Label" + objectName:"Label" + x:0 + y:-1 + width:120 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Выбрано файлов: 10" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + Rectangle { + // component (Instance) level: 0 ColumnLeft + id: figma_701_517 + // # "ColumnLeft" + objectName:"ColumnLeft" + x:0 + y:19 + width:397 + height:212 + color:"#ffffffff" + radius:9.26 + clip: true + + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_SerchItem2_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SerchItem2_figma.qml new file mode 100644 index 0000000..6e5447d --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SerchItem2_figma.qml @@ -0,0 +1,174 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 SerchItem + id: figma_696_233 + // # "SerchItem" + objectName:"SerchItem" + x: (figma_696_233.width - width) / 2 + y: (figma_696_233.height - height) / 2 + width:408 + height:20 + color:"#ffffffff" + radius:8 + clip: true +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0.0392157, 0.356863, 1, 1) + strokeWidth: 1 + fillColor: "transparent" + PathMove { x: 8; y: 0 } +PathLine { x: 8; y: 0.5 } +PathLine { x: 400; y: 0.5 } +PathLine { x: 400; y: 0 } +PathLine { x: 400; y: -0.5 } +PathLine { x: 8; y: -0.5 } +PathLine { x: 8; y: 0 } +PathMove { x: 408; y: 8 } +PathLine { x: 407.5; y: 8 } +PathLine { x: 407.5; y: 12 } +PathLine { x: 408; y: 12 } +PathLine { x: 408.5; y: 12 } +PathLine { x: 408.5; y: 8 } +PathLine { x: 408; y: 8 } +PathMove { x: 400; y: 20 } +PathLine { x: 400; y: 19.5 } +PathLine { x: 8; y: 19.5 } +PathLine { x: 8; y: 20 } +PathLine { x: 8; y: 20.5 } +PathLine { x: 400; y: 20.5 } +PathLine { x: 400; y: 20 } +PathMove { x: 0; y: 12 } +PathLine { x: 0.5; y: 12 } +PathLine { x: 0.5; y: 8 } +PathLine { x: 0; y: 8 } +PathLine { x: -0.5; y: 8 } +PathLine { x: -0.5; y: 12 } +PathLine { x: 0; y: 12 } +PathMove { x: 8; y: 20 } +PathLine { x: 8; y: 19.5 } +PathCubic { control1X: 3.85786; control1Y: 19.5; control2X: 0.5; control2Y: 16.1421; x: 0.5; y: 12 } +PathLine { x: 0; y: 12 } +PathLine { x: -0.5; y: 12 } +PathCubic { control1X: -0.5; control1Y: 16.6944; control2X: 3.30558; control2Y: 20.5; x: 8; y: 20.5 } +PathLine { x: 8; y: 20 } +PathMove { x: 408; y: 12 } +PathLine { x: 407.5; y: 12 } +PathCubic { control1X: 407.5; control1Y: 16.1421; control2X: 404.142; control2Y: 19.5; x: 400; y: 19.5 } +PathLine { x: 400; y: 20 } +PathLine { x: 400; y: 20.5 } +PathCubic { control1X: 404.694; control1Y: 20.5; control2X: 408.5; control2Y: 16.6944; x: 408.5; y: 12 } +PathLine { x: 408; y: 12 } +PathMove { x: 400; y: 0 } +PathLine { x: 400; y: 0.5 } +PathCubic { control1X: 404.142; control1Y: 0.5; control2X: 407.5; control2Y: 3.85786; x: 407.5; y: 8 } +PathLine { x: 408; y: 8 } +PathLine { x: 408.5; y: 8 } +PathCubic { control1X: 408.5; control1Y: 3.30558; control2X: 404.694; control2Y: -0.5; x: 400; y: -0.5 } +PathLine { x: 400; y: 0 } +PathMove { x: 8; y: 0 } +PathLine { x: 8; y: -0.5 } +PathCubic { control1X: 3.30558; control1Y: -0.5; control2X: -0.5; control2Y: 3.30558; x: -0.5; y: 8 } +PathLine { x: 0; y: 8 } +PathLine { x: 0.5; y: 8 } +PathCubic { control1X: 0.5; control1Y: 3.85786; control2X: 3.85786; control2Y: 0.5; x: 8; y: 0.5 } +PathLine { x: 8; y: 0 } +}} + Text { + // component (Instance) level: 0 Поиск.... + id: figma_696_234 + // # "Поиск...." + objectName:"Поиск...." + x:10 + y:3 + width:375 + height:17 + color:"#ff00133b" + wrapMode: TextEdit.WordWrap + text:"Поиск...." + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 0 Frame 828 + id: figma_696_235 + // # "Frame 828" + objectName:"Frame 828" + x:385 + y:0 + width:21 + height:20 + color:"#ffffffff" + radius:400 + clip: false + + Item { + // component (Instance) level: 0 Search + id: figma_696_236 + // # "Search" + objectName:"Search" + x: (figma_696_235.width - width) / 2 + 0.833008 + y: (figma_696_235.height - height) / 2 + 0.333008 + width:14.666 + height:14.666 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_696_236 + maskSource: maskSource_figma_696_236 + } + Image { + id: source_figma_696_236 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/8c9d53cbdf8ebb4f44c3bbf62a2ced4162dc01e3.png" + } + Shape { + id: maskSource_figma_696_236 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.14666 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L14.666 0L14.666 14.666L0 14.666L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.14666 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_696_236 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_696_236 + path: "M0 0L14.666 0L14.666 14.666L0 14.666L0 0Z" + } + } + } + property alias path: path_0_figma_696_236.path + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_SettingsPage2_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SettingsPage2_figma.qml new file mode 100644 index 0000000..73a0f11 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SettingsPage2_figma.qml @@ -0,0 +1,813 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 SettingsPage + id: figma_701_334 + // # "SettingsPage" + objectName:"SettingsPage" + x:0 + y:0 + width:573 + height:407 + color:"#ffffffff" + clip: true + + LabelHeaderComponentH2_bold40_figma { + // component (Instance) level: 0 LabelHeaderComponentH2-bold + id: figma_701_335 + // # "LabelHeaderComponentH2-bold" + objectName:"LabelHeaderComponentH2-bold" + x:8 + y:17 + width:510 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 Label + id: figma_i701_335_269_148 + // # "Label" + objectName:"Label" + x:0 + y:0 + width:95 + height:19 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Хранилище" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + InputComponent42_figma { + // component (Instance) level: 0 InputComponent + id: figma_701_336 + // # "InputComponent" + objectName:"InputComponent" + x: (figma_701_334.width - width) / 2 - 17 + y:114 + width:533 + height:40 + Text { + // component (Instance) level: 1 ProjectLabel + id: figma_i701_336_219_73 + // # "ProjectLabel" + objectName:"ProjectLabel" + x:0 + y:0 + width:533 + height:13 + color:"#ff302f38" + wrapMode: TextEdit.WordWrap + text:"Адрес удаленного сервера" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 11 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 1 StrokeElement + id: figma_i701_336_219_155 + // # "StrokeElement" + objectName:"StrokeElement" + x:0 + y:17 + width:533 + height:23 + color: "transparent" + radius:5 + clip: false +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0, 0, 0, 1) + strokeWidth: 1 + fillColor: "transparent" + PathMove { x: 5; y: 0 } +PathLine { x: 5; y: 0.5 } +PathLine { x: 528; y: 0.5 } +PathLine { x: 528; y: 0 } +PathLine { x: 528; y: -0.5 } +PathLine { x: 5; y: -0.5 } +PathLine { x: 5; y: 0 } +PathMove { x: 533; y: 5 } +PathLine { x: 532.5; y: 5 } +PathLine { x: 532.5; y: 18 } +PathLine { x: 533; y: 18 } +PathLine { x: 533.5; y: 18 } +PathLine { x: 533.5; y: 5 } +PathLine { x: 533; y: 5 } +PathMove { x: 528; y: 23 } +PathLine { x: 528; y: 22.5 } +PathLine { x: 5.00001; y: 22.5 } +PathLine { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 23.5 } +PathLine { x: 528; y: 23.5 } +PathLine { x: 528; y: 23 } +PathMove { x: 0; y: 18 } +PathLine { x: 0.5; y: 18 } +PathLine { x: 0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: -0.5; y: 5 } +PathLine { x: -0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathMove { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 22.5 } +PathCubic { control1X: 2.51473; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathLine { x: -0.5; y: 18 } +PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96244; control2Y: 23.5; x: 5.00001; y: 23.5 } +PathLine { x: 5.00001; y: 23 } +PathMove { x: 533; y: 18 } +PathLine { x: 532.5; y: 18 } +PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 } +PathLine { x: 528; y: 23 } +PathLine { x: 528; y: 23.5 } +PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 } +PathLine { x: 533; y: 18 } +PathMove { x: 528; y: 0 } +PathLine { x: 528; y: 0.5 } +PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 } +PathLine { x: 533; y: 5 } +PathLine { x: 533.5; y: 5 } +PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 } +PathLine { x: 528; y: 0 } +PathMove { x: 5; y: 0 } +PathLine { x: 5; y: -0.5 } +PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: 0.5; y: 5 } +PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } +PathLine { x: 5; y: 0 } +}} + TextField { + // component (Instance) level: 1 RemoteAddressLabelField + id: figma_i701_336_219_74 + // # "RemoteAddressLabelField" + objectName:"RemoteAddressLabelField" + x:3 + y:0 + width:527 + height:23 + color:"#ff7d7e82" + wrapMode: TextEdit.WordWrap + text:"http://localhost:1234" +background: Rectangle {color: "transparent"} font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignVCenter + } + } + } + InputComponent42_figma { + // component (Instance) level: 0 InputComponent + id: figma_701_337 + // # "InputComponent" + objectName:"InputComponent" + x: (figma_701_334.width - width) / 2 - 17 + y:199 + width:533 + height:40 + Text { + // component (Instance) level: 1 PortLabel + id: figma_i701_337_219_73 + // # "PortLabel" + objectName:"PortLabel" + x:0 + y:0 + width:533 + height:13 + color:"#ff302f38" + wrapMode: TextEdit.WordWrap + text:"Локальный порт" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 11 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 1 StrokeElement + id: figma_i701_337_219_155 + // # "StrokeElement" + objectName:"StrokeElement" + x:0 + y:17 + width:533 + height:23 + color: "transparent" + radius:5 + clip: false +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0, 0, 0, 1) + strokeWidth: 1 + fillColor: "transparent" + PathMove { x: 5; y: 0 } +PathLine { x: 5; y: 0.5 } +PathLine { x: 528; y: 0.5 } +PathLine { x: 528; y: 0 } +PathLine { x: 528; y: -0.5 } +PathLine { x: 5; y: -0.5 } +PathLine { x: 5; y: 0 } +PathMove { x: 533; y: 5 } +PathLine { x: 532.5; y: 5 } +PathLine { x: 532.5; y: 18 } +PathLine { x: 533; y: 18 } +PathLine { x: 533.5; y: 18 } +PathLine { x: 533.5; y: 5 } +PathLine { x: 533; y: 5 } +PathMove { x: 528; y: 23 } +PathLine { x: 528; y: 22.5 } +PathLine { x: 5.00001; y: 22.5 } +PathLine { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 23.5 } +PathLine { x: 528; y: 23.5 } +PathLine { x: 528; y: 23 } +PathMove { x: 0; y: 18 } +PathLine { x: 0.5; y: 18 } +PathLine { x: 0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: -0.5; y: 5 } +PathLine { x: -0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathMove { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 22.5 } +PathCubic { control1X: 2.51473; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathLine { x: -0.5; y: 18 } +PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96244; control2Y: 23.5; x: 5.00001; y: 23.5 } +PathLine { x: 5.00001; y: 23 } +PathMove { x: 533; y: 18 } +PathLine { x: 532.5; y: 18 } +PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 } +PathLine { x: 528; y: 23 } +PathLine { x: 528; y: 23.5 } +PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 } +PathLine { x: 533; y: 18 } +PathMove { x: 528; y: 0 } +PathLine { x: 528; y: 0.5 } +PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 } +PathLine { x: 533; y: 5 } +PathLine { x: 533.5; y: 5 } +PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 } +PathLine { x: 528; y: 0 } +PathMove { x: 5; y: 0 } +PathLine { x: 5; y: -0.5 } +PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: 0.5; y: 5 } +PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } +PathLine { x: 5; y: 0 } +}} + TextField { + // component (Instance) level: 1 LocalServerPortField + id: figma_i701_337_219_74 + // # "LocalServerPortField" + objectName:"LocalServerPortField" + x:3 + y:0 + width:527 + height:23 + color:"#ff7d7e82" + wrapMode: TextEdit.WordWrap + text:"" +background: Rectangle {color: "transparent"} font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignVCenter + } + } + } + InputComponent42_figma { + // component (Instance) level: 0 InputComponent + id: figma_701_338 + // # "InputComponent" + objectName:"InputComponent" + x: (figma_701_334.width - width) / 2 - 17 + y:244 + width:533 + height:40 + Text { + // component (Instance) level: 1 ProjectLabel + id: figma_i701_338_219_73 + // # "ProjectLabel" + objectName:"ProjectLabel" + x:0 + y:0 + width:533 + height:13 + color:"#ff302f38" + wrapMode: TextEdit.WordWrap + text:"Логин" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 11 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 1 StrokeElement + id: figma_i701_338_219_155 + // # "StrokeElement" + objectName:"StrokeElement" + x:0 + y:17 + width:533 + height:23 + color: "transparent" + radius:5 + clip: false +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0, 0, 0, 1) + strokeWidth: 1 + fillColor: "transparent" + PathMove { x: 5; y: 0 } +PathLine { x: 5; y: 0.5 } +PathLine { x: 528; y: 0.5 } +PathLine { x: 528; y: 0 } +PathLine { x: 528; y: -0.5 } +PathLine { x: 5; y: -0.5 } +PathLine { x: 5; y: 0 } +PathMove { x: 533; y: 5 } +PathLine { x: 532.5; y: 5 } +PathLine { x: 532.5; y: 18 } +PathLine { x: 533; y: 18 } +PathLine { x: 533.5; y: 18 } +PathLine { x: 533.5; y: 5 } +PathLine { x: 533; y: 5 } +PathMove { x: 528; y: 23 } +PathLine { x: 528; y: 22.5 } +PathLine { x: 5.00001; y: 22.5 } +PathLine { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 23.5 } +PathLine { x: 528; y: 23.5 } +PathLine { x: 528; y: 23 } +PathMove { x: 0; y: 18 } +PathLine { x: 0.5; y: 18 } +PathLine { x: 0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: -0.5; y: 5 } +PathLine { x: -0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathMove { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 22.5 } +PathCubic { control1X: 2.51473; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathLine { x: -0.5; y: 18 } +PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96244; control2Y: 23.5; x: 5.00001; y: 23.5 } +PathLine { x: 5.00001; y: 23 } +PathMove { x: 533; y: 18 } +PathLine { x: 532.5; y: 18 } +PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 } +PathLine { x: 528; y: 23 } +PathLine { x: 528; y: 23.5 } +PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 } +PathLine { x: 533; y: 18 } +PathMove { x: 528; y: 0 } +PathLine { x: 528; y: 0.5 } +PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 } +PathLine { x: 533; y: 5 } +PathLine { x: 533.5; y: 5 } +PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 } +PathLine { x: 528; y: 0 } +PathMove { x: 5; y: 0 } +PathLine { x: 5; y: -0.5 } +PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: 0.5; y: 5 } +PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } +PathLine { x: 5; y: 0 } +}} + TextField { + // component (Instance) level: 1 RemoteServerLoginField + id: figma_i701_338_219_74 + // # "RemoteServerLoginField" + objectName:"RemoteServerLoginField" + x:3 + y:0 + width:527 + height:23 + color:"#ff7d7e82" + wrapMode: TextEdit.WordWrap + text:"" +background: Rectangle {color: "transparent"} font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignVCenter + } + } + } + InputComponent42_figma { + // component (Instance) level: 0 InputComponent + id: figma_701_339 + // # "InputComponent" + objectName:"InputComponent" + x: (figma_701_334.width - width) / 2 - 17 + y:284 + width:533 + height:40 + Text { + // component (Instance) level: 1 ProjectLabel + id: figma_i701_339_219_73 + // # "ProjectLabel" + objectName:"ProjectLabel" + x:0 + y:0 + width:533 + height:13 + color:"#ff302f38" + wrapMode: TextEdit.WordWrap + text:"Пароль" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 11 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 1 StrokeElement + id: figma_i701_339_219_155 + // # "StrokeElement" + objectName:"StrokeElement" + x:0 + y:17 + width:533 + height:23 + color: "transparent" + radius:5 + clip: false +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0, 0, 0, 1) + strokeWidth: 1 + fillColor: "transparent" + PathMove { x: 5; y: 0 } +PathLine { x: 5; y: 0.5 } +PathLine { x: 528; y: 0.5 } +PathLine { x: 528; y: 0 } +PathLine { x: 528; y: -0.5 } +PathLine { x: 5; y: -0.5 } +PathLine { x: 5; y: 0 } +PathMove { x: 533; y: 5 } +PathLine { x: 532.5; y: 5 } +PathLine { x: 532.5; y: 18 } +PathLine { x: 533; y: 18 } +PathLine { x: 533.5; y: 18 } +PathLine { x: 533.5; y: 5 } +PathLine { x: 533; y: 5 } +PathMove { x: 528; y: 23 } +PathLine { x: 528; y: 22.5 } +PathLine { x: 5.00001; y: 22.5 } +PathLine { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 23.5 } +PathLine { x: 528; y: 23.5 } +PathLine { x: 528; y: 23 } +PathMove { x: 0; y: 18 } +PathLine { x: 0.5; y: 18 } +PathLine { x: 0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: -0.5; y: 5 } +PathLine { x: -0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathMove { x: 5.00001; y: 23 } +PathLine { x: 5.00001; y: 22.5 } +PathCubic { control1X: 2.51473; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathLine { x: -0.5; y: 18 } +PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96244; control2Y: 23.5; x: 5.00001; y: 23.5 } +PathLine { x: 5.00001; y: 23 } +PathMove { x: 533; y: 18 } +PathLine { x: 532.5; y: 18 } +PathCubic { control1X: 532.5; control1Y: 20.4853; control2X: 530.485; control2Y: 22.5; x: 528; y: 22.5 } +PathLine { x: 528; y: 23 } +PathLine { x: 528; y: 23.5 } +PathCubic { control1X: 531.038; control1Y: 23.5; control2X: 533.5; control2Y: 21.0376; x: 533.5; y: 18 } +PathLine { x: 533; y: 18 } +PathMove { x: 528; y: 0 } +PathLine { x: 528; y: 0.5 } +PathCubic { control1X: 530.485; control1Y: 0.5; control2X: 532.5; control2Y: 2.51472; x: 532.5; y: 5 } +PathLine { x: 533; y: 5 } +PathLine { x: 533.5; y: 5 } +PathCubic { control1X: 533.5; control1Y: 1.96243; control2X: 531.038; control2Y: -0.5; x: 528; y: -0.5 } +PathLine { x: 528; y: 0 } +PathMove { x: 5; y: 0 } +PathLine { x: 5; y: -0.5 } +PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: 0.5; y: 5 } +PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } +PathLine { x: 5; y: 0 } +}} + TextField { + // component (Instance) level: 1 RemoteServerPasswordField + id: figma_i701_339_219_74 + // # "RemoteServerPasswordField" + objectName:"RemoteServerPasswordField" + x:3 + y:0 + width:527 + height:23 + color:"#ff7d7e82" + wrapMode: TextEdit.WordWrap + text:"" +background: Rectangle {color: "transparent"} font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignVCenter + } + } + } + LabelHeaderComponentH2_bold40_figma { + // component (Instance) level: 0 LabelHeaderComponentH2-bold + id: figma_701_340 + // # "LabelHeaderComponentH2-bold" + objectName:"LabelHeaderComponentH2-bold" + x:8 + y:95 + width:518 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 Label + id: figma_i701_340_269_148 + // # "Label" + objectName:"Label" + x:0 + y:0 + width:154 + height:19 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Удалённый сервер " + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + LabelHeaderComponentH2_bold40_figma { + // component (Instance) level: 0 LabelHeaderComponentH2-bold + id: figma_701_341 + // # "LabelHeaderComponentH2-bold" + objectName:"LabelHeaderComponentH2-bold" + x:6 + y:180 + width:512 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 Label + id: figma_i701_341_269_148 + // # "Label" + objectName:"Label" + x:0 + y:0 + width:215 + height:19 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Локальный прокси сервер " + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + Rectangle { + // component (Instance) level: 0 Frame 877 + id: figma_701_342 + // # "Frame 877" + objectName:"Frame 877" + x:6 + y:36 + width:560 + height:40 + color: "transparent" + clip: false + + InputComponent42_figma { + // component (Instance) level: 0 InputComponent + id: figma_701_343 + // # "InputComponent" + objectName:"InputComponent" + x: (figma_701_342.width - width) / 2 - 15 + y: (figma_701_342.height - height) / 2 + width:536 + height:40 + Text { + // component (Instance) level: 1 ProjectLabel + id: figma_i701_343_219_73 + // # "ProjectLabel" + objectName:"ProjectLabel" + x:0 + y:0 + width:536 + height:13 + color:"#ff302f38" + wrapMode: TextEdit.WordWrap + text:"Путь по умолчанию" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 11 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 1 StrokeElement + id: figma_i701_343_219_155 + // # "StrokeElement" + objectName:"StrokeElement" + x:0 + y:17 + width:536 + height:23 + color: "transparent" + radius:5 + clip: false +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0, 0, 0, 1) + strokeWidth: 1 + fillColor: "transparent" + PathMove { x: 5; y: 0 } +PathLine { x: 5; y: 0.5 } +PathLine { x: 531; y: 0.5 } +PathLine { x: 531; y: 0 } +PathLine { x: 531; y: -0.5 } +PathLine { x: 5; y: -0.5 } +PathLine { x: 5; y: 0 } +PathMove { x: 536; y: 5 } +PathLine { x: 535.5; y: 5 } +PathLine { x: 535.5; y: 18 } +PathLine { x: 536; y: 18 } +PathLine { x: 536.5; y: 18 } +PathLine { x: 536.5; y: 5 } +PathLine { x: 536; y: 5 } +PathMove { x: 531; y: 23 } +PathLine { x: 531; y: 22.5 } +PathLine { x: 5; y: 22.5 } +PathLine { x: 5; y: 23 } +PathLine { x: 5; y: 23.5 } +PathLine { x: 531; y: 23.5 } +PathLine { x: 531; y: 23 } +PathMove { x: 0; y: 18 } +PathLine { x: 0.5; y: 18 } +PathLine { x: 0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: -0.5; y: 5 } +PathLine { x: -0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathMove { x: 5; y: 23 } +PathLine { x: 5; y: 22.5 } +PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathLine { x: -0.5; y: 18 } +PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96244; control2Y: 23.5; x: 5; y: 23.5 } +PathLine { x: 5; y: 23 } +PathMove { x: 536; y: 18 } +PathLine { x: 535.5; y: 18 } +PathCubic { control1X: 535.5; control1Y: 20.4853; control2X: 533.485; control2Y: 22.5; x: 531; y: 22.5 } +PathLine { x: 531; y: 23 } +PathLine { x: 531; y: 23.5 } +PathCubic { control1X: 534.038; control1Y: 23.5; control2X: 536.5; control2Y: 21.0376; x: 536.5; y: 18 } +PathLine { x: 536; y: 18 } +PathMove { x: 531; y: 0 } +PathLine { x: 531; y: 0.5 } +PathCubic { control1X: 533.485; control1Y: 0.5; control2X: 535.5; control2Y: 2.51472; x: 535.5; y: 5 } +PathLine { x: 536; y: 5 } +PathLine { x: 536.5; y: 5 } +PathCubic { control1X: 536.5; control1Y: 1.96243; control2X: 534.038; control2Y: -0.5; x: 531; y: -0.5 } +PathLine { x: 531; y: 0 } +PathMove { x: 5; y: 0 } +PathLine { x: 5; y: -0.5 } +PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: 0.5; y: 5 } +PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } +PathLine { x: 5; y: 0 } +}} + TextField { + // component (Instance) level: 1 ProjectsPathLabelField + id: figma_i701_343_219_74 + // # "ProjectsPathLabelField" + objectName:"ProjectsPathLabelField" + x:3 + y:0 + width:530 + height:23 + color:"#ff7d7e82" + wrapMode: TextEdit.WordWrap + text:"1" +background: Rectangle {color: "transparent"} font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignVCenter + } + } + } + Item { + // component (Instance) level: 0 DefaultPathFolderIcon + id: figma_701_344 + // # "DefaultPathFolderIcon" + objectName:"DefaultPathFolderIcon" + x:537 + y: (figma_701_342.height - height) / 2 + 9.5 + width:23 + height:23 + MultiEffect { + maskEnabled: true + anchors.fill:parent + source: source_figma_701_344 + maskSource: maskSource_figma_701_344 + } + Image { + id: source_figma_701_344 + layer.enabled: true + fillMode: Image.PreserveAspectCrop + visible: false + mipmap: true + anchors.fill:parent + source: "images/3bfa83926f7ea5f5794c8a36f75a8e04438c335d.png" + } + Shape { + id: maskSource_figma_701_344 + anchors.fill: parent + layer.enabled: true + visible: false + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0449219 + fillColor:"black" + fillRule: ShapePath.WindingFill + PathSvg { + path: "M0 0L23 0L23 23L0 23L0 0Z" + } + } + } + Shape { + anchors.fill: parent + ShapePath { + strokeColor: "transparent" + strokeWidth:0.0449219 + fillColor:"#00000000" + // component (shapeFill) level: 0 + id: svgpath_figma_701_344 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_701_344 + path: "M0 0L23 0L23 23L0 23L0 0Z" + } + } + } + property alias path: path_0_figma_701_344.path + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_SettingsPage3_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SettingsPage3_figma.qml index 3ad9398..5bdc2c1 100644 --- a/Quartz/pages/FigmaQmlInterface/qml/TestPage_SettingsPage3_figma.qml +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SettingsPage3_figma.qml @@ -7,848 +7,223 @@ import QtQuick.Controls import QtQuick.Shapes import FigmaQmlInterface Rectangle { -// component (Instance) level: 0 SettingsPage - id: figma_94_86 +// component (Instance) level: 0 SettingsPage + id: figma_701_491 // # "SettingsPage" objectName:"SettingsPage" x:0 y:0 - width:1096 - height:900 + width:600 + height:418 color: "transparent" - clip: true - - LabelHeaderComponentH125_figma { - // component (Instance) level: 0 MainPageHeader - id: figma_94_87 - // # "MainPageHeader" - objectName:"MainPageHeader" - x:31 - y:20 - width:171 - height:39 - Text { - // component (Instance) level: 1 LabelHeader - id: figma_i94_87_613_438 - // # "LabelHeader" - objectName:"LabelHeader" - x:0 - y:0 - width:171 - height:39 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Настройки" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 32 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } - LabelComponent22_figma { - // component (Instance) level: 0 LabelComponent - id: figma_94_88 - // # "LabelComponent" - objectName:"LabelComponent" - x:197 - y:32 - Text { - // component (Instance) level: 1 SubdirectorName - id: figma_i94_88_613_450 - // # "SubdirectorName" - objectName:"SubdirectorName" - visible: false - x:0 - y:0 - width:146 - height:19 - color:"#ff000000" - wrapMode: TextEdit.WordWrap - text:"Преобразование..." - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - } + clip: false + Rectangle { - // component (Instance) level: 0 Frame 795 - id: figma_94_89 - // # "Frame 795" - objectName:"Frame 795" + // component (Instance) level: 0 ListStagesPanel + id: figma_701_492 + // # "ListStagesPanel" + objectName:"ListStagesPanel" x:0 - y:65 - width:1096 - height:835 - color:"#ffffffff" - clip: true - - InputComponent33_figma { - // component (Instance) level: 0 InputComponent - id: figma_249_53 - // # "InputComponent" - objectName:"InputComponent" - x: (figma_94_89.width - width) / 2 - 242 - y:70 - width:470 - height:40 - delegate_219_73: Text { - // component (Instance) level: 1 ProjectLabel - id: figma_i249_53_219_73 - // # "ProjectLabel" - objectName:"ProjectLabel" - x:0 - y:0 - width:470 - height:13 - color:"#ff302f38" - wrapMode: TextEdit.WordWrap - text:"Путь по умолчанию" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - delegate_219_155: Rectangle { - // component (Instance) level: 1 StrokeElement - id: figma_i249_53_219_155 - // # "StrokeElement" - objectName:"StrokeElement" - x:0 - y:17 - width:470 - height:23 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0, 0, 0, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 465; y: 0.5 } -PathLine { x: 465; y: 0 } -PathLine { x: 465; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 470; y: 5 } -PathLine { x: 469.5; y: 5 } -PathLine { x: 469.5; y: 18 } -PathLine { x: 470; y: 18 } -PathLine { x: 470.5; y: 18 } -PathLine { x: 470.5; y: 5 } -PathLine { x: 470; y: 5 } -PathMove { x: 465; y: 23 } -PathLine { x: 465; y: 22.5 } -PathLine { x: 5; y: 22.5 } -PathLine { x: 5; y: 23 } -PathLine { x: 5; y: 23.5 } -PathLine { x: 465; y: 23.5 } -PathLine { x: 465; y: 23 } -PathMove { x: 0; y: 18 } -PathLine { x: 0.5; y: 18 } -PathLine { x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathLine { x: -0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathMove { x: 5; y: 23 } -PathLine { x: 5; y: 22.5 } -PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathLine { x: -0.5; y: 18 } -PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 } -PathLine { x: 5; y: 23 } -PathMove { x: 470; y: 18 } -PathLine { x: 469.5; y: 18 } -PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 } -PathLine { x: 465; y: 23 } -PathLine { x: 465; y: 23.5 } -PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 } -PathLine { x: 470; y: 18 } -PathMove { x: 465; y: 0 } -PathLine { x: 465; y: 0.5 } -PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 } -PathLine { x: 470; y: 5 } -PathLine { x: 470.5; y: 5 } -PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 } -PathLine { x: 465; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - TextField { - // component (Instance) level: 1 ProjectsPathLabelField - id: figma_i249_53_219_74 - // # "ProjectsPathLabelField" - objectName:"ProjectsPathLabelField" - x:3 - y:0 - width:464 - height:23 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"1" -background: Rectangle {color: "transparent"} font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignVCenter + y:76 + width:180 + height:342 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 864 + id: figma_701_493 + // # "Frame 864" + objectName:"Frame 864" + x:0 + y:0 + width:180 + height:23 + gradient: + LinearGradient { + x1:0.5 + y1:0 + x2:0.5 + y2:1 + GradientStop { + position: 0 + color:"#ffffffff" + } + GradientStop { + position: 1 + color:"#ffd9d9d9" + } } - } - } - LabelHeaderComponentH2_bold56_figma { - // component (Instance) level: 0 LabelHeaderComponentH2-bold - id: figma_269_150 - // # "LabelHeaderComponentH2-bold" - objectName:"LabelHeaderComponentH2-bold" - x:71 - y:37 - width:154 - height:31 - color: "transparent" - delegate_269_148: Text { - // component (Instance) level: 1 Label - id: figma_i269_150_269_148 - // # "Label" - objectName:"Label" - x:0 - y:0 - width:154 - height:31 + clip: false + + Text { + // component (Instance) level: 0 Шаги + id: figma_701_494 + // # "Шаги" + objectName:"Шаги" + x:9 + y: (figma_701_493.height - height) / 2 + 0.5 + width:35 + height:16 color:"#ff000000" wrapMode: TextEdit.WordWrap - text:"Хранилище" + text:"Шаги" font.family: "Tahoma" font.italic: false font.letterSpacing: 0 - font.pixelSize: 26 - font.weight: Font.DemiBold + font.pixelSize: 13 + font.weight: Font.Normal horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignTop } } Rectangle { - // component (Instance) level: 0 Frame 804 - id: figma_443_66 - // # "Frame 804" - objectName:"Frame 804" - x:71 - y:149 - width:473 - height:180 + // component (Instance) level: 0 ContentListStages + id: figma_701_533 + // # "ContentListStages" + objectName:"ContentListStages" + x:0 + y:33 + width:180 + height:309 color: "transparent" - clip: false - - InputComponent33_figma { - // component (Instance) level: 0 InputComponent - id: figma_249_58 - // # "InputComponent" - objectName:"InputComponent" - x: (figma_443_66.width - width) / 2 + 1.5 - y:34 - width:470 - height:40 - delegate_219_73: Text { - // component (Instance) level: 1 ProjectLabel - id: figma_i249_58_219_73 - // # "ProjectLabel" - objectName:"ProjectLabel" - x:0 - y:0 - width:470 - height:13 - color:"#ff302f38" - wrapMode: TextEdit.WordWrap - text:"Адрес" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - delegate_219_155: Rectangle { - // component (Instance) level: 1 StrokeElement - id: figma_i249_58_219_155 - // # "StrokeElement" - objectName:"StrokeElement" - x:0 - y:17 - width:470 - height:23 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0, 0, 0, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 465; y: 0.5 } -PathLine { x: 465; y: 0 } -PathLine { x: 465; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 470; y: 5 } -PathLine { x: 469.5; y: 5 } -PathLine { x: 469.5; y: 18 } -PathLine { x: 470; y: 18 } -PathLine { x: 470.5; y: 18 } -PathLine { x: 470.5; y: 5 } -PathLine { x: 470; y: 5 } -PathMove { x: 465; y: 23 } -PathLine { x: 465; y: 22.5 } -PathLine { x: 5; y: 22.5 } -PathLine { x: 5; y: 23 } -PathLine { x: 5; y: 23.5 } -PathLine { x: 465; y: 23.5 } -PathLine { x: 465; y: 23 } -PathMove { x: 0; y: 18 } -PathLine { x: 0.5; y: 18 } -PathLine { x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathLine { x: -0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathMove { x: 5; y: 23 } -PathLine { x: 5; y: 22.5 } -PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathLine { x: -0.5; y: 18 } -PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 } -PathLine { x: 5; y: 23 } -PathMove { x: 470; y: 18 } -PathLine { x: 469.5; y: 18 } -PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 } -PathLine { x: 465; y: 23 } -PathLine { x: 465; y: 23.5 } -PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 } -PathLine { x: 470; y: 18 } -PathMove { x: 465; y: 0 } -PathLine { x: 465; y: 0.5 } -PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 } -PathLine { x: 470; y: 5 } -PathLine { x: 470.5; y: 5 } -PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 } -PathLine { x: 465; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - TextField { - // component (Instance) level: 1 RemoteAddressLabelField - id: figma_i249_58_219_74 - // # "RemoteAddressLabelField" - objectName:"RemoteAddressLabelField" - x:3 - y:0 - width:464 - height:23 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"http://localhost:1234" -background: Rectangle {color: "transparent"} font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignVCenter - } - } - } - InputComponent33_figma { - // component (Instance) level: 0 InputComponent - id: figma_443_56 - // # "InputComponent" - objectName:"InputComponent" - x: (figma_443_66.width - width) / 2 + 1.5 - y:87 - width:470 - height:40 - delegate_219_73: Text { - // component (Instance) level: 1 PortLabel - id: figma_i443_56_219_73 - // # "PortLabel" - objectName:"PortLabel" - x:0 - y:0 - width:470 - height:13 - color:"#ff302f38" - wrapMode: TextEdit.WordWrap - text:"Локальный порт" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - delegate_219_155: Rectangle { - // component (Instance) level: 1 StrokeElement - id: figma_i443_56_219_155 - // # "StrokeElement" - objectName:"StrokeElement" - x:0 - y:17 - width:470 - height:23 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0, 0, 0, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 465; y: 0.5 } -PathLine { x: 465; y: 0 } -PathLine { x: 465; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 470; y: 5 } -PathLine { x: 469.5; y: 5 } -PathLine { x: 469.5; y: 18 } -PathLine { x: 470; y: 18 } -PathLine { x: 470.5; y: 18 } -PathLine { x: 470.5; y: 5 } -PathLine { x: 470; y: 5 } -PathMove { x: 465; y: 23 } -PathLine { x: 465; y: 22.5 } -PathLine { x: 5; y: 22.5 } -PathLine { x: 5; y: 23 } -PathLine { x: 5; y: 23.5 } -PathLine { x: 465; y: 23.5 } -PathLine { x: 465; y: 23 } -PathMove { x: 0; y: 18 } -PathLine { x: 0.5; y: 18 } -PathLine { x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathLine { x: -0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathMove { x: 5; y: 23 } -PathLine { x: 5; y: 22.5 } -PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathLine { x: -0.5; y: 18 } -PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 } -PathLine { x: 5; y: 23 } -PathMove { x: 470; y: 18 } -PathLine { x: 469.5; y: 18 } -PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 } -PathLine { x: 465; y: 23 } -PathLine { x: 465; y: 23.5 } -PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 } -PathLine { x: 470; y: 18 } -PathMove { x: 465; y: 0 } -PathLine { x: 465; y: 0.5 } -PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 } -PathLine { x: 470; y: 5 } -PathLine { x: 470.5; y: 5 } -PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 } -PathLine { x: 465; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - TextField { - // component (Instance) level: 1 LocalServerPortField - id: figma_i443_56_219_74 - // # "LocalServerPortField" - objectName:"LocalServerPortField" - x:3 - y:0 - width:464 - height:23 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"" -background: Rectangle {color: "transparent"} font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignVCenter - } - } - } - InputComponent33_figma { - // component (Instance) level: 0 InputComponent - id: figma_668_41 - // # "InputComponent" - objectName:"InputComponent" - x: (figma_443_66.width - width) / 2 + 1.5 - y:140 - width:470 - height:40 - delegate_219_73: Text { - // component (Instance) level: 1 ProjectLabel - id: figma_i668_41_219_73 - // # "ProjectLabel" - objectName:"ProjectLabel" - x:0 - y:0 - width:470 - height:13 - color:"#ff302f38" - wrapMode: TextEdit.WordWrap - text:"Логин" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - delegate_219_155: Rectangle { - // component (Instance) level: 1 StrokeElement - id: figma_i668_41_219_155 - // # "StrokeElement" - objectName:"StrokeElement" - x:0 - y:17 - width:470 - height:23 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0, 0, 0, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 465; y: 0.5 } -PathLine { x: 465; y: 0 } -PathLine { x: 465; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 470; y: 5 } -PathLine { x: 469.5; y: 5 } -PathLine { x: 469.5; y: 18 } -PathLine { x: 470; y: 18 } -PathLine { x: 470.5; y: 18 } -PathLine { x: 470.5; y: 5 } -PathLine { x: 470; y: 5 } -PathMove { x: 465; y: 23 } -PathLine { x: 465; y: 22.5 } -PathLine { x: 5; y: 22.5 } -PathLine { x: 5; y: 23 } -PathLine { x: 5; y: 23.5 } -PathLine { x: 465; y: 23.5 } -PathLine { x: 465; y: 23 } -PathMove { x: 0; y: 18 } -PathLine { x: 0.5; y: 18 } -PathLine { x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathLine { x: -0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathMove { x: 5; y: 23 } -PathLine { x: 5; y: 22.5 } -PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathLine { x: -0.5; y: 18 } -PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 } -PathLine { x: 5; y: 23 } -PathMove { x: 470; y: 18 } -PathLine { x: 469.5; y: 18 } -PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 } -PathLine { x: 465; y: 23 } -PathLine { x: 465; y: 23.5 } -PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 } -PathLine { x: 470; y: 18 } -PathMove { x: 465; y: 0 } -PathLine { x: 465; y: 0.5 } -PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 } -PathLine { x: 470; y: 5 } -PathLine { x: 470.5; y: 5 } -PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 } -PathLine { x: 465; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - TextField { - // component (Instance) level: 1 RemoteServerLoginField - id: figma_i668_41_219_74 - // # "RemoteServerLoginField" - objectName:"RemoteServerLoginField" - x:3 - y:0 - width:464 - height:23 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"" -background: Rectangle {color: "transparent"} font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignVCenter - } - } - } - InputComponent33_figma { - // component (Instance) level: 0 InputComponent - id: figma_443_61 - // # "InputComponent" - objectName:"InputComponent" - x: (figma_443_66.width - width) / 2 + 1.5 - y:193 - width:470 - height:40 - delegate_219_73: Text { - // component (Instance) level: 1 ProjectLabel - id: figma_i443_61_219_73 - // # "ProjectLabel" - objectName:"ProjectLabel" - x:0 - y:0 - width:470 - height:13 - color:"#ff302f38" - wrapMode: TextEdit.WordWrap - text:"Пароль" - font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 11 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignTop - } - delegate_219_155: Rectangle { - // component (Instance) level: 1 StrokeElement - id: figma_i443_61_219_155 - // # "StrokeElement" - objectName:"StrokeElement" - x:0 - y:17 - width:470 - height:23 - color: "transparent" - radius:5 - clip: false -Shape { - anchors.fill: parent -ShapePath { - strokeColor: Qt.rgba(0, 0, 0, 1) - strokeWidth: 1 - fillColor: "transparent" - PathMove { x: 5; y: 0 } -PathLine { x: 5; y: 0.5 } -PathLine { x: 465; y: 0.5 } -PathLine { x: 465; y: 0 } -PathLine { x: 465; y: -0.5 } -PathLine { x: 5; y: -0.5 } -PathLine { x: 5; y: 0 } -PathMove { x: 470; y: 5 } -PathLine { x: 469.5; y: 5 } -PathLine { x: 469.5; y: 18 } -PathLine { x: 470; y: 18 } -PathLine { x: 470.5; y: 18 } -PathLine { x: 470.5; y: 5 } -PathLine { x: 470; y: 5 } -PathMove { x: 465; y: 23 } -PathLine { x: 465; y: 22.5 } -PathLine { x: 5; y: 22.5 } -PathLine { x: 5; y: 23 } -PathLine { x: 5; y: 23.5 } -PathLine { x: 465; y: 23.5 } -PathLine { x: 465; y: 23 } -PathMove { x: 0; y: 18 } -PathLine { x: 0.5; y: 18 } -PathLine { x: 0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: -0.5; y: 5 } -PathLine { x: -0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathMove { x: 5; y: 23 } -PathLine { x: 5; y: 22.5 } -PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } -PathLine { x: 0; y: 18 } -PathLine { x: -0.5; y: 18 } -PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96243; control2Y: 23.5; x: 5; y: 23.5 } -PathLine { x: 5; y: 23 } -PathMove { x: 470; y: 18 } -PathLine { x: 469.5; y: 18 } -PathCubic { control1X: 469.5; control1Y: 20.4853; control2X: 467.485; control2Y: 22.5; x: 465; y: 22.5 } -PathLine { x: 465; y: 23 } -PathLine { x: 465; y: 23.5 } -PathCubic { control1X: 468.038; control1Y: 23.5; control2X: 470.5; control2Y: 21.0376; x: 470.5; y: 18 } -PathLine { x: 470; y: 18 } -PathMove { x: 465; y: 0 } -PathLine { x: 465; y: 0.5 } -PathCubic { control1X: 467.485; control1Y: 0.5; control2X: 469.5; control2Y: 2.51472; x: 469.5; y: 5 } -PathLine { x: 470; y: 5 } -PathLine { x: 470.5; y: 5 } -PathCubic { control1X: 470.5; control1Y: 1.96243; control2X: 468.038; control2Y: -0.5; x: 465; y: -0.5 } -PathLine { x: 465; y: 0 } -PathMove { x: 5; y: 0 } -PathLine { x: 5; y: -0.5 } -PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } -PathLine { x: 0; y: 5 } -PathLine { x: 0.5; y: 5 } -PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } -PathLine { x: 5; y: 0 } -}} - TextField { - // component (Instance) level: 1 RemoteServerPasswordField - id: figma_i443_61_219_74 - // # "RemoteServerPasswordField" - objectName:"RemoteServerPasswordField" - x:3 - y:0 - width:464 - height:23 - color:"#ff7d7e82" - wrapMode: TextEdit.WordWrap - text:"" -background: Rectangle {color: "transparent"} font.family: "Tahoma" - font.italic: false - font.letterSpacing: 0 - font.pixelSize: 16 - font.weight: Font.Normal - horizontalAlignment: Text.AlignLeft - verticalAlignment: Text.AlignVCenter - } - } - } - LabelHeaderComponentH2_bold56_figma { - // component (Instance) level: 0 LabelHeaderComponentH2-bold - id: figma_269_160 - // # "LabelHeaderComponentH2-bold" - objectName:"LabelHeaderComponentH2-bold" - x:0 + clip: true + + } + } + Rectangle { + // component (Instance) level: 0 ContentHeaderStage + id: figma_701_500 + // # "ContentHeaderStage" + objectName:"ContentHeaderStage" + x:8 + y:12 + width:585 + height:56 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 872 + id: figma_701_501 + // # "Frame 872" + objectName:"Frame 872" + x:0 + y:0 + width:142 + height:15 + color: "transparent" + clip: false + + LabelHeaderComponentH326_figma { + // component (Instance) level: 0 InformationHeader + id: figma_701_502 + // # "InformationHeader" + objectName:"InformationHeader" + x:9 y:0 - width:99 - height:31 - color: "transparent" - delegate_269_148: Text { - // component (Instance) level: 1 Label - id: figma_i269_160_269_148 - // # "Label" - objectName:"Label" + width:133 + height:15 + Text { + // component (Instance) level: 1 LabelWizardStage + id: figma_i701_502_613_430 + // # "LabelWizardStage" + objectName:"LabelWizardStage" x:0 y:0 - width:99 - height:31 + width:103 + height:17 color:"#ff000000" wrapMode: TextEdit.WordWrap - text:"Сервер" + text:"Выбор файлов" font.family: "Tahoma" font.italic: false font.letterSpacing: 0 - font.pixelSize: 26 + font.pixelSize: 14 font.weight: Font.DemiBold horizontalAlignment: Text.AlignLeft verticalAlignment: Text.AlignTop } } } - Item { - // component (Instance) level: 0 DefaultPathFolderIcon - id: figma_443_54 - // # "DefaultPathFolderIcon" - objectName:"DefaultPathFolderIcon" - x:515 - y:87 - width:23 - height:23 - MultiEffect { - maskEnabled: true - anchors.fill:parent - source: source_figma_443_54 - maskSource: maskSource_figma_443_54 - } - Image { - id: source_figma_443_54 - layer.enabled: true - fillMode: Image.PreserveAspectCrop - visible: false - mipmap: true - anchors.fill:parent - source: "images/3bfa83926f7ea5f5794c8a36f75a8e04438c335d.png" - } - Shape { - id: maskSource_figma_443_54 - anchors.fill: parent - layer.enabled: true - visible: false - ShapePath { - strokeColor: "transparent" - strokeWidth:0.0449219 - fillColor:"black" - fillRule: ShapePath.WindingFill - PathSvg { - path: "M0 0L23 0L23 23L0 23L0 0Z" - } - } - } - Shape { - anchors.fill: parent - ShapePath { - strokeColor: "transparent" - strokeWidth:0.0449219 - fillColor:"#00000000" - // component (shapeFill) level: 0 - id: svgpath_figma_443_54 - fillRule: ShapePath.WindingFill - PathSvg { - id: path_0_figma_443_54 - path: "M0 0L23 0L23 23L0 23L0 0Z" - } - } - } - property alias path: path_0_figma_443_54.path + Text { + // component (Instance) level: 0 LabelDesciptionWizardStage + id: figma_701_503 + // # "LabelDesciptionWizardStage" + objectName:"LabelDesciptionWizardStage" + x:0 + y:27 + width:585 + height:29 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Выберите файлы для конвертации." + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop } } + Shape { + // component (Instance) level: 0 Rectangle 30 + id: figma_701_504 + // # "Rectangle 30" + objectName:"Rectangle 30" + x:0 + y:76 + width:600 + height:1 + ShapePath { + strokeColor: "transparent" + strokeWidth:1 + fillColor:"#ffd9d9d9" + // component (shapeFill) level: 0 + id: svgpath_figma_701_504 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_701_504 + path: "M0 0L600 0L600 1L0 1L0 0Z" + } + } + property alias path: path_0_figma_701_504.path + } + Shape { + // component (Instance) level: 0 Rectangle 31 + id: figma_701_505 + // # "Rectangle 31" + objectName:"Rectangle 31" + x:180 + y:77 + width:1 + height:341 + ShapePath { + strokeColor: "transparent" + strokeWidth:1 + fillColor:"#ffd9d9d9" + // component (shapeFill) level: 0 + id: svgpath_figma_701_505 + fillRule: ShapePath.WindingFill + PathSvg { + id: path_0_figma_701_505 + path: "M0 0L1 0L1 341L0 341L0 0Z" + } + } + property alias path: path_0_figma_701_505.path + } + Rectangle { + // component (Instance) level: 0 ContentOfStage + id: figma_701_534 + // # "ContentOfStage" + objectName:"ContentOfStage" + x:181 + y:77 + width:419 + height:341 + color: "transparent" + clip: false + + } } diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_SetupParamsStage1_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SetupParamsStage1_figma.qml new file mode 100644 index 0000000..68fe0a8 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_SetupParamsStage1_figma.qml @@ -0,0 +1,273 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 SetupParamsStage + id: figma_701_535 + // # "SetupParamsStage" + objectName:"SetupParamsStage" + x:0 + y:0 + width:419 + height:341 + color:"#fff0f0f0" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 868 + id: figma_701_536 + // # "Frame 868" + objectName:"Frame 868" + x:241 + y:317 + width:167 + height:19 + color: "transparent" + clip: false + + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 DeleteProjectButton + id: figma_701_537 + // # "DeleteProjectButton" + objectName:"DeleteProjectButton" + x:0 + y:0 + width:52 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 RemoveLabel + id: figma_i701_537_652_314 + // # "RemoveLabel" + objectName:"RemoveLabel" + x:7 + y:3 + width:38 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Отмена" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 BackButton + id: figma_701_538 + // # "BackButton" + objectName:"BackButton" + x:61 + y:0 + width:48 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 BackLabel + id: figma_i701_538_652_314 + // # "BackLabel" + objectName:"BackLabel" + x:9 + y:3 + width:30 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Назад" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 NextButton + id: figma_701_539 + // # "NextButton" + objectName:"NextButton" + x:118 + y:0 + width:49 + height:19 + color:"#ff0a5bff" + Text { + // component (Instance) level: 1 NextLabel + id: figma_i701_539_652_314 + // # "NextLabel" + objectName:"NextLabel" + x:9 + y:3 + width:31 + height:12 + color:"#ffffffff" + wrapMode: TextEdit.WordWrap + text:"Далее" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + Text { + // component (Instance) level: 0 Задайте параметры для проекта. + id: figma_701_540 + // # "Задайте параметры для проекта." + objectName:"Задайте параметры для проекта." + x:11 + y:13 + width:200 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Задайте параметры для проекта." + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + InputComponent42_figma { + // component (Instance) level: 0 InputComponent + id: figma_701_541 + // # "InputComponent" + objectName:"InputComponent" + x:11 + y:44 + width:397 + height:40 + Text { + // component (Instance) level: 1 ProjectLabel + id: figma_i701_541_219_73 + // # "ProjectLabel" + objectName:"ProjectLabel" + x:0 + y:0 + width:397 + height:13 + color:"#ff302f38" + wrapMode: TextEdit.WordWrap + text:"Имя проекта" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 11 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Rectangle { + // component (Instance) level: 1 StrokeElement + id: figma_i701_541_219_155 + // # "StrokeElement" + objectName:"StrokeElement" + x:0 + y:17 + width:397 + height:23 + color: "transparent" + radius:5 + clip: false +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0, 0, 0, 1) + strokeWidth: 1 + fillColor: "transparent" + PathMove { x: 5; y: 0 } +PathLine { x: 5; y: 0.5 } +PathLine { x: 392; y: 0.5 } +PathLine { x: 392; y: 0 } +PathLine { x: 392; y: -0.5 } +PathLine { x: 5; y: -0.5 } +PathLine { x: 5; y: 0 } +PathMove { x: 397; y: 5 } +PathLine { x: 396.5; y: 5 } +PathLine { x: 396.5; y: 18 } +PathLine { x: 397; y: 18 } +PathLine { x: 397.5; y: 18 } +PathLine { x: 397.5; y: 5 } +PathLine { x: 397; y: 5 } +PathMove { x: 392; y: 23 } +PathLine { x: 392; y: 22.5 } +PathLine { x: 5; y: 22.5 } +PathLine { x: 5; y: 23 } +PathLine { x: 5; y: 23.5 } +PathLine { x: 392; y: 23.5 } +PathLine { x: 392; y: 23 } +PathMove { x: 0; y: 18 } +PathLine { x: 0.5; y: 18 } +PathLine { x: 0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: -0.5; y: 5 } +PathLine { x: -0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathMove { x: 5; y: 23 } +PathLine { x: 5; y: 22.5 } +PathCubic { control1X: 2.51472; control1Y: 22.5; control2X: 0.5; control2Y: 20.4853; x: 0.5; y: 18 } +PathLine { x: 0; y: 18 } +PathLine { x: -0.5; y: 18 } +PathCubic { control1X: -0.5; control1Y: 21.0376; control2X: 1.96244; control2Y: 23.5; x: 5; y: 23.5 } +PathLine { x: 5; y: 23 } +PathMove { x: 397; y: 18 } +PathLine { x: 396.5; y: 18 } +PathCubic { control1X: 396.5; control1Y: 20.4853; control2X: 394.485; control2Y: 22.5; x: 392; y: 22.5 } +PathLine { x: 392; y: 23 } +PathLine { x: 392; y: 23.5 } +PathCubic { control1X: 395.038; control1Y: 23.5; control2X: 397.5; control2Y: 21.0376; x: 397.5; y: 18 } +PathLine { x: 397; y: 18 } +PathMove { x: 392; y: 0 } +PathLine { x: 392; y: 0.5 } +PathCubic { control1X: 394.485; control1Y: 0.5; control2X: 396.5; control2Y: 2.51472; x: 396.5; y: 5 } +PathLine { x: 397; y: 5 } +PathLine { x: 397.5; y: 5 } +PathCubic { control1X: 397.5; control1Y: 1.96243; control2X: 395.038; control2Y: -0.5; x: 392; y: -0.5 } +PathLine { x: 392; y: 0 } +PathMove { x: 5; y: 0 } +PathLine { x: 5; y: -0.5 } +PathCubic { control1X: 1.96243; control1Y: -0.5; control2X: -0.5; control2Y: 1.96243; x: -0.5; y: 5 } +PathLine { x: 0; y: 5 } +PathLine { x: 0.5; y: 5 } +PathCubic { control1X: 0.5; control1Y: 2.51472; control2X: 2.51472; control2Y: 0.5; x: 5; y: 0.5 } +PathLine { x: 5; y: 0 } +}} + TextField { + // component (Instance) level: 1 ProjectTextField + id: figma_i701_541_219_74 + // # "ProjectTextField" + objectName:"ProjectTextField" + x:3 + y:0 + width:391 + height:23 + color:"#ff7d7e82" + wrapMode: TextEdit.WordWrap + text:"1" +background: Rectangle {color: "transparent"} font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 16 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignVCenter + } + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_ShowStage1_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ShowStage1_figma.qml new file mode 100644 index 0000000..b69deb9 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_ShowStage1_figma.qml @@ -0,0 +1,233 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 ShowStage + id: figma_701_591 + // # "ShowStage" + objectName:"ShowStage" + x:0 + y:0 + width:419 + height:341 + color:"#fff0f0f0" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 876 + id: figma_701_592 + // # "Frame 876" + objectName:"Frame 876" + x:8 + y:6 + width:403 + height:330 + color: "transparent" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 803 + id: figma_701_593 + // # "Frame 803" + objectName:"Frame 803" + x:0 + y:0 + width:403 + height:311 + color: "transparent" + clip: false + + Text { + // component (Instance) level: 0 Label + id: figma_701_594 + // # "Label" + objectName:"Label" + x:1 + y:0 + width:55.2326 + height:12 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Проект" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Text { + // component (Instance) level: 0 ProjecNameLabel + id: figma_701_595 + // # "ProjecNameLabel" + objectName:"ProjecNameLabel" + x:1 + y:14 + width:389 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Краснокаменская" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Text { + // component (Instance) level: 0 Label + id: figma_701_596 + // # "Label" + objectName:"Label" + x:1 + y:32 + width:399.465 + height:12 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Расположение" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.DemiBold + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + Text { + // component (Instance) level: 0 ProjectPathLabel + id: figma_701_597 + // # "ProjectPathLabel" + objectName:"ProjectPathLabel" + x:1 + y:46 + width:391 + height:45 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"D:\fsdfsfsdfsfsfsfsfsdfdsfsfsdfsdfsdfsdfdsfsdfsfsdf\Projects\Qt\dfsfssdfsfsfsdfsdfsfsfsdfsfsdfdsfsdfs" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + Rectangle { + // component (Instance) level: 0 Frame 875 + id: figma_701_598 + // # "Frame 875" + objectName:"Frame 875" + x:9 + y:311 + width:385 + height:19 + color: "transparent" + clip: false + + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 DeleteProjectButton + id: figma_701_599 + // # "DeleteProjectButton" + objectName:"DeleteProjectButton" + x:0 + y:0 + width:146 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 RemoveLabel + id: figma_i701_599_652_314 + // # "RemoveLabel" + objectName:"RemoveLabel" + x:52 + y:3 + width:41 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Удалить" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 ShowProjectButton + id: figma_701_600 + // # "ShowProjectButton" + objectName:"ShowProjectButton" + x:158 + y:0 + width:148 + height:19 + color:"#ff0a5bff" + Text { + // component (Instance) level: 1 ShowLabel + id: figma_i701_600_652_314 + // # "ShowLabel" + objectName:"ShowLabel" + x:41 + y:3 + width:66 + height:12 + color:"#ffffffff" + wrapMode: TextEdit.WordWrap + text:"Просмотреть" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 FinishButton + id: figma_701_601 + // # "FinishButton" + objectName:"FinishButton" + x:318 + y:0 + width:67 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 FinishLabel + id: figma_i701_601_652_314 + // # "FinishLabel" + objectName:"FinishLabel" + x:16 + y:3 + width:34 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Готово" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/TestPage_TranslatingStage1_figma.qml b/Quartz/pages/FigmaQmlInterface/qml/TestPage_TranslatingStage1_figma.qml new file mode 100644 index 0000000..972c515 --- /dev/null +++ b/Quartz/pages/FigmaQmlInterface/qml/TestPage_TranslatingStage1_figma.qml @@ -0,0 +1,253 @@ +//Generated by FigmaQML 3.2.1 + +import QtQuick +import QtQuick.Effects +import QtQuick.Shapes +import QtQuick.Controls +import QtQuick.Shapes +import FigmaQmlInterface +Rectangle { +// component (Instance) level: 0 TranslatingStage + id: figma_701_549 + // # "TranslatingStage" + objectName:"TranslatingStage" + x:0 + y:0 + width:419 + height:341 + color:"#fff0f0f0" + clip: false + + Rectangle { + // component (Instance) level: 0 Frame 868 + id: figma_701_550 + // # "Frame 868" + objectName:"Frame 868" + x:302 + y:317 + width:106 + height:19 + color: "transparent" + clip: false + + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 BackButton + id: figma_701_551 + // # "BackButton" + objectName:"BackButton" + x:0 + y:0 + width:48 + height:19 + color: "transparent" + Text { + // component (Instance) level: 1 BackLabel + id: figma_i701_551_652_314 + // # "BackLabel" + objectName:"BackLabel" + x:9 + y:3 + width:30 + height:12 + color:"#ff110202" + wrapMode: TextEdit.WordWrap + text:"Назад" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + ProgressTranslateCancelButton38_figma { + // component (Instance) level: 0 NextButton + id: figma_701_552 + // # "NextButton" + objectName:"NextButton" + x:57 + y:0 + width:49 + height:19 + color:"#ff0a5bff" + Text { + // component (Instance) level: 1 NextLabel + id: figma_i701_552_652_314 + // # "NextLabel" + objectName:"NextLabel" + x:9 + y:3 + width:31 + height:12 + color:"#ffffffff" + wrapMode: TextEdit.WordWrap + text:"Далее" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 10 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } + Rectangle { + // component (Instance) level: 0 Frame 873 + id: figma_701_553 + // # "Frame 873" + objectName:"Frame 873" + x:120 + y:130 + width:191 + height:67.232 + color: "transparent" + clip: false + + LabelComponent24_figma { + // component (Instance) level: 0 ProgressTransformLabelItem + id: figma_701_554 + // # "ProgressTransformLabelItem" + objectName:"ProgressTransformLabelItem" + x:0 + y:0 + width:111 + height:15 + Text { + // component (Instance) level: 1 ProgressTransformLabel + id: figma_i701_554_613_450 + // # "ProgressTransformLabel" + objectName:"ProgressTransformLabel" + x:0 + y:0 + width:111 + height:15 + color:"#ff000000" + wrapMode: TextEdit.WordWrap + text:"Преобразование..." + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + Rectangle { + // component (Instance) level: 0 TranslateProgressBar + id: figma_701_555 + // # "TranslateProgressBar" + objectName:"TranslateProgressBar" + x:0 + y:20 + width:190.236 + height:16.808 + color: "transparent" + clip: true +Shape { + anchors.fill: parent +ShapePath { + strokeColor: Qt.rgba(0.0392157, 0.356863, 1, 1) + strokeWidth: 1.528 + fillColor: "transparent" + PathMove { x: 0; y: 0 } +PathLine { x: 0; y: -0.764 } +PathLine { x: -0.764; y: -0.764 } +PathLine { x: -0.764; y: 0 } +PathLine { x: 0; y: 0 } +PathMove { x: 190.236; y: 0 } +PathLine { x: 191; y: 0 } +PathLine { x: 191; y: -0.764 } +PathLine { x: 190.236; y: -0.764 } +PathLine { x: 190.236; y: 0 } +PathMove { x: 190.236; y: 16.808 } +PathLine { x: 190.236; y: 17.572 } +PathLine { x: 191; y: 17.572 } +PathLine { x: 191; y: 16.808 } +PathLine { x: 190.236; y: 16.808 } +PathMove { x: 0; y: 16.808 } +PathLine { x: -0.764; y: 16.808 } +PathLine { x: -0.764; y: 17.572 } +PathLine { x: 0; y: 17.572 } +PathLine { x: 0; y: 16.808 } +PathMove { x: 0; y: 0 } +PathLine { x: 0; y: 0.764 } +PathLine { x: 190.236; y: 0.764 } +PathLine { x: 190.236; y: 0 } +PathLine { x: 190.236; y: -0.764 } +PathLine { x: 0; y: -0.764 } +PathLine { x: 0; y: 0 } +PathMove { x: 190.236; y: 0 } +PathLine { x: 189.472; y: 0 } +PathLine { x: 189.472; y: 16.808 } +PathLine { x: 190.236; y: 16.808 } +PathLine { x: 191; y: 16.808 } +PathLine { x: 191; y: 0 } +PathLine { x: 190.236; y: 0 } +PathMove { x: 190.236; y: 16.808 } +PathLine { x: 190.236; y: 16.044 } +PathLine { x: 0; y: 16.044 } +PathLine { x: 0; y: 16.808 } +PathLine { x: 0; y: 17.572 } +PathLine { x: 190.236; y: 17.572 } +PathLine { x: 190.236; y: 16.808 } +PathMove { x: 0; y: 16.808 } +PathLine { x: 0.764; y: 16.808 } +PathLine { x: 0.764; y: 0 } +PathLine { x: 0; y: 0 } +PathLine { x: -0.764; y: 0 } +PathLine { x: -0.764; y: 16.808 } +PathLine { x: 0; y: 16.808 } +}} + Rectangle { + // component (Instance) level: 0 TranslateProgressBarFilled + id: figma_701_556 + // # "TranslateProgressBarFilled" + objectName:"TranslateProgressBarFilled" + x:0 + y:0 + width:30.56 + height:16.808 + color:"#ff0a5bff" + clip: true + + } + } + Rectangle { + // component (Instance) level: 0 ProgressTranslateCancelButton + id: figma_701_557 + // # "ProgressTranslateCancelButton" + objectName:"ProgressTranslateCancelButton" + x:3 + y:43 + width:186.416 + height:23.684 + color:"#ff0a5bff" + radius:22.92 + clip: true + + Text { + // component (Instance) level: 0 CancelLabel + id: figma_701_558 + // # "CancelLabel" + objectName:"CancelLabel" + x: (figma_701_557.width - width) / 2 - 0.208008 + y: (figma_701_557.height - height) / 2 - 0.342 + width:60 + height:15 + color:"#ffffffff" + wrapMode: TextEdit.WordWrap + text:"Отменить" + font.family: "Tahoma" + font.italic: false + font.letterSpacing: 0 + font.pixelSize: 12 + font.weight: Font.Normal + horizontalAlignment: Text.AlignLeft + verticalAlignment: Text.AlignTop + } + } + } +} diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/0b476a1a4f6492d458bce50e4c239b21fdd5dd59.png b/Quartz/pages/FigmaQmlInterface/qml/images/0b476a1a4f6492d458bce50e4c239b21fdd5dd59.png new file mode 100644 index 0000000..85334ea Binary files /dev/null and b/Quartz/pages/FigmaQmlInterface/qml/images/0b476a1a4f6492d458bce50e4c239b21fdd5dd59.png differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/1c48981d7f65b8590c4a278fdac35cda16325ad5.png b/Quartz/pages/FigmaQmlInterface/qml/images/1c48981d7f65b8590c4a278fdac35cda16325ad5.png new file mode 100644 index 0000000..20aa9c0 Binary files /dev/null and b/Quartz/pages/FigmaQmlInterface/qml/images/1c48981d7f65b8590c4a278fdac35cda16325ad5.png differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/2f16aa7c1fce22dea11dc59bd1e521a7a653e18e.png b/Quartz/pages/FigmaQmlInterface/qml/images/2f16aa7c1fce22dea11dc59bd1e521a7a653e18e.png deleted file mode 100644 index 9c1b630..0000000 Binary files a/Quartz/pages/FigmaQmlInterface/qml/images/2f16aa7c1fce22dea11dc59bd1e521a7a653e18e.png and /dev/null differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/3259052539ddee9dd518eeaf9e5a81633e5eabc1.png b/Quartz/pages/FigmaQmlInterface/qml/images/3259052539ddee9dd518eeaf9e5a81633e5eabc1.png new file mode 100644 index 0000000..82fb7e3 Binary files /dev/null and b/Quartz/pages/FigmaQmlInterface/qml/images/3259052539ddee9dd518eeaf9e5a81633e5eabc1.png differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/5845797c11bd3dce41447016f80ae3ecd6372c45.png b/Quartz/pages/FigmaQmlInterface/qml/images/5845797c11bd3dce41447016f80ae3ecd6372c45.png new file mode 100644 index 0000000..0d81c70 Binary files /dev/null and b/Quartz/pages/FigmaQmlInterface/qml/images/5845797c11bd3dce41447016f80ae3ecd6372c45.png differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/8500eafa1c0b05136ba0d949af53c060439d9230.png b/Quartz/pages/FigmaQmlInterface/qml/images/8500eafa1c0b05136ba0d949af53c060439d9230.png deleted file mode 100644 index 5e416d0..0000000 Binary files a/Quartz/pages/FigmaQmlInterface/qml/images/8500eafa1c0b05136ba0d949af53c060439d9230.png and /dev/null differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/8c9d53cbdf8ebb4f44c3bbf62a2ced4162dc01e3.png b/Quartz/pages/FigmaQmlInterface/qml/images/8c9d53cbdf8ebb4f44c3bbf62a2ced4162dc01e3.png new file mode 100644 index 0000000..2b533c1 Binary files /dev/null and b/Quartz/pages/FigmaQmlInterface/qml/images/8c9d53cbdf8ebb4f44c3bbf62a2ced4162dc01e3.png differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/cd7d27d472204b7e3a7bb8aa01b0d18fddb170ef.png b/Quartz/pages/FigmaQmlInterface/qml/images/cd7d27d472204b7e3a7bb8aa01b0d18fddb170ef.png deleted file mode 100644 index bad3bfa..0000000 Binary files a/Quartz/pages/FigmaQmlInterface/qml/images/cd7d27d472204b7e3a7bb8aa01b0d18fddb170ef.png and /dev/null differ diff --git a/Quartz/pages/FigmaQmlInterface/qml/images/e774f5e9c89c49d525aed5785d5bfcabb8cc67f3.png b/Quartz/pages/FigmaQmlInterface/qml/images/e774f5e9c89c49d525aed5785d5bfcabb8cc67f3.png deleted file mode 100644 index ec3623a..0000000 Binary files a/Quartz/pages/FigmaQmlInterface/qml/images/e774f5e9c89c49d525aed5785d5bfcabb8cc67f3.png and /dev/null differ diff --git a/Quartz/selectfilesstageactivity.cpp b/Quartz/selectfilesstageactivity.cpp new file mode 100644 index 0000000..1826bbb --- /dev/null +++ b/Quartz/selectfilesstageactivity.cpp @@ -0,0 +1,27 @@ +#include "selectfilesstageactivity.h" +#include "QDebug" + +SelectFilesStageActivity::SelectFilesStageActivity(QQuickItem * item, QObject *parent) + : QObject{parent}, root(item) +{ + if (!item) { + qWarning() << "[C++] Root object is null"; + return; + } + + init(); +} + +void SelectFilesStageActivity::pageChanged() +{ + +} + +void SelectFilesStageActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) +{ + continueChange(); +} + +void SelectFilesStageActivity::init() +{ +} diff --git a/Quartz/selectfilesstageactivity.h b/Quartz/selectfilesstageactivity.h new file mode 100644 index 0000000..f2946b2 --- /dev/null +++ b/Quartz/selectfilesstageactivity.h @@ -0,0 +1,26 @@ +#ifndef SELECTFILESSTAGEACTIVITY_H +#define SELECTFILESSTAGEACTIVITY_H + +#include +#include "interfaces/IPageActivity.h" + +class QQuickItem; +class DynamicLoader; +class QQmlEngine; + +class SelectFilesStageActivity : public QObject, public IPageActivity +{ + Q_OBJECT +public: + explicit SelectFilesStageActivity(QQuickItem * item, QObject *parent = nullptr); + + void pageChanged() override final; + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + +signals: + +private: + QQuickItem * root; + void init(); +}; +#endif // SELECTFILESSTAGEACTIVITY_H diff --git a/Quartz/settingsrepository.h b/Quartz/settingsrepository.h index 68e20de..25b9c94 100644 --- a/Quartz/settingsrepository.h +++ b/Quartz/settingsrepository.h @@ -110,7 +110,7 @@ public: private: explicit SettingsRepository(QObject* parent = nullptr) : QObject(parent) - , m_settings(QSettings::IniFormat, QSettings::UserScope, "CyberCode", "Pretvorenit") + , m_settings(QSettings::IniFormat, QSettings::UserScope, "CyberCode", "Quartz") { qDebug() << m_settings.fileName(); diff --git a/Quartz/setupparamsstageactivity.cpp b/Quartz/setupparamsstageactivity.cpp new file mode 100644 index 0000000..c66b160 --- /dev/null +++ b/Quartz/setupparamsstageactivity.cpp @@ -0,0 +1,28 @@ +#include "setupparamsstageactivity.h" +#include "QDebug" + +SetupParamsStageActivity::SetupParamsStageActivity(QQuickItem * item, QObject *parent) + : QObject{parent}, root(item) +{ + if (!item) { + qWarning() << "[C++] Root object is null"; + return; + } + + init(); +} + +void SetupParamsStageActivity::pageChanged() +{ + +} + +void SetupParamsStageActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) +{ + continueChange(); +} + +void SetupParamsStageActivity::init() +{ + +} diff --git a/Quartz/setupparamsstageactivity.h b/Quartz/setupparamsstageactivity.h new file mode 100644 index 0000000..9ea43e8 --- /dev/null +++ b/Quartz/setupparamsstageactivity.h @@ -0,0 +1,28 @@ +#ifndef SETUPPARAMSSTAGEACTIVITY_H +#define SETUPPARAMSSTAGEACTIVITY_H + +#include +#include "interfaces/IPageActivity.h" + +class QQuickItem; +class DynamicLoader; +class QQmlEngine; + + +class SetupParamsStageActivity : public QObject, public IPageActivity +{ + Q_OBJECT +public: + explicit SetupParamsStageActivity(QQuickItem * item, QObject *parent = nullptr); + + void pageChanged() override final; + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + +signals: + +private: + QQuickItem * root; + void init(); +}; + +#endif // SETUPPARAMSSTAGEACTIVITY_H diff --git a/Quartz/showstageactivity.cpp b/Quartz/showstageactivity.cpp new file mode 100644 index 0000000..5959b83 --- /dev/null +++ b/Quartz/showstageactivity.cpp @@ -0,0 +1,28 @@ +#include "showstageactivity.h" +#include "QDebug" + +ShowStageActivity::ShowStageActivity(QQuickItem * item, QObject *parent) + : QObject{parent}, root(item) +{ + if (!item) { + qWarning() << "[C++] Root object is null"; + return; + } + + init(); +} + +void ShowStageActivity::pageChanged() +{ + +} + +void ShowStageActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) +{ + continueChange(); +} + +void ShowStageActivity::init() +{ + +} diff --git a/Quartz/showstageactivity.h b/Quartz/showstageactivity.h new file mode 100644 index 0000000..bd18b62 --- /dev/null +++ b/Quartz/showstageactivity.h @@ -0,0 +1,28 @@ +#ifndef SHOWSTAGEACTIVITY_H +#define SHOWSTAGEACTIVITY_H + +#include +#include "interfaces/IPageActivity.h" + +class QQuickItem; +class DynamicLoader; +class QQmlEngine; + + +class ShowStageActivity : public QObject, public IPageActivity +{ + Q_OBJECT +public: + explicit ShowStageActivity(QQuickItem * item, QObject *parent = nullptr); + + void pageChanged() override final; + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + +signals: + +private: + QQuickItem * root; + void init(); +}; + +#endif // SHOWSTAGEACTIVITY_H diff --git a/Quartz/translatingstageactivity.cpp b/Quartz/translatingstageactivity.cpp new file mode 100644 index 0000000..0a19577 --- /dev/null +++ b/Quartz/translatingstageactivity.cpp @@ -0,0 +1,28 @@ +#include "translatingstageactivity.h" +#include "QDebug" + +TranslatingStageActivity::TranslatingStageActivity(QQuickItem * item, QObject *parent) + : QObject{parent}, root(item) +{ + if (!item) { + qWarning() << "[C++] Root object is null"; + return; + } + + init(); +} + +void TranslatingStageActivity::pageChanged() +{ + +} + +void TranslatingStageActivity::isAllowChangePage(const std::function &continueChange, const std::function &blockChange) +{ + continueChange(); +} + +void TranslatingStageActivity::init() +{ + +} diff --git a/Quartz/translatingstageactivity.h b/Quartz/translatingstageactivity.h new file mode 100644 index 0000000..af2eb72 --- /dev/null +++ b/Quartz/translatingstageactivity.h @@ -0,0 +1,27 @@ +#ifndef TRANSLATINGSTAGEACTIVITY_H +#define TRANSLATINGSTAGEACTIVITY_H + +#include +#include "interfaces/IPageActivity.h" + +class QQuickItem; +class DynamicLoader; +class QQmlEngine; + +class TranslatingStageActivity : public QObject, public IPageActivity +{ + Q_OBJECT +public: + explicit TranslatingStageActivity(QQuickItem * item, QObject *parent = nullptr); + + void pageChanged() override final; + void isAllowChangePage(const std::function &continueChange, const std::function &blockChange) override final; + +signals: + +private: + QQuickItem * root; + void init(); +}; + +#endif // TRANSLATINGSTAGEACTIVITY_H