Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
12a2ea0
Improve connection and grid rendering quality
imakris Mar 24, 2026
bb53900
Add smooth velocity-based zoom to GraphicsView
imakris Mar 24, 2026
abda92f
Disable node cache during zoom animation
imakris Mar 24, 2026
0b851e4
Use sub-pixel transform offset during zoom animation
imakris Mar 24, 2026
ed2ac88
Smooth zoom rendering and interaction fixes
imakris Mar 24, 2026
aa7a00e
Optimize node and connection rendering paths
imakris Mar 24, 2026
7eac299
Replace QGraphicsDropShadowEffect with 9-slice painter shadow
imakris Mar 24, 2026
d53e8e2
Tighten node rendering bounds and cache handling
imakris Mar 25, 2026
0045c0a
Make smooth zoom time-invariant
imakris Mar 25, 2026
844141b
Cleanup: remove dead code, fix bug, deduplicate style/model helpers
claude Mar 25, 2026
6ac178b
Remove dead code, unused includes, and stale forward declarations
claude Mar 25, 2026
f61ea0d
Fix broken NodeGeometry forwarding header and remove unused includes
claude Mar 25, 2026
864769b
Refactor: extract geometry base class, unify connection control points
claude Mar 25, 2026
67a8cd1
Initialize NodeStyle primitive defaults
imakris Mar 25, 2026
5d6a05b
Merge pull request #2 from imakris/claude/cleanup-source-code-BL2L8
imakris Mar 25, 2026
816fbca
Fix restore and interaction correctness
imakris Mar 25, 2026
30be694
Index dataflow connection lookups
imakris Mar 25, 2026
2e2a5ed
Fix MSVC header and style build errors
imakris Mar 25, 2026
221c644
Validate serialized graph and group loads
imakris Mar 25, 2026
270094e
Tighten undo payload parsing and scene invariants
imakris Mar 25, 2026
a38f450
Clean up package metadata and geometry naming
imakris Mar 25, 2026
55bbed1
Refine graph model lookup APIs and scene loading
imakris Mar 25, 2026
df99885
Extract shared connection indexing helper
imakris Mar 25, 2026
2a8de7e
Trim validation header and tighten trivial APIs
imakris Mar 25, 2026
28162bf
Unify validation APIs and stage scene loads
imakris Mar 25, 2026
a9fa64d
Split BasicGraphicsScene group handling
imakris Mar 25, 2026
1a8f49b
Address remaining review items: Catch2 v3, noexcept, style encapsulat…
claude Mar 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 19 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmake_policy(SET CMP0072 NEW) # new in 3.11. The NEW behavior for this policy is
cmake_policy(SET CMP0068 NEW) # new in 3.9. The NEW behavior of this policy is to ignore the RPATH settings for install_name on macOS.


project(QtNodesLibrary CXX)
project(QtNodesLibrary VERSION 3.0.16 LANGUAGES CXX)

set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})

Expand Down Expand Up @@ -66,12 +66,14 @@ set(CPP_SOURCE_FILES
src/AbstractGraphModel.cpp
src/AbstractNodeGeometry.cpp
src/BasicGraphicsScene.cpp
src/BasicGraphicsSceneGroups.cpp
src/ConnectionGraphicsObject.cpp
src/ConnectionState.cpp
src/ConnectionStyle.cpp
src/DataFlowGraphModel.cpp
src/DataFlowGraphicsScene.cpp
src/DefaultConnectionPainter.cpp
src/DefaultNodeGeometryBase.cpp
src/DefaultHorizontalNodeGeometry.cpp
src/DefaultNodePainter.cpp
src/DefaultVerticalNodeGeometry.cpp
Expand All @@ -82,9 +84,11 @@ set(CPP_SOURCE_FILES
src/NodeDelegateModel.cpp
src/NodeDelegateModelRegistry.cpp
src/NodeGraphicsObject.cpp
src/NodeRenderingUtils.cpp
src/NodeState.cpp
src/NodeStyle.cpp
src/StyleCollection.cpp
src/SerializationValidation.cpp
src/UndoCommands.cpp
src/locateNode.cpp
src/GroupGraphicsObject.cpp
Expand All @@ -100,6 +104,7 @@ set(HPP_HEADER_FILES
include/QtNodes/internal/BasicGraphicsScene.hpp
include/QtNodes/internal/Compiler.hpp
include/QtNodes/internal/ConnectionGraphicsObject.hpp
include/QtNodes/internal/ConnectionIdIndex.hpp
include/QtNodes/internal/ConnectionIdHash.hpp
include/QtNodes/internal/ConnectionIdUtils.hpp
include/QtNodes/internal/ConnectionState.hpp
Expand All @@ -115,12 +120,14 @@ set(HPP_HEADER_FILES
include/QtNodes/internal/NodeDelegateModel.hpp
include/QtNodes/internal/NodeDelegateModelRegistry.hpp
include/QtNodes/internal/NodeGraphicsObject.hpp
include/QtNodes/internal/NodeRenderingUtils.hpp
include/QtNodes/internal/NodeState.hpp
include/QtNodes/internal/NodeStyle.hpp
include/QtNodes/internal/OperatingSystem.hpp
include/QtNodes/internal/QStringStdHash.hpp
include/QtNodes/internal/QUuidStdHash.hpp
include/QtNodes/internal/Serializable.hpp
include/QtNodes/internal/SerializationValidation.hpp
include/QtNodes/internal/Style.hpp
include/QtNodes/internal/StyleCollection.hpp
include/QtNodes/internal/DefaultConnectionPainter.hpp
Expand Down Expand Up @@ -187,14 +194,14 @@ if(NOT "${CMAKE_CXX_SIMULATE_ID}" STREQUAL "MSVC")
)
endif()

if(QT_NODES_DEVELOPER_DEFAULTS)
target_compile_features(QtNodes PUBLIC cxx_std_14)
set_target_properties(QtNodes PROPERTIES CXX_EXTENSIONS OFF)
endif()
target_compile_features(QtNodes PUBLIC cxx_std_14)
set_target_properties(QtNodes PROPERTIES CXX_EXTENSIONS OFF)


set_target_properties(QtNodes
PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION ${PROJECT_VERSION_MAJOR}
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
Expand Down Expand Up @@ -232,7 +239,6 @@ set(INSTALL_CONFIGDIR ${CMAKE_INSTALL_LIBDIR}/cmake/QtNodes)

install(TARGETS QtNodes
EXPORT QtNodesTargets
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
Expand All @@ -254,7 +260,14 @@ configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/cmake/QtNodesConfig.cmak
INSTALL_DESTINATION ${INSTALL_CONFIGDIR}
)

write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/QtNodesConfigVersion.cmake
VERSION ${PROJECT_VERSION}
COMPATIBILITY SameMajorVersion
)

install(FILES
${CMAKE_CURRENT_BINARY_DIR}/QtNodesConfig.cmake
${CMAKE_CURRENT_BINARY_DIR}/QtNodesConfigVersion.cmake
DESTINATION ${INSTALL_CONFIGDIR}
)
160 changes: 0 additions & 160 deletions cmake/FindPySide2.cmake

This file was deleted.

Loading