fix:TextInput support hot update;feat:add zero color and update

algorithm
This commit is contained in:
2026-01-29 09:56:10 +08:00
parent db0580ead1
commit 01b988fcd7
22 changed files with 2022 additions and 1452 deletions

View File

@@ -31,7 +31,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
qt_standard_project_setup()
add_executable(TactileIpc3D
add_executable(TactileIpc3D WIN32
main.cpp
resources.qrc
src/translation_manager.h
@@ -57,8 +57,6 @@ add_executable(TactileIpc3D
src/serial/serial_qt_transport.h
src/serial/serial_qt_transport.cpp
src/serial/serial_types.h
src/serial/piezoresistive_a_protocol.h
src/serial/piezoresistive_a_protocol.cpp
src/ringbuffer.h
src/ringbuffer.cpp
src/sparkline_plotitem.h
@@ -79,6 +77,19 @@ target_link_libraries(TactileIpc3D PRIVATE
Qt6::QuickDialogs2
QXlsx::QXlsx
)
add_library(PiezoresistiveAPlugin SHARED
plugins/piezoresistive_a/piezoresistive_a_plugin.h
plugins/piezoresistive_a/piezoresistive_a_plugin.cpp
src/serial/piezoresistive_a_protocol.h
src/serial/piezoresistive_a_protocol.cpp
)
target_include_directories(PiezoresistiveAPlugin PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src
)
target_link_libraries(PiezoresistiveAPlugin PRIVATE
Qt6::Core
)
target_include_directories(TactileIpc3D PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/3rdpart/OpenCV/include
)
@@ -132,8 +143,25 @@ set_target_properties(TactileIpc3D PROPERTIES
RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL "${runtime_out_dir}/MinSizeRel"
)
set_target_properties(PiezoresistiveAPlugin PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${runtime_out_dir}/plugins/decoders"
RUNTIME_OUTPUT_DIRECTORY_DEBUG "${runtime_out_dir}/Debug/plugins/decoders"
RUNTIME_OUTPUT_DIRECTORY_RELEASE "${runtime_out_dir}/Release/plugins/decoders"
RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO "${runtime_out_dir}/RelWithDebInfo/plugins/decoders"
RUNTIME_OUTPUT_DIRECTORY_MINSIZEREL "${runtime_out_dir}/MinSizeRel/plugins/decoders"
LIBRARY_OUTPUT_DIRECTORY "${runtime_out_dir}/plugins/decoders"
LIBRARY_OUTPUT_DIRECTORY_DEBUG "${runtime_out_dir}/Debug/plugins/decoders"
LIBRARY_OUTPUT_DIRECTORY_RELEASE "${runtime_out_dir}/Release/plugins/decoders"
LIBRARY_OUTPUT_DIRECTORY_RELWITHDEBINFO "${runtime_out_dir}/RelWithDebInfo/plugins/decoders"
LIBRARY_OUTPUT_DIRECTORY_MINSIZEREL "${runtime_out_dir}/MinSizeRel/plugins/decoders"
)
include(GNUInstallDirs)
install(TARGETS TactileIpc3D
RUNTIME DESTINATION bin
)
install(TARGETS PiezoresistiveAPlugin
RUNTIME DESTINATION bin/plugins/decoders
LIBRARY DESTINATION bin/plugins/decoders
)