finish
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
set(qml_import_scanner_imports_count 8)
|
||||
set(qml_import_scanner_import_0 "CLASSNAME;QtQuick2Plugin;LINKTARGET;Qt6::qtquick2plugin;NAME;QtQuick;PATH;E:/qt/6.8.1/mingw_64/qml/QtQuick;PLUGIN;qtquick2plugin;PLUGINISOPTIONAL;;PREFER;:/qt-project.org/imports/QtQuick/;RELATIVEPATH;QtQuick;TYPE;module;")
|
||||
set(qml_import_scanner_import_1 "CLASSNAME;QtQmlPlugin;LINKTARGET;Qt6::qmlplugin;NAME;QtQml;PATH;E:/qt/6.8.1/mingw_64/qml/QtQml;PLUGIN;qmlplugin;PLUGINISOPTIONAL;;PREFER;:/qt-project.org/imports/QtQml/;RELATIVEPATH;QtQml;TYPE;module;")
|
||||
set(qml_import_scanner_import_2 "NAME;QML;PATH;E:/qt/6.8.1/mingw_64/qml/QML;PREFER;:/qt-project.org/imports/QML/;RELATIVEPATH;QML;TYPE;module;")
|
||||
set(qml_import_scanner_import_3 "CLASSNAME;QtQmlModelsPlugin;LINKTARGET;Qt6::modelsplugin;NAME;QtQml.Models;PATH;E:/qt/6.8.1/mingw_64/qml/QtQml/Models;PLUGIN;modelsplugin;PLUGINISOPTIONAL;;PREFER;:/qt-project.org/imports/QtQml/Models/;RELATIVEPATH;QtQml/Models;TYPE;module;")
|
||||
set(qml_import_scanner_import_4 "CLASSNAME;QtQmlWorkerScriptPlugin;LINKTARGET;Qt6::workerscriptplugin;NAME;QtQml.WorkerScript;PATH;E:/qt/6.8.1/mingw_64/qml/QtQml/WorkerScript;PLUGIN;workerscriptplugin;PLUGINISOPTIONAL;;PREFER;:/qt-project.org/imports/QtQml/WorkerScript/;RELATIVEPATH;QtQml/WorkerScript;TYPE;module;")
|
||||
set(qml_import_scanner_import_5 "CLASSNAME;QtLocationDeclarativeModule;COMPONENTS;E:/qt/6.8.1/mingw_64/qml/QtLocation/MapView.qml;LINKTARGET;Qt6::declarative_location;NAME;QtLocation;PATH;E:/qt/6.8.1/mingw_64/qml/QtLocation;PLUGIN;declarative_locationplugin;PREFER;:/qt-project.org/imports/QtLocation/;RELATIVEPATH;QtLocation;TYPE;module;")
|
||||
set(qml_import_scanner_import_6 "CLASSNAME;QtPositioningDeclarativeModule;LINKTARGET;Qt6::positioningquickplugin;NAME;QtPositioning;PATH;E:/qt/6.8.1/mingw_64/qml/QtPositioning;PLUGIN;positioningquickplugin;PREFER;:/qt-project.org/imports/QtPositioning/;RELATIVEPATH;QtPositioning;TYPE;module;")
|
||||
set(qml_import_scanner_import_7 "CLASSNAME;QtLabsAnimationPlugin;LINKTARGET;Qt6::labsanimationplugin;NAME;Qt.labs.animation;PATH;E:/qt/6.8.1/mingw_64/qml/Qt/labs/animation;PLUGIN;labsanimationplugin;PLUGINISOPTIONAL;;PREFER;:/qt-project.org/imports/Qt/labs/animation/;RELATIVEPATH;Qt/labs/animation;TYPE;module;")
|
||||
|
@ -0,0 +1,314 @@
|
||||
#
|
||||
# Internal Qt Creator variable reference
|
||||
#
|
||||
foreach(qtcreator_var
|
||||
QT_QMAKE_EXECUTABLE CMAKE_PREFIX_PATH CMAKE_C_COMPILER CMAKE_CXX_COMPILER
|
||||
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELWITHDEBINFO)
|
||||
set(__just_reference_${qtcreator_var} ${${qtcreator_var}})
|
||||
endforeach()
|
||||
|
||||
option(QT_CREATOR_SOURCE_GROUPS "Qt Creator source groups extensions" ON)
|
||||
if (QT_CREATOR_SOURCE_GROUPS)
|
||||
source_group("Resources" REGULAR_EXPRESSION "\\.(pdf|plist|png|jpeg|jpg|storyboard|xcassets|qrc|svg|gif|ico|webp)$")
|
||||
source_group("Forms" REGULAR_EXPRESSION "\\.(ui)$")
|
||||
source_group("State charts" REGULAR_EXPRESSION "\\.(scxml)$")
|
||||
endif()
|
||||
|
||||
if (EXISTS "${CMAKE_SOURCE_DIR}/QtCreatorPackageManager.cmake")
|
||||
include("${CMAKE_SOURCE_DIR}/QtCreatorPackageManager.cmake")
|
||||
endif()
|
||||
|
||||
if (QT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP)
|
||||
return()
|
||||
endif()
|
||||
option(QT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP "Skip Qt Creator's package manager auto-setup" OFF)
|
||||
|
||||
# Store the C/C++ object output extension
|
||||
if (CMAKE_VERSION GREATER_EQUAL "3.19")
|
||||
cmake_language(DEFER CALL set CMAKE_C_OUTPUT_EXTENSION "${CMAKE_C_OUTPUT_EXTENSION}" CACHE STRING "" FORCE)
|
||||
cmake_language(DEFER CALL set CMAKE_CXX_OUTPUT_EXTENSION "${CMAKE_CXX_OUTPUT_EXTENSION}" CACHE STRING "" FORCE)
|
||||
endif()
|
||||
|
||||
macro(qtc_auto_setup_compiler_standard toolchainFile)
|
||||
foreach(lang_var C CXX CUDA OBJC OBJCXX)
|
||||
foreach(prop_var STANDARD STANDARD_REQUIRED EXTENSIONS)
|
||||
if (CMAKE_${lang_var}_${prop_var})
|
||||
file(APPEND "${toolchainFile}"
|
||||
"set(CMAKE_${lang_var}_${prop_var} ${CMAKE_${lang_var}_${prop_var}})\n")
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
|
||||
# Forward important CMake variables to the package manager in the toolchain file
|
||||
foreach(fwd_var CMAKE_MSVC_RUNTIME_LIBRARY CMAKE_SYSROOT CMAKE_OSX_SYSROOT CMAKE_OSX_ARCHITECTURES)
|
||||
if (${fwd_var})
|
||||
file(APPEND "${toolchainFile}"
|
||||
"set(${fwd_var} ${${fwd_var}})\n")
|
||||
endif()
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
||||
#
|
||||
# conan
|
||||
#
|
||||
macro(qtc_auto_setup_conan)
|
||||
foreach(file conanfile.txt conanfile.py)
|
||||
if (EXISTS "${CMAKE_SOURCE_DIR}/${file}")
|
||||
set(conanfile_txt "${CMAKE_SOURCE_DIR}/${file}")
|
||||
break()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
if (conanfile_txt AND NOT QT_CREATOR_SKIP_CONAN_SETUP)
|
||||
option(QT_CREATOR_SKIP_CONAN_SETUP "Skip Qt Creator's conan package manager auto-setup" OFF)
|
||||
set(QT_CREATOR_CONAN_BUILD_POLICY "missing" CACHE STRING "Qt Creator's conan package manager auto-setup build policy. This is used for the BUILD property of cmake_conan_run")
|
||||
|
||||
set_property(
|
||||
DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
APPEND
|
||||
PROPERTY CMAKE_CONFIGURE_DEPENDS "${conanfile_txt}")
|
||||
|
||||
find_program(conan_program conan)
|
||||
if (NOT conan_program)
|
||||
message(WARNING "Qt Creator: conan executable not found. "
|
||||
"Package manager auto-setup will be skipped. "
|
||||
"To disable this warning set QT_CREATOR_SKIP_CONAN_SETUP to ON.")
|
||||
return()
|
||||
endif()
|
||||
execute_process(COMMAND ${conan_program} --version
|
||||
RESULT_VARIABLE result_code
|
||||
OUTPUT_VARIABLE conan_version_output
|
||||
ERROR_VARIABLE conan_version_output)
|
||||
if (NOT result_code EQUAL 0)
|
||||
message(FATAL_ERROR "conan --version failed='${result_code}: ${conan_version_output}")
|
||||
endif()
|
||||
|
||||
string(REGEX REPLACE ".*Conan version ([0-9].[0-9]).*" "\\1" conan_version "${conan_version_output}")
|
||||
|
||||
set(conanfile_timestamp_file "${CMAKE_BINARY_DIR}/conan-dependencies/conanfile.timestamp")
|
||||
file(TIMESTAMP "${conanfile_txt}" conanfile_timestamp)
|
||||
|
||||
set(do_conan_installation ON)
|
||||
if (EXISTS "${conanfile_timestamp_file}")
|
||||
file(READ "${conanfile_timestamp_file}" old_conanfile_timestamp)
|
||||
if ("${conanfile_timestamp}" STREQUAL "${old_conanfile_timestamp}")
|
||||
set(do_conan_installation OFF)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(conanfile_build_policy_file "${CMAKE_BINARY_DIR}/conan-dependencies/conanfile.buildpolicy")
|
||||
if (EXISTS "${conanfile_build_policy_file}")
|
||||
file(READ "${conanfile_build_policy_file}" build_policy)
|
||||
if (NOT "${build_policy}" STREQUAL "${QT_CREATOR_CONAN_BUILD_POLICY}")
|
||||
set(do_conan_installation ON)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (do_conan_installation)
|
||||
message(STATUS "Qt Creator: conan package manager auto-setup. "
|
||||
"Skip this step by setting QT_CREATOR_SKIP_CONAN_SETUP to ON.")
|
||||
|
||||
file(COPY "${conanfile_txt}" DESTINATION "${CMAKE_BINARY_DIR}/conan-dependencies/")
|
||||
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake" "
|
||||
set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")
|
||||
set(CMAKE_CXX_COMPILER \"${CMAKE_CXX_COMPILER}\")
|
||||
")
|
||||
qtc_auto_setup_compiler_standard("${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake")
|
||||
|
||||
if (CMAKE_TOOLCHAIN_FILE)
|
||||
file(APPEND "${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake"
|
||||
"include(\"${CMAKE_TOOLCHAIN_FILE}\")\n")
|
||||
endif()
|
||||
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/conan-dependencies/CMakeLists.txt" "
|
||||
cmake_minimum_required(VERSION 3.15)
|
||||
|
||||
unset(CMAKE_PROJECT_INCLUDE_BEFORE CACHE)
|
||||
project(conan-setup)
|
||||
|
||||
if (${conan_version} VERSION_GREATER_EQUAL 2.0)
|
||||
set(CONAN_COMMAND \"${conan_program}\")
|
||||
include(\"${CMAKE_CURRENT_LIST_DIR}/conan_provider.cmake\")
|
||||
conan_profile_detect_default()
|
||||
detect_host_profile(\"${CMAKE_BINARY_DIR}/conan-dependencies/conan_host_profile\")
|
||||
|
||||
set(build_types \${CMAKE_BUILD_TYPE})
|
||||
if (CMAKE_CONFIGURATION_TYPES)
|
||||
set(build_types \${CMAKE_CONFIGURATION_TYPES})
|
||||
endif()
|
||||
|
||||
foreach(type \${build_types})
|
||||
conan_install(
|
||||
-pr \"${CMAKE_BINARY_DIR}/conan-dependencies/conan_host_profile\"
|
||||
--build=${QT_CREATOR_CONAN_BUILD_POLICY}
|
||||
-s build_type=\${type}
|
||||
-g CMakeDeps)
|
||||
endforeach()
|
||||
|
||||
get_property(CONAN_INSTALL_SUCCESS GLOBAL PROPERTY CONAN_INSTALL_SUCCESS)
|
||||
if (CONAN_INSTALL_SUCCESS)
|
||||
get_property(CONAN_GENERATORS_FOLDER GLOBAL PROPERTY CONAN_GENERATORS_FOLDER)
|
||||
file(TO_CMAKE_PATH \"\${CONAN_GENERATORS_FOLDER}\" CONAN_GENERATORS_FOLDER)
|
||||
file(WRITE \"${CMAKE_BINARY_DIR}/conan-dependencies/conan_paths.cmake\" \"
|
||||
list(PREPEND CMAKE_PREFIX_PATH \\\"\${CONAN_GENERATORS_FOLDER}\\\")
|
||||
list(PREPEND CMAKE_MODULE_PATH \\\"\${CONAN_GENERATORS_FOLDER}\\\")
|
||||
list(PREPEND CMAKE_FIND_ROOT_PATH \\\"\${CONAN_GENERATORS_FOLDER}\\\")
|
||||
list(REMOVE_DUPLICATES CMAKE_PREFIX_PATH)
|
||||
list(REMOVE_DUPLICATES CMAKE_MODULE_PATH)
|
||||
list(REMOVE_DUPLICATES CMAKE_FIND_ROOT_PATH)
|
||||
set(CMAKE_PREFIX_PATH \\\"\\\${CMAKE_PREFIX_PATH}\\\" CACHE STRING \\\"\\\" FORCE)
|
||||
set(CMAKE_MODULE_PATH \\\"\\\${CMAKE_MODULE_PATH}\\\" CACHE STRING \\\"\\\" FORCE)
|
||||
set(CMAKE_FIND_ROOT_PATH \\\"\\\${CMAKE_FIND_ROOT_PATH}\\\" CACHE STRING \\\"\\\" FORCE)
|
||||
\")
|
||||
endif()
|
||||
else()
|
||||
include(\"${CMAKE_CURRENT_LIST_DIR}/conan.cmake\")
|
||||
conan_cmake_run(
|
||||
CONANFILE \"${conanfile_txt}\"
|
||||
INSTALL_FOLDER \"${CMAKE_BINARY_DIR}/conan-dependencies\"
|
||||
GENERATORS cmake_paths cmake_find_package json
|
||||
BUILD ${QT_CREATOR_CONAN_BUILD_POLICY}
|
||||
ENV CONAN_CMAKE_TOOLCHAIN_FILE=\"${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake\"
|
||||
)
|
||||
endif()
|
||||
")
|
||||
|
||||
if (NOT DEFINED CMAKE_BUILD_TYPE AND NOT DEFINED CMAKE_CONFIGURATION_TYPES)
|
||||
set(CMAKE_CONFIGURATION_TYPES "Debug;Release")
|
||||
endif()
|
||||
|
||||
execute_process(COMMAND ${CMAKE_COMMAND}
|
||||
-S "${CMAKE_BINARY_DIR}/conan-dependencies/"
|
||||
-B "${CMAKE_BINARY_DIR}/conan-dependencies/build"
|
||||
-C "${CMAKE_BINARY_DIR}/qtcsettings.cmake"
|
||||
-D "CMAKE_TOOLCHAIN_FILE=${CMAKE_BINARY_DIR}/conan-dependencies/toolchain.cmake"
|
||||
-G ${CMAKE_GENERATOR}
|
||||
-D CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
|
||||
-D "CMAKE_CONFIGURATION_TYPES=${CMAKE_CONFIGURATION_TYPES}"
|
||||
RESULT_VARIABLE result
|
||||
)
|
||||
if (result EQUAL 0)
|
||||
file(WRITE "${conanfile_timestamp_file}" "${conanfile_timestamp}")
|
||||
file(WRITE "${conanfile_build_policy_file}" ${QT_CREATOR_CONAN_BUILD_POLICY})
|
||||
else()
|
||||
message(WARNING "Qt Creator's conan package manager auto-setup failed. Consider setting "
|
||||
"QT_CREATOR_SKIP_CONAN_SETUP to ON and reconfigure to skip this step.")
|
||||
return()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include("${CMAKE_BINARY_DIR}/conan-dependencies/conan_paths.cmake")
|
||||
endif()
|
||||
unset(conanfile_txt)
|
||||
endmacro()
|
||||
qtc_auto_setup_conan()
|
||||
|
||||
#
|
||||
# vcpkg
|
||||
#
|
||||
macro(qtc_auto_setup_vcpkg)
|
||||
if (EXISTS "${CMAKE_SOURCE_DIR}/vcpkg.json" AND NOT QT_CREATOR_SKIP_VCPKG_SETUP)
|
||||
option(QT_CREATOR_SKIP_VCPKG_SETUP "Skip Qt Creator's vcpkg package manager auto-setup" OFF)
|
||||
|
||||
set_property(
|
||||
DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
APPEND
|
||||
PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/vcpkg.json")
|
||||
|
||||
find_program(vcpkg_program vcpkg
|
||||
PATHS $ENV{VCPKG_ROOT} ${CMAKE_SOURCE_DIR}/vcpkg ${CMAKE_SOURCE_DIR}/3rdparty/vcpkg
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
if (NOT vcpkg_program)
|
||||
message(WARNING "Qt Creator: vcpkg executable not found. "
|
||||
"Package manager auto-setup will be skipped. "
|
||||
"To disable this warning set QT_CREATOR_SKIP_VCPKG_SETUP to ON.")
|
||||
return()
|
||||
endif()
|
||||
execute_process(COMMAND ${vcpkg_program} version
|
||||
RESULT_VARIABLE result_code
|
||||
OUTPUT_VARIABLE vcpkg_version_output
|
||||
ERROR_VARIABLE vcpkg_version_output)
|
||||
if (NOT result_code EQUAL 0)
|
||||
message(FATAL_ERROR "vcpkg version failed='${result_code}: ${vcpkg_version_output}")
|
||||
endif()
|
||||
|
||||
# Resolve any symlinks
|
||||
get_filename_component(vpkg_program_real_path ${vcpkg_program} REALPATH)
|
||||
get_filename_component(vpkg_root ${vpkg_program_real_path} DIRECTORY)
|
||||
|
||||
if (NOT EXISTS "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake")
|
||||
message(STATUS "Qt Creator: vcpkg package manager auto-setup. "
|
||||
"Skip this step by setting QT_CREATOR_SKIP_VCPKG_SETUP to ON.")
|
||||
|
||||
file(WRITE "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" "
|
||||
set(CMAKE_C_COMPILER \"${CMAKE_C_COMPILER}\")
|
||||
set(CMAKE_CXX_COMPILER \"${CMAKE_CXX_COMPILER}\")
|
||||
")
|
||||
qtc_auto_setup_compiler_standard("${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake")
|
||||
|
||||
if (CMAKE_TOOLCHAIN_FILE AND NOT
|
||||
CMAKE_TOOLCHAIN_FILE STREQUAL "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake")
|
||||
file(APPEND "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake"
|
||||
"include(\"${CMAKE_TOOLCHAIN_FILE}\")\n")
|
||||
endif()
|
||||
|
||||
if (VCPKG_TARGET_TRIPLET)
|
||||
set(vcpkg_triplet ${VCPKG_TARGET_TRIPLET})
|
||||
else()
|
||||
if (ANDROID_ABI)
|
||||
if (ANDROID_ABI STREQUAL "armeabi-v7a")
|
||||
set(vcpkg_triplet arm-neon-android)
|
||||
elseif (ANDROID_ABI STREQUAL "arm64-v8a")
|
||||
set(vcpkg_triplet arm64-android)
|
||||
elseif (ANDROID_ABI STREQUAL "x86")
|
||||
set(vcpkg_triplet x86-android)
|
||||
elseif (ANDROID_ABI STREQUAL "x86_64")
|
||||
set(vcpkg_triplet x64-android)
|
||||
else()
|
||||
message(FATAL_ERROR "Unsupported Android ABI: ${ANDROID_ABI}")
|
||||
endif()
|
||||
# Needed by vcpkg/scripts/toolchains/android.cmake
|
||||
file(APPEND "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" "
|
||||
set(ENV{ANDROID_NDK_HOME} \"${ANDROID_NDK}\")
|
||||
")
|
||||
elseif (WIN32)
|
||||
set(vcpkg_triplet x64-mingw-static)
|
||||
if (CMAKE_CXX_COMPILER MATCHES ".*/(.*)/cl.exe")
|
||||
set(vcpkg_triplet ${CMAKE_MATCH_1}-windows)
|
||||
endif()
|
||||
elseif(APPLE)
|
||||
# We're too early to use CMAKE_HOST_SYSTEM_PROCESSOR
|
||||
execute_process(
|
||||
COMMAND uname -m
|
||||
OUTPUT_VARIABLE __apple_host_system_processor
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
if (__apple_host_system_processor MATCHES "arm64")
|
||||
set(vcpkg_triplet arm64-osx)
|
||||
else()
|
||||
set(vcpkg_triplet x64-osx)
|
||||
endif()
|
||||
else()
|
||||
set(vcpkg_triplet x64-linux)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
file(APPEND "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" "
|
||||
set(VCPKG_TARGET_TRIPLET ${vcpkg_triplet})
|
||||
include(\"${vpkg_root}/scripts/buildsystems/vcpkg.cmake\")
|
||||
")
|
||||
endif()
|
||||
|
||||
set(CMAKE_TOOLCHAIN_FILE "${CMAKE_BINARY_DIR}/vcpkg-dependencies/toolchain.cmake" CACHE PATH "" FORCE)
|
||||
|
||||
# Save CMAKE_PREFIX_PATH and CMAKE_MODULE_PATH as cache variables
|
||||
if (CMAKE_VERSION GREATER_EQUAL "3.19")
|
||||
cmake_language(DEFER CALL list REMOVE_DUPLICATES CMAKE_PREFIX_PATH)
|
||||
cmake_language(DEFER CALL list REMOVE_DUPLICATES CMAKE_MODULE_PATH)
|
||||
cmake_language(DEFER CALL set CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH}" CACHE STRING "" FORCE)
|
||||
cmake_language(DEFER CALL set CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" CACHE STRING "" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
||||
qtc_auto_setup_vcpkg()
|
@ -0,0 +1,92 @@
|
||||
set(CMAKE_CXX_COMPILER "E:/qt/Tools/mingw1310_64/bin/g++.exe")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "13.1.0")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17")
|
||||
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
|
||||
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23")
|
||||
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
|
||||
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
|
||||
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
|
||||
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
|
||||
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
|
||||
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23")
|
||||
|
||||
set(CMAKE_CXX_PLATFORM_ID "MinGW")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "GNU")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "E:/qt/Tools/mingw1310_64/bin/ar.exe")
|
||||
set(CMAKE_CXX_COMPILER_AR "E:/qt/Tools/mingw1310_64/bin/gcc-ar.exe")
|
||||
set(CMAKE_RANLIB "E:/qt/Tools/mingw1310_64/bin/ranlib.exe")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "E:/qt/Tools/mingw1310_64/bin/gcc-ranlib.exe")
|
||||
set(CMAKE_LINKER "E:/qt/Tools/mingw1310_64/bin/ld.exe")
|
||||
set(CMAKE_LINKER_LINK "")
|
||||
set(CMAKE_LINKER_LLD "")
|
||||
set(CMAKE_CXX_COMPILER_LINKER "../src/gcc-13.1.0/configure --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-sysroot=/c/buildroot/x86_64-1310-posix-seh-msvcrt-rt_v11-rev1/mingw64 --enable-host-shared --disable-multilib --enable-languages=c,c++,fortran,lto --enable-libstdcxx-time=yes --enable-threads=posix --enable-libgomp --enable-libatomic --enable-lto --enable-graphite --enable-checking=release --enable-fully-dynamic-string --enable-version-specific-runtime-libs --enable-libstdcxx-filesystem-ts=yes --disable-libssp --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-tune=core2 --with-libiconv --with-system-zlib --with-gmp=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpfr=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-mpc=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-isl=/c/buildroot/prerequisites/x86_64-w64-mingw32-static --with-pkgversion='x86_64-posix-seh-rev1, Built by MinGW-Builds project' --with-bugurl=https:/github.com/niXman/mingw-builds CFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1310-posix-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CXXFLAGS='-O2 -pipe -fno-ident -I/c/buildroot/x86_64-1310-posix-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=' -I/c/buildroot/x86_64-1310-posix-seh-msvcrt-rt_v11-rev1/mingw64/opt/include -I/c/buildroot/prerequisites/x86_64-zlib-static/include -I/c/buildroot/prerequisites/x86_64-w64-mingw32-static/include' LDFLAGS='-pipe -fno-ident -L/c/buildroot/x86_64-1310-posix-seh-msvcrt-rt_v11-rev1/mingw64/opt/lib -L/c/buildroot/prerequisites/x86_64-zlib-static/lib -L/c/buildroot/prerequisites/x86_64-w64-mingw32-static/lib ' LD_FOR_TARGET=/c/buildroot/x86_64-1310-posix-seh-msvcrt-rt_v11-rev1/mingw64/bin/ld.exe")
|
||||
set(CMAKE_CXX_COMPILER_LINKER_ID "")
|
||||
set(CMAKE_CXX_COMPILER_LINKER_VERSION )
|
||||
set(CMAKE_CXX_COMPILER_LINKER_FRONTEND_VARIANT )
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_TAPI "CMAKE_TAPI-NOTFOUND")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm;ccm;cxxm;c++m)
|
||||
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
|
||||
|
||||
foreach (lang IN ITEMS C OBJC OBJCXX)
|
||||
if (CMAKE_${lang}_COMPILER_ID_RUN)
|
||||
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
|
||||
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
|
||||
endforeach()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE 30)
|
||||
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
|
||||
set(CMAKE_CXX_LINKER_DEPFILE_SUPPORTED FALSE)
|
||||
|
||||
# Save compiler ABI information.
|
||||
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
|
||||
set(CMAKE_CXX_COMPILER_ABI "")
|
||||
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
|
||||
|
||||
if(CMAKE_CXX_SIZEOF_DATA_PTR)
|
||||
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ABI)
|
||||
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
|
||||
set(CMAKE_LIBRARY_ARCHITECTURE "")
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
|
||||
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
|
||||
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "E:/qt/Tools/mingw1310_64/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++;E:/qt/Tools/mingw1310_64/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32;E:/qt/Tools/mingw1310_64/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/backward;E:/qt/Tools/mingw1310_64/lib/gcc/x86_64-w64-mingw32/13.1.0/include;E:/qt/Tools/mingw1310_64/lib/gcc/x86_64-w64-mingw32/13.1.0/include-fixed;E:/qt/Tools/mingw1310_64/x86_64-w64-mingw32/include")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;mingw32;gcc_s;gcc;moldname;mingwex;kernel32;pthread;advapi32;shell32;user32;kernel32;iconv;mingw32;gcc_s;gcc;moldname;mingwex;kernel32")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "E:/qt/Tools/mingw1310_64/lib/gcc/x86_64-w64-mingw32/13.1.0;E:/qt/Tools/mingw1310_64/lib/gcc;E:/qt/Tools/mingw1310_64/x86_64-w64-mingw32/lib;E:/qt/Tools/mingw1310_64/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
set(CMAKE_CXX_COMPILER_CLANG_RESOURCE_DIR "")
|
@ -0,0 +1,6 @@
|
||||
set(CMAKE_RC_COMPILER "E:/qt/Tools/mingw1310_64/bin/windres.exe")
|
||||
set(CMAKE_RC_COMPILER_ARG1 "")
|
||||
set(CMAKE_RC_COMPILER_LOADED 1)
|
||||
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
|
||||
set(CMAKE_RC_OUTPUT_EXTENSION .obj)
|
||||
set(CMAKE_RC_COMPILER_ENV_VAR "RC")
|
@ -0,0 +1,15 @@
|
||||
set(CMAKE_HOST_SYSTEM "Windows-10.0.19045")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Windows")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "10.0.19045")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Windows-10.0.19045")
|
||||
set(CMAKE_SYSTEM_NAME "Windows")
|
||||
set(CMAKE_SYSTEM_VERSION "10.0.19045")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
BIN
build/Desktop_Qt_6_8_1_MinGW_64_bit-Release/FemaSoftware.exe
Normal file
BIN
build/Desktop_Qt_6_8_1_MinGW_64_bit-Release/FemaSoftware.exe
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,284 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'alarmdialog.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 6.8.1
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_ALARMDIALOG_H
|
||||
#define UI_ALARMDIALOG_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtQuickWidgets/QQuickWidget>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_alarmdialog
|
||||
{
|
||||
public:
|
||||
QVBoxLayout *verticalLayout;
|
||||
QHBoxLayout *horizontalLayout_7;
|
||||
QLabel *label_2;
|
||||
QLabel *nameHead;
|
||||
QSpacerItem *horizontalSpacer;
|
||||
QHBoxLayout *horizontalLayout_6;
|
||||
QVBoxLayout *verticalLayout_2;
|
||||
QLabel *dateStart;
|
||||
QLabel *dateEnd;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *name;
|
||||
QHBoxLayout *chartLayout;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QQuickWidget *map;
|
||||
QHBoxLayout *horizontalLayout_5;
|
||||
QSpacerItem *horizontalSpacer_2;
|
||||
QPushButton *cancelButton;
|
||||
QPushButton *statisticButton;
|
||||
|
||||
void setupUi(QWidget *alarmdialog)
|
||||
{
|
||||
if (alarmdialog->objectName().isEmpty())
|
||||
alarmdialog->setObjectName("alarmdialog");
|
||||
alarmdialog->resize(775, 850);
|
||||
alarmdialog->setMinimumSize(QSize(775, 850));
|
||||
alarmdialog->setMaximumSize(QSize(775, 850));
|
||||
alarmdialog->setStyleSheet(QString::fromUtf8("QWidget#alarmdialog{\n"
|
||||
"background: white;\n"
|
||||
"}"));
|
||||
verticalLayout = new QVBoxLayout(alarmdialog);
|
||||
verticalLayout->setSpacing(0);
|
||||
verticalLayout->setObjectName("verticalLayout");
|
||||
verticalLayout->setContentsMargins(0, 0, 0, 0);
|
||||
horizontalLayout_7 = new QHBoxLayout();
|
||||
horizontalLayout_7->setSpacing(20);
|
||||
horizontalLayout_7->setObjectName("horizontalLayout_7");
|
||||
horizontalLayout_7->setContentsMargins(25, -1, -1, 25);
|
||||
label_2 = new QLabel(alarmdialog);
|
||||
label_2->setObjectName("label_2");
|
||||
label_2->setMinimumSize(QSize(29, 32));
|
||||
label_2->setMaximumSize(QSize(29, 32));
|
||||
label_2->setPixmap(QPixmap(QString::fromUtf8(":/png/res/png/bell.png")));
|
||||
|
||||
horizontalLayout_7->addWidget(label_2);
|
||||
|
||||
nameHead = new QLabel(alarmdialog);
|
||||
nameHead->setObjectName("nameHead");
|
||||
QSizePolicy sizePolicy(QSizePolicy::Policy::Preferred, QSizePolicy::Policy::Preferred);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(29);
|
||||
sizePolicy.setHeightForWidth(nameHead->sizePolicy().hasHeightForWidth());
|
||||
nameHead->setSizePolicy(sizePolicy);
|
||||
nameHead->setMinimumSize(QSize(0, 29));
|
||||
nameHead->setMaximumSize(QSize(16777215, 29));
|
||||
nameHead->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 24px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 29.05px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_7->addWidget(nameHead);
|
||||
|
||||
horizontalSpacer = new QSpacerItem(40, 29, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||||
|
||||
horizontalLayout_7->addItem(horizontalSpacer);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_7);
|
||||
|
||||
horizontalLayout_6 = new QHBoxLayout();
|
||||
horizontalLayout_6->setSpacing(0);
|
||||
horizontalLayout_6->setObjectName("horizontalLayout_6");
|
||||
horizontalLayout_6->setContentsMargins(0, -1, 0, 0);
|
||||
verticalLayout_2 = new QVBoxLayout();
|
||||
verticalLayout_2->setSpacing(0);
|
||||
verticalLayout_2->setObjectName("verticalLayout_2");
|
||||
verticalLayout_2->setContentsMargins(25, -1, 25, 15);
|
||||
dateStart = new QLabel(alarmdialog);
|
||||
dateStart->setObjectName("dateStart");
|
||||
dateStart->setMinimumSize(QSize(0, 27));
|
||||
dateStart->setMaximumSize(QSize(16777215, 27));
|
||||
dateStart->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
verticalLayout_2->addWidget(dateStart);
|
||||
|
||||
dateEnd = new QLabel(alarmdialog);
|
||||
dateEnd->setObjectName("dateEnd");
|
||||
dateEnd->setMaximumSize(QSize(16777215, 27));
|
||||
dateEnd->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
verticalLayout_2->addWidget(dateEnd);
|
||||
|
||||
|
||||
horizontalLayout_6->addLayout(verticalLayout_2);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_6);
|
||||
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setSpacing(0);
|
||||
horizontalLayout->setObjectName("horizontalLayout");
|
||||
horizontalLayout->setContentsMargins(25, -1, 25, 15);
|
||||
name = new QLabel(alarmdialog);
|
||||
name->setObjectName("name");
|
||||
name->setMinimumSize(QSize(0, 27));
|
||||
name->setMaximumSize(QSize(16777215, 27));
|
||||
name->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout->addWidget(name);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout);
|
||||
|
||||
chartLayout = new QHBoxLayout();
|
||||
chartLayout->setSpacing(0);
|
||||
chartLayout->setObjectName("chartLayout");
|
||||
chartLayout->setContentsMargins(25, -1, 25, -1);
|
||||
|
||||
verticalLayout->addLayout(chartLayout);
|
||||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setSpacing(0);
|
||||
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
||||
horizontalLayout_2->setContentsMargins(25, -1, 25, -1);
|
||||
map = new QQuickWidget(alarmdialog);
|
||||
map->setObjectName("map");
|
||||
map->setMinimumSize(QSize(710, 320));
|
||||
map->setMaximumSize(QSize(710, 320));
|
||||
map->setResizeMode(QQuickWidget::ResizeMode::SizeRootObjectToView);
|
||||
|
||||
horizontalLayout_2->addWidget(map);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_2);
|
||||
|
||||
horizontalLayout_5 = new QHBoxLayout();
|
||||
horizontalLayout_5->setSpacing(10);
|
||||
horizontalLayout_5->setObjectName("horizontalLayout_5");
|
||||
horizontalLayout_5->setContentsMargins(25, -1, 25, -1);
|
||||
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||||
|
||||
horizontalLayout_5->addItem(horizontalSpacer_2);
|
||||
|
||||
cancelButton = new QPushButton(alarmdialog);
|
||||
cancelButton->setObjectName("cancelButton");
|
||||
cancelButton->setMinimumSize(QSize(110, 41));
|
||||
cancelButton->setMaximumSize(QSize(110, 41));
|
||||
cancelButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
|
||||
" border-style: outset;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-color: #13385F;\n"
|
||||
" border-width: 1px;\n"
|
||||
" color: #13385F;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 22px;\n"
|
||||
" font-weight: 500;\n"
|
||||
" line-height: 26.63px;\n"
|
||||
" text-align: center;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:hover {\n"
|
||||
" background-color: #e0f2f7;\n"
|
||||
" border-color: #1A4A73;\n"
|
||||
" color: #1A4A73;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" background-color: #102E47;\n"
|
||||
" border-color: #102E47;\n"
|
||||
" color: white; \n"
|
||||
"}"));
|
||||
|
||||
horizontalLayout_5->addWidget(cancelButton);
|
||||
|
||||
statisticButton = new QPushButton(alarmdialog);
|
||||
statisticButton->setObjectName("statisticButton");
|
||||
statisticButton->setMinimumSize(QSize(266, 41));
|
||||
statisticButton->setMaximumSize(QSize(266, 41));
|
||||
statisticButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
|
||||
" border-style: outset;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-color: #13385F;\n"
|
||||
" border-width: 1px;\n"
|
||||
" background-color: #13385F;\n"
|
||||
" color: white;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 22px;\n"
|
||||
" font-weight: 500;\n"
|
||||
" line-height: 26.63px;\n"
|
||||
" text-align: center;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:hover {\n"
|
||||
" background-color: #1A4A73;\n"
|
||||
" border-color: #1A4A73;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" background-color: #102E47;\n"
|
||||
" border-color: #102E47;\n"
|
||||
"}"));
|
||||
|
||||
horizontalLayout_5->addWidget(statisticButton);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_5);
|
||||
|
||||
|
||||
retranslateUi(alarmdialog);
|
||||
|
||||
QMetaObject::connectSlotsByName(alarmdialog);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *alarmdialog)
|
||||
{
|
||||
alarmdialog->setWindowTitle(QCoreApplication::translate("alarmdialog", "Form", nullptr));
|
||||
label_2->setText(QString());
|
||||
nameHead->setText(QCoreApplication::translate("alarmdialog", "\320\235\320\260\320\267\320\262\320\260\320\275\320\270\320\265 \320\264\320\260\321\202\321\207\320\270\320\272\320\260", nullptr));
|
||||
dateStart->setText(QCoreApplication::translate("alarmdialog", "TextLabel", nullptr));
|
||||
dateEnd->setText(QCoreApplication::translate("alarmdialog", "TextLabel", nullptr));
|
||||
name->setText(QCoreApplication::translate("alarmdialog", "TextLabel", nullptr));
|
||||
cancelButton->setText(QCoreApplication::translate("alarmdialog", "\320\236\321\202\320\274\320\265\320\275\320\260", nullptr));
|
||||
statisticButton->setText(QCoreApplication::translate("alarmdialog", "\320\237\320\265\321\200\320\265\320\271\321\202\320\270 \320\272 \321\201\321\202\320\260\321\202\320\270\321\201\321\202\320\270\320\272\320\265", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class alarmdialog: public Ui_alarmdialog {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_ALARMDIALOG_H
|
@ -0,0 +1,201 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'apiform.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 6.8.1
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_APIFORM_H
|
||||
#define UI_APIFORM_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_ApiForm
|
||||
{
|
||||
public:
|
||||
QVBoxLayout *verticalLayout;
|
||||
QLabel *label_3;
|
||||
QHBoxLayout *horizontalLayout;
|
||||
QLabel *label;
|
||||
QLabel *label_2;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QLineEdit *adres;
|
||||
QLineEdit *port;
|
||||
QSpacerItem *verticalSpacer_2;
|
||||
QPushButton *loginButton;
|
||||
QSpacerItem *verticalSpacer;
|
||||
|
||||
void setupUi(QWidget *ApiForm)
|
||||
{
|
||||
if (ApiForm->objectName().isEmpty())
|
||||
ApiForm->setObjectName("ApiForm");
|
||||
ApiForm->resize(800, 400);
|
||||
ApiForm->setMinimumSize(QSize(800, 400));
|
||||
ApiForm->setMaximumSize(QSize(800, 400));
|
||||
ApiForm->setStyleSheet(QString::fromUtf8("#ApiForm{\n"
|
||||
" image: url(:/visual/res/svg/fema-wing.svg);\n"
|
||||
" background-color: #ffffff; \n"
|
||||
" image-position: bottom right;\n"
|
||||
" border: none;\n"
|
||||
"}"));
|
||||
verticalLayout = new QVBoxLayout(ApiForm);
|
||||
verticalLayout->setSpacing(0);
|
||||
verticalLayout->setObjectName("verticalLayout");
|
||||
verticalLayout->setContentsMargins(25, 25, 25, 0);
|
||||
label_3 = new QLabel(ApiForm);
|
||||
label_3->setObjectName("label_3");
|
||||
label_3->setMaximumSize(QSize(16777215, 30));
|
||||
label_3->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 20px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 36.31px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
verticalLayout->addWidget(label_3);
|
||||
|
||||
horizontalLayout = new QHBoxLayout();
|
||||
horizontalLayout->setSpacing(10);
|
||||
horizontalLayout->setObjectName("horizontalLayout");
|
||||
label = new QLabel(ApiForm);
|
||||
label->setObjectName("label");
|
||||
label->setMinimumSize(QSize(0, 40));
|
||||
label->setMaximumSize(QSize(16777215, 40));
|
||||
label->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 20px;\n"
|
||||
"font-weight: 500;\n"
|
||||
"line-height: 36.31px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout->addWidget(label);
|
||||
|
||||
label_2 = new QLabel(ApiForm);
|
||||
label_2->setObjectName("label_2");
|
||||
label_2->setMinimumSize(QSize(0, 40));
|
||||
label_2->setMaximumSize(QSize(16777215, 40));
|
||||
label_2->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 20px;\n"
|
||||
"font-weight: 500;\n"
|
||||
"line-height: 36.31px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout->addWidget(label_2);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout);
|
||||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setSpacing(10);
|
||||
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
||||
adres = new QLineEdit(ApiForm);
|
||||
adres->setObjectName("adres");
|
||||
adres->setMinimumSize(QSize(0, 40));
|
||||
adres->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 20px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_2->addWidget(adres);
|
||||
|
||||
port = new QLineEdit(ApiForm);
|
||||
port->setObjectName("port");
|
||||
port->setMinimumSize(QSize(0, 40));
|
||||
port->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 20px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_2->addWidget(port);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_2);
|
||||
|
||||
verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Fixed);
|
||||
|
||||
verticalLayout->addItem(verticalSpacer_2);
|
||||
|
||||
loginButton = new QPushButton(ApiForm);
|
||||
loginButton->setObjectName("loginButton");
|
||||
loginButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
|
||||
" border-style: outset;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-color: #13385F;\n"
|
||||
" border-width: 1px;\n"
|
||||
" background-color: #13385F;\n"
|
||||
" color: white;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 22px;\n"
|
||||
" font-weight: 500;\n"
|
||||
" line-height: 26.63px;\n"
|
||||
" text-align: center;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:hover {\n"
|
||||
" background-color: #1A4A73;\n"
|
||||
" border-color: #1A4A73;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" background-color: #102E47;\n"
|
||||
" border-color: #102E47;\n"
|
||||
"}"));
|
||||
|
||||
verticalLayout->addWidget(loginButton);
|
||||
|
||||
verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Policy::Minimum, QSizePolicy::Policy::Expanding);
|
||||
|
||||
verticalLayout->addItem(verticalSpacer);
|
||||
|
||||
|
||||
retranslateUi(ApiForm);
|
||||
|
||||
QMetaObject::connectSlotsByName(ApiForm);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *ApiForm)
|
||||
{
|
||||
ApiForm->setWindowTitle(QCoreApplication::translate("ApiForm", "Form", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("ApiForm", "\320\227\320\264\321\200\320\260\320\262\321\201\321\202\320\262\321\203\320\271\321\202\320\265! \320\222\320\262\320\265\320\264\320\270\321\202\320\265 \320\277\320\276\320\266\320\260\320\273\321\203\320\271\321\201\321\202\320\260 \320\260\320\264\321\200\320\265\321\201 \320\270 \320\277\320\276\321\200\321\202 \321\203\321\201\321\202\321\200\320\276\320\271\321\201\321\202\320\262\320\260", nullptr));
|
||||
label->setText(QCoreApplication::translate("ApiForm", "\320\220\320\264\321\200\320\265\321\201:", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("ApiForm", "\320\237\320\276\321\200\321\202:", nullptr));
|
||||
loginButton->setText(QCoreApplication::translate("ApiForm", "\320\222\320\276\320\271\321\202\320\270 \320\262 \320\277\321\200\320\270\320\273\320\276\320\266\320\265\320\275\320\270\320\265", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class ApiForm: public Ui_ApiForm {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_APIFORM_H
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,792 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'sensordialog.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 6.8.1
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_SENSORDIALOG_H
|
||||
#define UI_SENSORDIALOG_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QComboBox>
|
||||
#include <QtWidgets/QDialog>
|
||||
#include <QtWidgets/QHBoxLayout>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QLineEdit>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QSpacerItem>
|
||||
#include <QtWidgets/QTextEdit>
|
||||
#include <QtWidgets/QVBoxLayout>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_SensorDialog
|
||||
{
|
||||
public:
|
||||
QVBoxLayout *verticalLayout;
|
||||
QHBoxLayout *horizontalLayout_18;
|
||||
QLabel *label_14;
|
||||
QLabel *nameHeader;
|
||||
QSpacerItem *horizontalSpacer_2;
|
||||
QHBoxLayout *horizontalLayout_17;
|
||||
QLabel *label;
|
||||
QLineEdit *name;
|
||||
QHBoxLayout *horizontalLayout_16;
|
||||
QLabel *label_2;
|
||||
QLineEdit *unitName;
|
||||
QHBoxLayout *horizontalLayout_15;
|
||||
QLabel *label_3;
|
||||
QComboBox *isBooled;
|
||||
QHBoxLayout *horizontalLayout_14;
|
||||
QLabel *label_4;
|
||||
QComboBox *isAlarm;
|
||||
QHBoxLayout *horizontalLayout_13;
|
||||
QLabel *label_5;
|
||||
QLineEdit *alarmLow;
|
||||
QHBoxLayout *horizontalLayout_12;
|
||||
QLabel *label_6;
|
||||
QLineEdit *alarmUp;
|
||||
QHBoxLayout *horizontalLayout_11;
|
||||
QLabel *label_7;
|
||||
QLineEdit *alarmCooldown;
|
||||
QHBoxLayout *horizontalLayout_10;
|
||||
QLabel *label_8;
|
||||
QHBoxLayout *horizontalLayout_9;
|
||||
QTextEdit *logError;
|
||||
QHBoxLayout *horizontalLayout_8;
|
||||
QLabel *label_9;
|
||||
QHBoxLayout *horizontalLayout_7;
|
||||
QTextEdit *logManual;
|
||||
QHBoxLayout *horizontalLayout_6;
|
||||
QLabel *label_10;
|
||||
QLineEdit *alarmSleepage;
|
||||
QHBoxLayout *horizontalLayout_5;
|
||||
QLabel *label_11;
|
||||
QHBoxLayout *horizontalLayout_4;
|
||||
QTextEdit *logHugeError;
|
||||
QHBoxLayout *horizontalLayout_3;
|
||||
QLabel *label_12;
|
||||
QComboBox *isVisible;
|
||||
QHBoxLayout *horizontalLayout_2;
|
||||
QSpacerItem *horizontalSpacer;
|
||||
QPushButton *cancelButton;
|
||||
QPushButton *saveButton;
|
||||
|
||||
void setupUi(QDialog *SensorDialog)
|
||||
{
|
||||
if (SensorDialog->objectName().isEmpty())
|
||||
SensorDialog->setObjectName("SensorDialog");
|
||||
SensorDialog->resize(759, 947);
|
||||
QSizePolicy sizePolicy(QSizePolicy::Policy::Fixed, QSizePolicy::Policy::Fixed);
|
||||
sizePolicy.setHorizontalStretch(0);
|
||||
sizePolicy.setVerticalStretch(0);
|
||||
sizePolicy.setHeightForWidth(SensorDialog->sizePolicy().hasHeightForWidth());
|
||||
SensorDialog->setSizePolicy(sizePolicy);
|
||||
SensorDialog->setStyleSheet(QString::fromUtf8("background-color: white;"));
|
||||
verticalLayout = new QVBoxLayout(SensorDialog);
|
||||
verticalLayout->setSpacing(0);
|
||||
verticalLayout->setObjectName("verticalLayout");
|
||||
verticalLayout->setContentsMargins(25, 0, 25, 0);
|
||||
horizontalLayout_18 = new QHBoxLayout();
|
||||
horizontalLayout_18->setSpacing(20);
|
||||
horizontalLayout_18->setObjectName("horizontalLayout_18");
|
||||
horizontalLayout_18->setContentsMargins(-1, 25, -1, 25);
|
||||
label_14 = new QLabel(SensorDialog);
|
||||
label_14->setObjectName("label_14");
|
||||
sizePolicy.setHeightForWidth(label_14->sizePolicy().hasHeightForWidth());
|
||||
label_14->setSizePolicy(sizePolicy);
|
||||
label_14->setMinimumSize(QSize(32, 32));
|
||||
label_14->setMaximumSize(QSize(32, 32));
|
||||
label_14->setStyleSheet(QString::fromUtf8(""));
|
||||
label_14->setPixmap(QPixmap(QString::fromUtf8(":/visual/res/svg/settings.svg")));
|
||||
|
||||
horizontalLayout_18->addWidget(label_14);
|
||||
|
||||
nameHeader = new QLabel(SensorDialog);
|
||||
nameHeader->setObjectName("nameHeader");
|
||||
nameHeader->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_18->addWidget(nameHeader);
|
||||
|
||||
horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||||
|
||||
horizontalLayout_18->addItem(horizontalSpacer_2);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_18);
|
||||
|
||||
horizontalLayout_17 = new QHBoxLayout();
|
||||
horizontalLayout_17->setSpacing(15);
|
||||
horizontalLayout_17->setObjectName("horizontalLayout_17");
|
||||
horizontalLayout_17->setContentsMargins(-1, -1, -1, 10);
|
||||
label = new QLabel(SensorDialog);
|
||||
label->setObjectName("label");
|
||||
label->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_17->addWidget(label);
|
||||
|
||||
name = new QLineEdit(SensorDialog);
|
||||
name->setObjectName("name");
|
||||
name->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_17->addWidget(name);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_17);
|
||||
|
||||
horizontalLayout_16 = new QHBoxLayout();
|
||||
horizontalLayout_16->setSpacing(15);
|
||||
horizontalLayout_16->setObjectName("horizontalLayout_16");
|
||||
horizontalLayout_16->setContentsMargins(-1, -1, -1, 10);
|
||||
label_2 = new QLabel(SensorDialog);
|
||||
label_2->setObjectName("label_2");
|
||||
label_2->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_16->addWidget(label_2);
|
||||
|
||||
unitName = new QLineEdit(SensorDialog);
|
||||
unitName->setObjectName("unitName");
|
||||
unitName->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_16->addWidget(unitName);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_16);
|
||||
|
||||
horizontalLayout_15 = new QHBoxLayout();
|
||||
horizontalLayout_15->setSpacing(15);
|
||||
horizontalLayout_15->setObjectName("horizontalLayout_15");
|
||||
horizontalLayout_15->setContentsMargins(-1, -1, -1, 10);
|
||||
label_3 = new QLabel(SensorDialog);
|
||||
label_3->setObjectName("label_3");
|
||||
QSizePolicy sizePolicy1(QSizePolicy::Policy::Maximum, QSizePolicy::Policy::Preferred);
|
||||
sizePolicy1.setHorizontalStretch(0);
|
||||
sizePolicy1.setVerticalStretch(0);
|
||||
sizePolicy1.setHeightForWidth(label_3->sizePolicy().hasHeightForWidth());
|
||||
label_3->setSizePolicy(sizePolicy1);
|
||||
label_3->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_15->addWidget(label_3);
|
||||
|
||||
isBooled = new QComboBox(SensorDialog);
|
||||
isBooled->setObjectName("isBooled");
|
||||
isBooled->setStyleSheet(QString::fromUtf8("QComboBox::drop-down {\n"
|
||||
" border: 0px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox::down-arrow {\n"
|
||||
" image: url(:/visual/res/svg/chevron-down.png);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox {\n"
|
||||
" border: 2px solid #DCD174;\n"
|
||||
" background: transparent;\n"
|
||||
" color: #13385F;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 20px;\n"
|
||||
" font-weight: 400;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView {\n"
|
||||
" border: 2px solid #DCD174; \n"
|
||||
" background: white; \n"
|
||||
" selection-color: red;\n"
|
||||
" selection-background-color: blue;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item {\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 50px;\n"
|
||||
" font-weight: 400;\n"
|
||||
" text-align: left;\n"
|
||||
" padding: 5px;\n"
|
||||
" color: #13385F;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item:hover {\n"
|
||||
" background-color: #13385F; \n"
|
||||
" selection-color: white;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_15->addWidget(isBooled);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_15);
|
||||
|
||||
horizontalLayout_14 = new QHBoxLayout();
|
||||
horizontalLayout_14->setSpacing(15);
|
||||
horizontalLayout_14->setObjectName("horizontalLayout_14");
|
||||
horizontalLayout_14->setContentsMargins(-1, -1, -1, 10);
|
||||
label_4 = new QLabel(SensorDialog);
|
||||
label_4->setObjectName("label_4");
|
||||
sizePolicy1.setHeightForWidth(label_4->sizePolicy().hasHeightForWidth());
|
||||
label_4->setSizePolicy(sizePolicy1);
|
||||
label_4->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_14->addWidget(label_4);
|
||||
|
||||
isAlarm = new QComboBox(SensorDialog);
|
||||
isAlarm->setObjectName("isAlarm");
|
||||
isAlarm->setStyleSheet(QString::fromUtf8("QComboBox::drop-down {\n"
|
||||
" border: 0px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox::down-arrow {\n"
|
||||
" image: url(:/visual/res/svg/chevron-down.png);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox {\n"
|
||||
" border: 2px solid #DCD174;\n"
|
||||
" background: transparent;\n"
|
||||
" color: #13385F;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 20px;\n"
|
||||
" font-weight: 400;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView {\n"
|
||||
" border: 2px solid #DCD174; \n"
|
||||
" background: white; \n"
|
||||
" selection-color: red;\n"
|
||||
" selection-background-color: blue;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item {\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 50px;\n"
|
||||
" font-weight: 400;\n"
|
||||
" text-align: left;\n"
|
||||
" padding: 5px;\n"
|
||||
" color: #13385F;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item:hover {\n"
|
||||
" background-color: #13385F; \n"
|
||||
" selection-color: white;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_14->addWidget(isAlarm);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_14);
|
||||
|
||||
horizontalLayout_13 = new QHBoxLayout();
|
||||
horizontalLayout_13->setSpacing(15);
|
||||
horizontalLayout_13->setObjectName("horizontalLayout_13");
|
||||
horizontalLayout_13->setContentsMargins(-1, -1, -1, 10);
|
||||
label_5 = new QLabel(SensorDialog);
|
||||
label_5->setObjectName("label_5");
|
||||
sizePolicy1.setHeightForWidth(label_5->sizePolicy().hasHeightForWidth());
|
||||
label_5->setSizePolicy(sizePolicy1);
|
||||
label_5->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_13->addWidget(label_5);
|
||||
|
||||
alarmLow = new QLineEdit(SensorDialog);
|
||||
alarmLow->setObjectName("alarmLow");
|
||||
alarmLow->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_13->addWidget(alarmLow);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_13);
|
||||
|
||||
horizontalLayout_12 = new QHBoxLayout();
|
||||
horizontalLayout_12->setSpacing(15);
|
||||
horizontalLayout_12->setObjectName("horizontalLayout_12");
|
||||
horizontalLayout_12->setContentsMargins(-1, -1, -1, 10);
|
||||
label_6 = new QLabel(SensorDialog);
|
||||
label_6->setObjectName("label_6");
|
||||
sizePolicy1.setHeightForWidth(label_6->sizePolicy().hasHeightForWidth());
|
||||
label_6->setSizePolicy(sizePolicy1);
|
||||
label_6->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_12->addWidget(label_6);
|
||||
|
||||
alarmUp = new QLineEdit(SensorDialog);
|
||||
alarmUp->setObjectName("alarmUp");
|
||||
alarmUp->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_12->addWidget(alarmUp);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_12);
|
||||
|
||||
horizontalLayout_11 = new QHBoxLayout();
|
||||
horizontalLayout_11->setSpacing(15);
|
||||
horizontalLayout_11->setObjectName("horizontalLayout_11");
|
||||
horizontalLayout_11->setContentsMargins(-1, -1, -1, 10);
|
||||
label_7 = new QLabel(SensorDialog);
|
||||
label_7->setObjectName("label_7");
|
||||
label_7->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_11->addWidget(label_7);
|
||||
|
||||
alarmCooldown = new QLineEdit(SensorDialog);
|
||||
alarmCooldown->setObjectName("alarmCooldown");
|
||||
alarmCooldown->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_11->addWidget(alarmCooldown);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_11);
|
||||
|
||||
horizontalLayout_10 = new QHBoxLayout();
|
||||
horizontalLayout_10->setObjectName("horizontalLayout_10");
|
||||
horizontalLayout_10->setContentsMargins(-1, -1, -1, 5);
|
||||
label_8 = new QLabel(SensorDialog);
|
||||
label_8->setObjectName("label_8");
|
||||
label_8->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_10->addWidget(label_8);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_10);
|
||||
|
||||
horizontalLayout_9 = new QHBoxLayout();
|
||||
horizontalLayout_9->setObjectName("horizontalLayout_9");
|
||||
horizontalLayout_9->setContentsMargins(-1, -1, -1, 10);
|
||||
logError = new QTextEdit(SensorDialog);
|
||||
logError->setObjectName("logError");
|
||||
QSizePolicy sizePolicy2(QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Fixed);
|
||||
sizePolicy2.setHorizontalStretch(0);
|
||||
sizePolicy2.setVerticalStretch(0);
|
||||
sizePolicy2.setHeightForWidth(logError->sizePolicy().hasHeightForWidth());
|
||||
logError->setSizePolicy(sizePolicy2);
|
||||
logError->setMinimumSize(QSize(707, 80));
|
||||
logError->setMaximumSize(QSize(16777215, 80));
|
||||
logError->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_9->addWidget(logError);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_9);
|
||||
|
||||
horizontalLayout_8 = new QHBoxLayout();
|
||||
horizontalLayout_8->setObjectName("horizontalLayout_8");
|
||||
horizontalLayout_8->setContentsMargins(-1, -1, -1, 5);
|
||||
label_9 = new QLabel(SensorDialog);
|
||||
label_9->setObjectName("label_9");
|
||||
label_9->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_8->addWidget(label_9);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_8);
|
||||
|
||||
horizontalLayout_7 = new QHBoxLayout();
|
||||
horizontalLayout_7->setObjectName("horizontalLayout_7");
|
||||
horizontalLayout_7->setContentsMargins(-1, -1, -1, 10);
|
||||
logManual = new QTextEdit(SensorDialog);
|
||||
logManual->setObjectName("logManual");
|
||||
sizePolicy2.setHeightForWidth(logManual->sizePolicy().hasHeightForWidth());
|
||||
logManual->setSizePolicy(sizePolicy2);
|
||||
logManual->setMinimumSize(QSize(707, 80));
|
||||
logManual->setMaximumSize(QSize(16777215, 80));
|
||||
logManual->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_7->addWidget(logManual);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_7);
|
||||
|
||||
horizontalLayout_6 = new QHBoxLayout();
|
||||
horizontalLayout_6->setSpacing(15);
|
||||
horizontalLayout_6->setObjectName("horizontalLayout_6");
|
||||
horizontalLayout_6->setContentsMargins(-1, -1, -1, 10);
|
||||
label_10 = new QLabel(SensorDialog);
|
||||
label_10->setObjectName("label_10");
|
||||
label_10->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_6->addWidget(label_10);
|
||||
|
||||
alarmSleepage = new QLineEdit(SensorDialog);
|
||||
alarmSleepage->setObjectName("alarmSleepage");
|
||||
alarmSleepage->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_6->addWidget(alarmSleepage);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_6);
|
||||
|
||||
horizontalLayout_5 = new QHBoxLayout();
|
||||
horizontalLayout_5->setObjectName("horizontalLayout_5");
|
||||
horizontalLayout_5->setContentsMargins(-1, -1, -1, 5);
|
||||
label_11 = new QLabel(SensorDialog);
|
||||
label_11->setObjectName("label_11");
|
||||
label_11->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_5->addWidget(label_11);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_5);
|
||||
|
||||
horizontalLayout_4 = new QHBoxLayout();
|
||||
horizontalLayout_4->setObjectName("horizontalLayout_4");
|
||||
horizontalLayout_4->setContentsMargins(-1, -1, -1, 10);
|
||||
logHugeError = new QTextEdit(SensorDialog);
|
||||
logHugeError->setObjectName("logHugeError");
|
||||
sizePolicy2.setHeightForWidth(logHugeError->sizePolicy().hasHeightForWidth());
|
||||
logHugeError->setSizePolicy(sizePolicy2);
|
||||
logHugeError->setMinimumSize(QSize(707, 80));
|
||||
logHugeError->setMaximumSize(QSize(16777215, 80));
|
||||
logHugeError->setStyleSheet(QString::fromUtf8("border: 2px solid #DCD174;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 26px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 31.47px;\n"
|
||||
"text-align: left;\n"
|
||||
"background: #00000000;\n"
|
||||
"color: #13385F;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_4->addWidget(logHugeError);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_4);
|
||||
|
||||
horizontalLayout_3 = new QHBoxLayout();
|
||||
horizontalLayout_3->setSpacing(15);
|
||||
horizontalLayout_3->setObjectName("horizontalLayout_3");
|
||||
horizontalLayout_3->setContentsMargins(-1, -1, -1, 25);
|
||||
label_12 = new QLabel(SensorDialog);
|
||||
label_12->setObjectName("label_12");
|
||||
sizePolicy1.setHeightForWidth(label_12->sizePolicy().hasHeightForWidth());
|
||||
label_12->setSizePolicy(sizePolicy1);
|
||||
label_12->setStyleSheet(QString::fromUtf8("background: transparent;\n"
|
||||
"font-family: Inter;\n"
|
||||
"font-size: 22px;\n"
|
||||
"font-weight: 400;\n"
|
||||
"line-height: 26.63px;\n"
|
||||
"text-align: left;\n"
|
||||
"color: #FF453A;\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_3->addWidget(label_12);
|
||||
|
||||
isVisible = new QComboBox(SensorDialog);
|
||||
isVisible->setObjectName("isVisible");
|
||||
isVisible->setStyleSheet(QString::fromUtf8("QComboBox::drop-down {\n"
|
||||
" border: 0px;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox::down-arrow {\n"
|
||||
" image: url(:/visual/res/svg/chevron-down.png);\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox {\n"
|
||||
" border: 2px solid #DCD174;\n"
|
||||
" background: transparent;\n"
|
||||
" color: #13385F;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 20px;\n"
|
||||
" font-weight: 400;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView {\n"
|
||||
" border: 2px solid #DCD174; \n"
|
||||
" background: white; \n"
|
||||
" selection-color: red;\n"
|
||||
" selection-background-color: blue;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item {\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 50px;\n"
|
||||
" font-weight: 400;\n"
|
||||
" text-align: left;\n"
|
||||
" padding: 5px;\n"
|
||||
" color: #13385F;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QComboBox QAbstractItemView::item:hover {\n"
|
||||
" background-color: #13385F; \n"
|
||||
" selection-color: white;\n"
|
||||
" outline: 0px;;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"\n"
|
||||
""));
|
||||
|
||||
horizontalLayout_3->addWidget(isVisible);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_3);
|
||||
|
||||
horizontalLayout_2 = new QHBoxLayout();
|
||||
horizontalLayout_2->setSpacing(15);
|
||||
horizontalLayout_2->setObjectName("horizontalLayout_2");
|
||||
horizontalLayout_2->setContentsMargins(-1, -1, -1, 25);
|
||||
horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Policy::Expanding, QSizePolicy::Policy::Minimum);
|
||||
|
||||
horizontalLayout_2->addItem(horizontalSpacer);
|
||||
|
||||
cancelButton = new QPushButton(SensorDialog);
|
||||
cancelButton->setObjectName("cancelButton");
|
||||
sizePolicy.setHeightForWidth(cancelButton->sizePolicy().hasHeightForWidth());
|
||||
cancelButton->setSizePolicy(sizePolicy);
|
||||
cancelButton->setMinimumSize(QSize(110, 41));
|
||||
cancelButton->setMaximumSize(QSize(110, 41));
|
||||
cancelButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
|
||||
" border-style: outset;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-color: #13385F;\n"
|
||||
" border-width: 1px;\n"
|
||||
" color: #13385F;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 22px;\n"
|
||||
" font-weight: 500;\n"
|
||||
" line-height: 26.63px;\n"
|
||||
" text-align: center;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:hover {\n"
|
||||
" background-color: #e0f2f7;\n"
|
||||
" border-color: #1A4A73;\n"
|
||||
" color: #1A4A73;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" background-color: #102E47;\n"
|
||||
" border-color: #102E47;\n"
|
||||
" color: white; \n"
|
||||
"}"));
|
||||
|
||||
horizontalLayout_2->addWidget(cancelButton);
|
||||
|
||||
saveButton = new QPushButton(SensorDialog);
|
||||
saveButton->setObjectName("saveButton");
|
||||
sizePolicy.setHeightForWidth(saveButton->sizePolicy().hasHeightForWidth());
|
||||
saveButton->setSizePolicy(sizePolicy);
|
||||
saveButton->setMinimumSize(QSize(143, 41));
|
||||
saveButton->setMaximumSize(QSize(143, 41));
|
||||
saveButton->setStyleSheet(QString::fromUtf8("QPushButton {\n"
|
||||
" border-style: outset;\n"
|
||||
" border-radius: 5px;\n"
|
||||
" border-color: #13385F;\n"
|
||||
" border-width: 1px;\n"
|
||||
" background-color: #13385F;\n"
|
||||
" color: white;\n"
|
||||
" font-family: Inter;\n"
|
||||
" font-size: 22px;\n"
|
||||
" font-weight: 500;\n"
|
||||
" line-height: 26.63px;\n"
|
||||
" text-align: center;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:hover {\n"
|
||||
" background-color: #1A4A73;\n"
|
||||
" border-color: #1A4A73;\n"
|
||||
"}\n"
|
||||
"\n"
|
||||
"QPushButton:pressed {\n"
|
||||
" background-color: #102E47;\n"
|
||||
" border-color: #102E47;\n"
|
||||
"}"));
|
||||
|
||||
horizontalLayout_2->addWidget(saveButton);
|
||||
|
||||
|
||||
verticalLayout->addLayout(horizontalLayout_2);
|
||||
|
||||
|
||||
retranslateUi(SensorDialog);
|
||||
|
||||
QMetaObject::connectSlotsByName(SensorDialog);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QDialog *SensorDialog)
|
||||
{
|
||||
SensorDialog->setWindowTitle(QCoreApplication::translate("SensorDialog", "Dialog", nullptr));
|
||||
label_14->setText(QString());
|
||||
nameHeader->setText(QCoreApplication::translate("SensorDialog", "TextLabel", nullptr));
|
||||
label->setText(QCoreApplication::translate("SensorDialog", "\320\235\320\260\320\270\320\274\320\265\320\275\320\276\320\262\320\260\320\275\320\270\320\265", nullptr));
|
||||
label_2->setText(QCoreApplication::translate("SensorDialog", "\320\225\320\264\320\270\320\275\320\270\321\206\320\260 \320\270\320\267\320\274\320\265\321\200\320\265\320\275\320\270\321\217", nullptr));
|
||||
label_3->setText(QCoreApplication::translate("SensorDialog", "\320\236\321\202\320\276\320\261\321\200\320\260\320\266\320\260\321\202\321\214 \321\202\320\276\320\273\321\214\320\272\320\276 \320\224\320\260/\320\235\320\265\321\202 \320\262\320\274\320\265\321\201\321\202\320\276 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\271 \320\264\320\260\321\202\321\207\320\270\320\272\320\260", nullptr));
|
||||
label_4->setText(QCoreApplication::translate("SensorDialog", "\320\230\320\274\320\265\320\265\321\202 \320\273\320\270 \320\277\320\276\321\200\320\276\320\263\320\276\320\262\321\213\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\321\217", nullptr));
|
||||
label_5->setText(QCoreApplication::translate("SensorDialog", "\320\237\320\276\321\200\320\276\320\263\320\276\320\262\320\276\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\265 (\320\274\320\270\320\275\320\270\320\274\321\203\320\274)", nullptr));
|
||||
label_6->setText(QCoreApplication::translate("SensorDialog", "\320\237\320\276\321\200\320\276\320\263\320\276\320\262\320\276\320\265 \320\267\320\275\320\260\321\207\320\265\320\275\320\270\320\265 (\320\274\320\260\320\272\321\201\320\270\320\274\321\203\320\274)", nullptr));
|
||||
label_7->setText(QCoreApplication::translate("SensorDialog", "\320\224\320\273\320\270\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\321\214, \321\201\320\265\320\272\321\203\320\275\320\264", nullptr));
|
||||
label_8->setText(QCoreApplication::translate("SensorDialog", "\320\233\320\276\320\263 \320\276\321\210\320\270\320\261\320\272\320\270", nullptr));
|
||||
label_9->setText(QCoreApplication::translate("SensorDialog", "\320\233\320\276\320\263 \320\270\320\275\321\201\321\202\321\200\321\203\320\272\321\206\320\270\320\270", nullptr));
|
||||
label_10->setText(QCoreApplication::translate("SensorDialog", "\320\222\321\200\320\265\320\274\321\217 \320\277\320\276\320\262\321\202\320\276\321\200\320\260, \321\201\320\265\320\272\321\203\320\275\320\264", nullptr));
|
||||
label_11->setText(QCoreApplication::translate("SensorDialog", "\320\233\320\276\320\263 \320\277\320\276\320\262\321\202\320\276\321\200\321\217\321\216\321\211\320\265\320\271\321\201\321\217 \320\276\321\210\320\270\320\261\320\272\320\270", nullptr));
|
||||
label_12->setText(QCoreApplication::translate("SensorDialog", "\320\241\320\272\321\200\321\213\321\202\321\214 \320\264\320\260\321\202\321\207\320\270\320\272?", nullptr));
|
||||
cancelButton->setText(QCoreApplication::translate("SensorDialog", "\320\236\321\202\320\274\320\265\320\275\320\260", nullptr));
|
||||
saveButton->setText(QCoreApplication::translate("SensorDialog", "\320\241\320\276\321\205\321\200\320\260\320\275\320\270\321\202\321\214", nullptr));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class SensorDialog: public Ui_SensorDialog {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_SENSORDIALOG_H
|
@ -0,0 +1,19 @@
|
||||
// This file is autogenerated. Changes will be overwritten.
|
||||
#include "EWIEGA46WW/moc_alarmdialog.cpp"
|
||||
#include "EWIEGA46WW/moc_alarmsservice.cpp"
|
||||
#include "EWIEGA46WW/moc_alarmwidget.cpp"
|
||||
#include "EWIEGA46WW/moc_apiform.cpp"
|
||||
#include "EWIEGA46WW/moc_httpclient.cpp"
|
||||
#include "EWIEGA46WW/moc_incedentwidget.cpp"
|
||||
#include "EWIEGA46WW/moc_journalservice.cpp"
|
||||
#include "EWIEGA46WW/moc_logwidget.cpp"
|
||||
#include "EWIEGA46WW/moc_mainwindow.cpp"
|
||||
#include "EWIEGA46WW/moc_paginationbar.cpp"
|
||||
#include "EWIEGA46WW/moc_plotservice.cpp"
|
||||
#include "EWIEGA46WW/moc_qcustomplot.cpp"
|
||||
#include "EWIEGA46WW/moc_savesensorservice.cpp"
|
||||
#include "EWIEGA46WW/moc_sensordialog.cpp"
|
||||
#include "EWIEGA46WW/moc_sensorlogervice.cpp"
|
||||
#include "EWIEGA46WW/moc_sensorservice.cpp"
|
||||
#include "EWIEGA46WW/moc_sensorwidget.cpp"
|
||||
#include "EWIEGA46WW/moc_serverwidget.cpp"
|
Reference in New Issue
Block a user