QuickGraphLib 0.1.0a7__tar.gz → 0.1.0a9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/CMakeLists.txt +1 -1
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/PKG-INFO +16 -5
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/Axis.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/CMakeLists.txt +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/ColorMaps.cpp +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphArea.qml +3 -1
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/AxHLine.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/AxHSpan.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/AxVLine.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/AxVSpan.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/BasicLegend.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/BasicLegendItem.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/CMakeLists.txt +1 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/ColorMesh.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/Contour.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/GraphItemDragHandler.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/Grid.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/Histogram.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/Line.qml +1 -13
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/Marker.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/ImageView.cpp +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/PreFabs/ImageAxes.qml +6 -4
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/PreFabs/XYAxes.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/ScalingContainer.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/ShapeRepeater.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/TickLabel.qml +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/ZoomPanHandler.qml +3 -1
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/__init__.py +3 -2
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/_version.py +1 -1
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/bindings/CMakeLists.txt +72 -56
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/bindings/pyigen.py +1 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/contours.py +11 -4
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/graphstructure.qdoc +81 -0
- quickgraphlib-0.1.0a9/QuickGraphLib/doc/interaction.qdoc +43 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/python_helpers.qdoc +2 -0
- quickgraphlib-0.1.0a9/README.md +36 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/ci/setup_qt.py +5 -5
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/docs/build_docs.py +1 -1
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/docs/config.qdocconf +1 -1
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/docs/style.css +21 -4
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/AllTheAxes.qdoc +2 -0
- quickgraphlib-0.1.0a9/examples/BasicHistogram.qdoc +15 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicSinGraph.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicSinGraphNoPrefabs.qdoc +3 -3
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BuiltinColormaps.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BuiltinColormaps.qml +3 -5
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ColorMappedImages.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ColorMappedImages.qml +0 -2
- quickgraphlib-0.1.0a9/examples/ColorMesh.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ColorMesh.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ColorMesh.qml +0 -1
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Complex.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Complex.qml +1 -0
- quickgraphlib-0.1.0a9/examples/Contours.qdoc +17 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Conway.qdoc +4 -2
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Conway.qml +8 -4
- quickgraphlib-0.1.0a9/examples/DarkSinGraph.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/DarkSinGraph.qdoc +8 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/DraggableRegion.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ImageAlignment.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ImageAlignment.qml +1 -2
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/InvertedAxes.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ReadoutLine.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ScalingGraph.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Scatter.qdoc +2 -0
- quickgraphlib-0.1.0a9/examples/Scatter.qml +35 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/SpansAndLines.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Subgraphs.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/TwinX.qdoc +2 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ZoomableAsImage.qdoc +2 -0
- quickgraphlib-0.1.0a9/examples/ZoomableAxes.qdoc +19 -0
- quickgraphlib-0.1.0a9/examples/__init__.py +4 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/conway.py +13 -13
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/gallery.py +1 -2
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/pyproject.toml +10 -11
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/requirements.txt +5 -5
- quickgraphlib-0.1.0a9/tests/__init__.py +4 -0
- quickgraphlib-0.1.0a9/tests/fonts/DejaVuSans-Bold.ttf +0 -0
- quickgraphlib-0.1.0a9/tests/fonts/DejaVuSans-BoldOblique.ttf +0 -0
- quickgraphlib-0.1.0a9/tests/fonts/DejaVuSans-Oblique.ttf +0 -0
- quickgraphlib-0.1.0a9/tests/fonts/DejaVuSans.ttf +0 -0
- quickgraphlib-0.1.0a9/tests/fonts/LICENSE +187 -0
- quickgraphlib-0.1.0a9/tests/reference_images/AllTheAxes.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/AllTheAxes.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/AllTheAxes.svg +1376 -0
- quickgraphlib-0.1.0a9/tests/reference_images/AllTheAxes_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicHistogram.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicHistogram.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicHistogram.svg +777 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicHistogram_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraph.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraph.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraph.svg +740 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraphNoPrefabs.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraphNoPrefabs.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraphNoPrefabs.svg +719 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraphNoPrefabs_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BasicSinGraph_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BuiltinColormaps.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BuiltinColormaps.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BuiltinColormaps.svg +3069 -0
- quickgraphlib-0.1.0a9/tests/reference_images/BuiltinColormaps_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMappedImages.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMappedImages.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMappedImages.svg +188 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMappedImages_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMesh.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMesh.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMesh.svg +852 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ColorMesh_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Complex.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Complex.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Complex.svg +1325 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Complex_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Contours.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Contours.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Contours.svg +924 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Contours_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Conway.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Conway.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Conway.svg +1090 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Conway_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DarkSinGraph.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DarkSinGraph.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DarkSinGraph.svg +740 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DarkSinGraph_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DraggableRegion.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DraggableRegion.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DraggableRegion.svg +726 -0
- quickgraphlib-0.1.0a9/tests/reference_images/DraggableRegion_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ImageAlignment.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ImageAlignment.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ImageAlignment.svg +623 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ImageAlignment_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/InvertedAxes.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/InvertedAxes.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/InvertedAxes.svg +730 -0
- quickgraphlib-0.1.0a9/tests/reference_images/InvertedAxes_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ReadoutLine.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ReadoutLine.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ReadoutLine.svg +673 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ReadoutLine_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ScalingGraph.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ScalingGraph.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ScalingGraph.svg +771 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ScalingGraph_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Scatter.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Scatter.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Scatter.svg +210680 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Scatter_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/SpansAndLines.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/SpansAndLines.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/SpansAndLines.svg +785 -0
- quickgraphlib-0.1.0a9/tests/reference_images/SpansAndLines_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Subgraphs.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Subgraphs.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Subgraphs.svg +1720 -0
- quickgraphlib-0.1.0a9/tests/reference_images/Subgraphs_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/TwinX.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/TwinX.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/TwinX.svg +805 -0
- quickgraphlib-0.1.0a9/tests/reference_images/TwinX_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAsImage.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAsImage.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAsImage.svg +765 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAsImage_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAxes.dat +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAxes.png +0 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAxes.svg +1423 -0
- quickgraphlib-0.1.0a9/tests/reference_images/ZoomableAxes_grab.png +0 -0
- quickgraphlib-0.1.0a9/tests/test_exports.py +161 -0
- quickgraphlib-0.1.0a7/QuickGraphLib/bindings/pyside_config.py +0 -416
- quickgraphlib-0.1.0a7/QuickGraphLib/doc/interaction.qdoc +0 -13
- quickgraphlib-0.1.0a7/README.md +0 -25
- quickgraphlib-0.1.0a7/examples/BasicHistogram.qdoc +0 -13
- quickgraphlib-0.1.0a7/examples/ColorMesh.png +0 -0
- quickgraphlib-0.1.0a7/examples/Contours.qdoc +0 -13
- quickgraphlib-0.1.0a7/examples/DarkSinGraph.png +0 -0
- quickgraphlib-0.1.0a7/examples/Scatter.qml +0 -28
- quickgraphlib-0.1.0a7/examples/ZoomableAxes.qdoc +0 -13
- quickgraphlib-0.1.0a7/setup.cfg +0 -2
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/.clang-format +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/.gitignore +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/.pre-commit-config.yaml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/LICENCE +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/AntialiasingContainer.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/ColorMaps.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/DataTypes.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/DataTypes.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/helpers/GridHelper.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/helpers/GridHelper.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/helpers/HistogramHelper.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/GraphItems/helpers/HistogramHelper.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/ImageView.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/Plugin.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/PreFabs/CMakeLists.txt +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/QuickGraphLib.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/bindings/Bindings.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/bindings/Bindings.xml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/bindings/ShibokenHelpers.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/bindings/ShibokenHelpers.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/bindings/glue/DataTypes.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/consts.py +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/AxesGridLayout.drawio +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/AxesGridLayout.svg +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/export.qdoc +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/graphitems.qdoc +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/index.qdoc +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/module-cpp.qdoc +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/module.qdoc +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/doc/prefabs.qdoc +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/helpers/AxisHelper.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/helpers/AxisHelper.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/helpers/Foreign.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/helpers/Helpers.cpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/helpers/Helpers.hpp +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/QuickGraphLib/py.typed +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/activate_venv.ps1 +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/ci/find_qt.py +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/AllTheAxes.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/AllTheAxes.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicHistogram.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicHistogram.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicSinGraph.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicSinGraph.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicSinGraphNoPrefabs.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BasicSinGraphNoPrefabs.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/BuiltinColormaps.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ColorMappedImages.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Complex.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Contours.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Contours.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Conway.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/DarkSinGraph.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/DraggableRegion.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/DraggableRegion.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ExampleGallery.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ExampleGallery.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ImageAlignment.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/InvertedAxes.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/InvertedAxes.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ReadoutLine.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ReadoutLine.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ScalingGraph.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ScalingGraph.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Scatter.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/SpansAndLines.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/SpansAndLines.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Subgraphs.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/Subgraphs.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/TwinX.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/TwinX.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ZoomableAsImage.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ZoomableAsImage.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ZoomableAxes.png +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/examples/ZoomableAxes.qml +0 -0
- {quickgraphlib-0.1.0a7 → quickgraphlib-0.1.0a9}/setup_venv.ps1 +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: QuickGraphLib
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a9
|
|
4
4
|
Summary: A scientific graphing library for QtQuick
|
|
5
5
|
Author-Email: Matthew Joyce <matthew.joyce@refeyn.com>
|
|
6
6
|
License: MIT License
|
|
@@ -38,8 +38,9 @@ Project-URL: Homepage, https://github.com/refeyn/QuickGraphLib
|
|
|
38
38
|
Project-URL: Issues, https://github.com/refeyn/QuickGraphLib/issues
|
|
39
39
|
Project-URL: Documentation, https://refeyn.github.io/QuickGraphLib
|
|
40
40
|
Project-URL: Source, https://github.com/refeyn/QuickGraphLib
|
|
41
|
-
Requires-Dist: PySide6
|
|
41
|
+
Requires-Dist: PySide6==6.8.0.2
|
|
42
42
|
Requires-Dist: contourpy
|
|
43
|
+
Requires-Dist: numpy<2
|
|
43
44
|
Requires-Dist: black; extra == "analyse"
|
|
44
45
|
Requires-Dist: pylint; extra == "analyse"
|
|
45
46
|
Requires-Dist: mypy; extra == "analyse"
|
|
@@ -48,8 +49,7 @@ Requires-Dist: lxml; extra == "analyse"
|
|
|
48
49
|
Requires-Dist: pytest; extra == "analyse"
|
|
49
50
|
Requires-Dist: pytest-cov; extra == "analyse"
|
|
50
51
|
Requires-Dist: scikit-build-core; extra == "analyse"
|
|
51
|
-
Requires-Dist: shiboken6_generator==6.
|
|
52
|
-
Requires-Dist: PySide6==6.5.3; extra == "analyse"
|
|
52
|
+
Requires-Dist: shiboken6_generator==6.8.0.2; extra == "analyse"
|
|
53
53
|
Requires-Dist: setuptools_scm; extra == "analyse"
|
|
54
54
|
Provides-Extra: analyse
|
|
55
55
|
Description-Content-Type: text/markdown
|
|
@@ -61,6 +61,7 @@ A scientific graphing library for [QtQuick](https://doc.qt.io/qt-6/qtquick-index
|
|
|
61
61
|
Links:
|
|
62
62
|
- [Online documentation](https://refeyn.github.io/QuickGraphLib)
|
|
63
63
|
- [PyPI page](https://pypi.org/project/QuickGraphLib/)
|
|
64
|
+
- [Pre-built artefacts](https://github.com/refeyn/QuickGraphLib/releases/latest)
|
|
64
65
|
|
|
65
66
|
Key advantages:
|
|
66
67
|
|
|
@@ -75,7 +76,17 @@ Key advantages:
|
|
|
75
76
|
The example gallery can be run using (provided the Python environment has [PySide6](https://pypi.org/project/PySide6/) and [contourpy](https://pypi.org/project/contourpy/) installed):
|
|
76
77
|
|
|
77
78
|
```bash
|
|
78
|
-
python examples
|
|
79
|
+
python examples/gallery.py
|
|
79
80
|
```
|
|
80
81
|
|
|
81
82
|
<p align="center"><img src="https://github.com/refeyn/QuickGraphLib/assets/103422031/56fdff62-ef77-4184-9f43-59a76b92d728" width="80%"></p>
|
|
83
|
+
|
|
84
|
+
## Qt version compatibility
|
|
85
|
+
|
|
86
|
+
This version of QuickGraphLib is compatible with Qt and PySide6 6.8.0. If you use this module from C++, then Qt's ABI stability guarantees means the compiled binaries will work for any Qt version >= 6.8 and < 7.0. If you use this module from Python, there are some additional features that rely on the PySide6 library version. Therefore the PySide6 version must be 6.8.0.2 exactly. Other 6.8 versions of PySide6 may work, but there are no guarantees.
|
|
87
|
+
|
|
88
|
+
The pre-built wheels aim to be compatible with the most recent recent Qt LTS version, which is currently 6.8. Pre-built wheels for higher non-LTS Qt versions will likely be available once Qt 6.9 is released.
|
|
89
|
+
|
|
90
|
+
## Python version compatibility
|
|
91
|
+
|
|
92
|
+
QuickGraphLib is compatible with the same Python versions and glibc versions that PySide6 is. For PySide6 6.8, the minimum Python version is 3.9.
|
|
@@ -67,10 +67,12 @@ add_custom_target(QuickGraphLibPythonFiles ALL DEPENDS ${QGL_PYTHON_FILES})
|
|
|
67
67
|
install(
|
|
68
68
|
TARGETS QuickGraphLib
|
|
69
69
|
RUNTIME DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib
|
|
70
|
+
LIBRARY DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib
|
|
70
71
|
)
|
|
71
72
|
install(
|
|
72
73
|
TARGETS QuickGraphLibPlugin
|
|
73
74
|
RUNTIME DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib
|
|
75
|
+
LIBRARY DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib
|
|
74
76
|
)
|
|
75
77
|
install(FILES ${QGL_QML_FILES} DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib)
|
|
76
78
|
install(
|
|
@@ -9,6 +9,8 @@ import QtQuick.Shapes as QQS
|
|
|
9
9
|
\inqmlmodule QuickGraphLib
|
|
10
10
|
\inherits QtQuick::Shapes::Shape
|
|
11
11
|
\brief An area that graphs can be added to.
|
|
12
|
+
|
|
13
|
+
\sa {Basic sin graph (without prefabs)}, {Inverted axes}
|
|
12
14
|
*/
|
|
13
15
|
|
|
14
16
|
QQS.Shape {
|
|
@@ -65,7 +67,7 @@ QQS.Shape {
|
|
|
65
67
|
/*!
|
|
66
68
|
Convert a base transform \a baseTransform into a view transform suitable for \l viewTransform.
|
|
67
69
|
*/
|
|
68
|
-
function viewTransformFromBaseTransform(baseTransform: matrix4x4) {
|
|
70
|
+
function viewTransformFromBaseTransform(baseTransform: matrix4x4): matrix4x4 {
|
|
69
71
|
return Qt.matrix4x4(baseTransform.m11, baseTransform.m12, baseTransform.m13, baseTransform.m14 * width, baseTransform.m21, baseTransform.m22, baseTransform.m23, baseTransform.m24 * height, baseTransform.m31, baseTransform.m32, baseTransform.m33, baseTransform.m34, baseTransform.m41, baseTransform.m42, baseTransform.m43, baseTransform.m44);
|
|
70
72
|
}
|
|
71
73
|
|
|
@@ -11,6 +11,8 @@ import QuickGraphLib as QuickGraphLib
|
|
|
11
11
|
\brief Display a colorized image from a 2D array.
|
|
12
12
|
|
|
13
13
|
\note This graph item does not inherit from ShapePath, unlike other graph items.
|
|
14
|
+
|
|
15
|
+
\sa {Color mesh}, {Color mapped images}
|
|
14
16
|
*/
|
|
15
17
|
|
|
16
18
|
QuickGraphLib.ImageView {
|
|
@@ -13,19 +13,7 @@ import QuickGraphLib as QuickGraphLib
|
|
|
13
13
|
|
|
14
14
|
Graph a line using a list of X,Y points. The style of the line can be adjusted using the \l {ShapePath::strokeColor} {strokeColor} and \l {ShapePath::strokeWidth} {strokeWidth} properties.
|
|
15
15
|
|
|
16
|
-
\
|
|
17
|
-
GraphArea {
|
|
18
|
-
id: grapharea
|
|
19
|
-
viewRect: Qt.rect(-20, -1.1, 760, 2.2)
|
|
20
|
-
|
|
21
|
-
Line {
|
|
22
|
-
dataTransform: grapharea.dataTransform
|
|
23
|
-
path: Helpers.linspace(0, 720, 100).map(x => Qt.point(x, Math.sin(x / 180 * Math.PI)))
|
|
24
|
-
strokeColor: "red"
|
|
25
|
-
strokeWidth: 2
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
\endqml
|
|
16
|
+
\sa {Basic sin graph}
|
|
29
17
|
*/
|
|
30
18
|
|
|
31
19
|
QQS.ShapePath {
|
|
@@ -11,6 +11,8 @@ import QuickGraphLib.GraphItems as QGLGraphItems
|
|
|
11
11
|
\inqmlmodule QuickGraphLib.PreFabs
|
|
12
12
|
\inherits QuickGraphLib::AntialiasingContainer
|
|
13
13
|
\brief Displays an image with axes and a colorbar.
|
|
14
|
+
|
|
15
|
+
\sa {Color mesh}
|
|
14
16
|
*/
|
|
15
17
|
|
|
16
18
|
QuickGraphLib.AntialiasingContainer {
|
|
@@ -146,12 +148,12 @@ QuickGraphLib.AntialiasingContainer {
|
|
|
146
148
|
gradient: Gradient {
|
|
147
149
|
id: grad
|
|
148
150
|
|
|
149
|
-
property var colors: QuickGraphLib.ColorMaps.colors(colorMesh.colormap)
|
|
151
|
+
property var colors: QuickGraphLib.ColorMaps.colors(root.colorMesh.colormap)
|
|
150
152
|
|
|
151
153
|
stops: colors.map((color, i) => gradStop.createObject(grad, {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
154
|
+
"color": color,
|
|
155
|
+
"position": i / (colors.length - 1)
|
|
156
|
+
}))
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
QuickGraphLib.Axis {
|
|
@@ -11,6 +11,8 @@ import QuickGraphLib.GraphItems as QGLGraphItems
|
|
|
11
11
|
\inqmlmodule QuickGraphLib.PreFabs
|
|
12
12
|
\inherits QuickGraphLib::AntialiasingContainer
|
|
13
13
|
\brief Displays an XY axis with a grid.
|
|
14
|
+
|
|
15
|
+
\sa {Basic sin graph}, {Dark theme sin graph}, {Subgraphs}
|
|
14
16
|
*/
|
|
15
17
|
|
|
16
18
|
QuickGraphLib.AntialiasingContainer {
|
|
@@ -8,13 +8,15 @@ import QtQuick
|
|
|
8
8
|
\inqmlmodule QuickGraphLib
|
|
9
9
|
\inherits QtQuick::PinchArea
|
|
10
10
|
\brief Pinch/drag handling for graph or image zoom/pan interactions.
|
|
11
|
+
|
|
12
|
+
\sa {Zoomable as image}, {Zoomable axes}
|
|
11
13
|
*/
|
|
12
14
|
|
|
13
15
|
PinchArea {
|
|
14
16
|
id: root
|
|
15
17
|
|
|
16
18
|
/*!
|
|
17
|
-
The view transform, but in a pixel-
|
|
19
|
+
The view transform, but in a pixel-independent form.
|
|
18
20
|
|
|
19
21
|
\sa GraphArea::baseTransformFromRect
|
|
20
22
|
*/
|
|
@@ -6,18 +6,19 @@ import os
|
|
|
6
6
|
import pathlib
|
|
7
7
|
from typing import ContextManager
|
|
8
8
|
|
|
9
|
-
from PySide6 import QtCore, QtGui, QtQml
|
|
9
|
+
from PySide6 import QtCore, QtGui, QtQml, QtQuick, QtSvg
|
|
10
10
|
|
|
11
11
|
from ._version import __version__, __version_tuple__
|
|
12
12
|
|
|
13
13
|
QML_IMPORT_PATH = str(pathlib.Path(__file__).parent.parent)
|
|
14
14
|
|
|
15
15
|
_dll_path = pathlib.Path(__file__).parent
|
|
16
|
-
os.environ["PATH"] = os.fspath(_dll_path) + os.pathsep + os.environ["PATH"]
|
|
17
16
|
if hasattr(os, "add_dll_directory"):
|
|
18
17
|
cm: ContextManager = os.add_dll_directory(os.fspath(_dll_path))
|
|
19
18
|
else:
|
|
20
19
|
cm = contextlib.nullcontext()
|
|
20
|
+
if os.name == "nt":
|
|
21
|
+
os.environ["PATH"] = os.fspath(_dll_path) + os.pathsep + os.environ["PATH"]
|
|
21
22
|
with cm:
|
|
22
23
|
from QuickGraphLib._QuickGraphLib import ( # pylint: disable=import-error,no-name-in-module
|
|
23
24
|
QGLDoubleList,
|
|
@@ -5,45 +5,53 @@
|
|
|
5
5
|
set(CMAKE_PROGRAM_PATH "${CMAKE_PROGRAM_PATH};${CMAKE_SOURCE_DIR}/venv/Scripts")
|
|
6
6
|
find_package(Python COMPONENTS Interpreter Development.SABIModule REQUIRED)
|
|
7
7
|
|
|
8
|
-
# Macro to get various pyside / python include / link flags and paths.
|
|
9
|
-
# Uses the not entirely supported utils/pyside_config.py file.
|
|
10
|
-
macro(pyside_config option output_var)
|
|
11
|
-
if(${ARGC} GREATER 2)
|
|
12
|
-
set(is_list ${ARGV2})
|
|
13
|
-
else()
|
|
14
|
-
set(is_list "")
|
|
15
|
-
endif()
|
|
16
|
-
|
|
17
|
-
execute_process(
|
|
18
|
-
COMMAND
|
|
19
|
-
${Python_EXECUTABLE} "${CMAKE_CURRENT_SOURCE_DIR}/pyside_config.py"
|
|
20
|
-
${option}
|
|
21
|
-
OUTPUT_VARIABLE ${output_var}
|
|
22
|
-
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
23
|
-
)
|
|
24
|
-
|
|
25
|
-
if("${${output_var}}" STREQUAL "")
|
|
26
|
-
message(
|
|
27
|
-
FATAL_ERROR
|
|
28
|
-
"Error: Calling pyside_config.py ${option} returned no output."
|
|
29
|
-
)
|
|
30
|
-
endif()
|
|
31
|
-
if(is_list)
|
|
32
|
-
string(REPLACE " " ";" ${output_var} "${${output_var}}")
|
|
33
|
-
endif()
|
|
34
|
-
endmacro()
|
|
35
|
-
|
|
36
8
|
# Query for the shiboken generator path, Python path, include paths and linker flags.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
9
|
+
set(CMAKE_FIND_DEBUG_MODE TRUE)
|
|
10
|
+
find_program(shiboken_path NAMES shiboken6 REQUIRED)
|
|
11
|
+
find_path(
|
|
12
|
+
pyside_typesystems_path
|
|
13
|
+
NAMES PySide6/typesystems
|
|
14
|
+
PATH_SUFFIXES share
|
|
15
|
+
PATHS "${Python_SITELIB}"
|
|
16
|
+
REQUIRED
|
|
17
|
+
)
|
|
18
|
+
find_path(
|
|
19
|
+
shiboken_include_dir
|
|
20
|
+
NAMES sbkpython.h
|
|
21
|
+
PATH_SUFFIXES shiboken6 shiboken6_generator/include
|
|
22
|
+
PATHS "${Python_SITELIB}"
|
|
23
|
+
REQUIRED
|
|
24
|
+
)
|
|
25
|
+
find_path(
|
|
26
|
+
pyside_include_dir
|
|
27
|
+
NAMES pyside.h
|
|
28
|
+
PATH_SUFFIXES PySide6 PySide6/include
|
|
29
|
+
PATHS "${Python_SITELIB}"
|
|
30
|
+
REQUIRED
|
|
31
|
+
)
|
|
32
|
+
find_library(
|
|
33
|
+
shiboken_shared_libraries
|
|
34
|
+
NAMES shiboken6 shiboken6.abi3 libshiboken6.abi3.so.6.8
|
|
35
|
+
PATH_SUFFIXES shiboken6
|
|
36
|
+
PATHS "${Python_SITELIB}"
|
|
37
|
+
REQUIRED
|
|
38
|
+
)
|
|
39
|
+
find_library(
|
|
40
|
+
pyside_shared_library
|
|
41
|
+
NAMES pyside6 pyside6.abi3 libpyside6.abi3.so.6.8
|
|
42
|
+
PATH_SUFFIXES PySide6
|
|
43
|
+
PATHS "${Python_SITELIB}"
|
|
44
|
+
REQUIRED
|
|
46
45
|
)
|
|
46
|
+
find_library(
|
|
47
|
+
pyside_qml_shared_library
|
|
48
|
+
NAMES pyside6qml pyside6qml.abi3 libpyside6qml.abi3.so.6.8
|
|
49
|
+
PATH_SUFFIXES PySide6
|
|
50
|
+
PATHS "${Python_SITELIB}"
|
|
51
|
+
REQUIRED
|
|
52
|
+
)
|
|
53
|
+
set(CMAKE_FIND_DEBUG_MODE FALSE)
|
|
54
|
+
|
|
47
55
|
if(NOT EXISTS ${shiboken_path})
|
|
48
56
|
message(
|
|
49
57
|
FATAL_ERROR
|
|
@@ -55,29 +63,35 @@ if(EXISTS $ENV{LLVM_PATH})
|
|
|
55
63
|
# Update shiboken's libclang to fix parsing of recent MSVC C++ headers
|
|
56
64
|
configure_file(
|
|
57
65
|
"$ENV{LLVM_PATH}/bin/libclang.dll"
|
|
58
|
-
"${
|
|
66
|
+
"${Python_SITELIB}/shiboken6_generator/libclang.dll"
|
|
59
67
|
COPYONLY
|
|
60
68
|
)
|
|
61
69
|
endif()
|
|
62
70
|
|
|
63
71
|
# Set up the options to pass to shiboken.
|
|
64
72
|
set(INCLUDES "")
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
)
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
73
|
+
if(DEFINED QT_HOST_PATH)
|
|
74
|
+
list(APPEND INCLUDES "-I${QT_HOST_PATH}/include")
|
|
75
|
+
list(APPEND INCLUDES "-I${QT_HOST_PATH}/include/QtCore")
|
|
76
|
+
list(APPEND INCLUDES "-I${QT_HOST_PATH}/include/QtGui")
|
|
77
|
+
else()
|
|
78
|
+
get_property(
|
|
79
|
+
QT_CORE_INCLUDE_DIRS
|
|
80
|
+
TARGET Qt6::Core
|
|
81
|
+
PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
82
|
+
)
|
|
83
|
+
foreach(INCLUDE_DIR ${QT_CORE_INCLUDE_DIRS})
|
|
84
|
+
list(APPEND INCLUDES "-I${INCLUDE_DIR}")
|
|
85
|
+
endforeach()
|
|
86
|
+
get_property(
|
|
87
|
+
QT_GUI_INCLUDE_DIRS
|
|
88
|
+
TARGET Qt6::Gui
|
|
89
|
+
PROPERTY INTERFACE_INCLUDE_DIRECTORIES
|
|
90
|
+
)
|
|
91
|
+
foreach(INCLUDE_DIR ${QT_GUI_INCLUDE_DIRS})
|
|
92
|
+
list(APPEND INCLUDES "-I${INCLUDE_DIR}")
|
|
93
|
+
endforeach()
|
|
94
|
+
endif()
|
|
81
95
|
|
|
82
96
|
# We need to include the headers for the module bindings that we use.
|
|
83
97
|
set(pyside_additional_includes "")
|
|
@@ -96,7 +110,7 @@ set(shiboken_options
|
|
|
96
110
|
${INCLUDES}
|
|
97
111
|
-I${CMAKE_SOURCE_DIR}
|
|
98
112
|
-T${CMAKE_SOURCE_DIR}
|
|
99
|
-
-T${
|
|
113
|
+
-T${pyside_typesystems_path}/PySide6/typesystems
|
|
100
114
|
--output-directory=${CMAKE_CURRENT_BINARY_DIR}
|
|
101
115
|
--compiler-path=${CMAKE_CXX_COMPILER}
|
|
102
116
|
)
|
|
@@ -131,7 +145,7 @@ python_add_library(
|
|
|
131
145
|
ShibokenHelpers.cpp
|
|
132
146
|
WITH_SOABI
|
|
133
147
|
USE_SABI
|
|
134
|
-
3.
|
|
148
|
+
3.9
|
|
135
149
|
)
|
|
136
150
|
|
|
137
151
|
# Apply relevant include and link flags.
|
|
@@ -148,6 +162,8 @@ target_link_libraries(
|
|
|
148
162
|
_QuickGraphLib
|
|
149
163
|
PRIVATE
|
|
150
164
|
${pyside_shared_libraries}
|
|
165
|
+
${pyside_shared_library}
|
|
166
|
+
${pyside_qml_shared_library}
|
|
151
167
|
${shiboken_shared_libraries}
|
|
152
168
|
QuickGraphLib
|
|
153
169
|
Qt6::Core
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
|
|
2
2
|
# SPDX-License-Identifier: MIT
|
|
3
3
|
|
|
4
|
-
from typing import Sequence
|
|
4
|
+
from typing import Sequence, Tuple
|
|
5
5
|
|
|
6
6
|
from PySide6 import QtCore, QtQml
|
|
7
7
|
|
|
@@ -27,13 +27,16 @@ def contour_line(
|
|
|
27
27
|
z: Sequence[Sequence[float]],
|
|
28
28
|
height: float,
|
|
29
29
|
) -> Sequence[QGLPolygonF]:
|
|
30
|
+
if not CONTOURPY_AVAILABLE:
|
|
31
|
+
print("contourpy is not installed, contourLine will not work")
|
|
32
|
+
return []
|
|
33
|
+
|
|
30
34
|
gen = contourpy.contour_generator(
|
|
31
35
|
x=x, y=y, z=z, line_type=contourpy.LineType.Separate
|
|
32
36
|
)
|
|
33
37
|
result = []
|
|
34
38
|
for loop in gen.lines(height):
|
|
35
|
-
|
|
36
|
-
result.append(QGLPolygonF.fromNDArray(loop))
|
|
39
|
+
result.append(QGLPolygonF.fromNDArray(loop)) # type: ignore[arg-type]
|
|
37
40
|
return result
|
|
38
41
|
|
|
39
42
|
|
|
@@ -41,8 +44,12 @@ def contour_fill(
|
|
|
41
44
|
x: Sequence[Sequence[float]],
|
|
42
45
|
y: Sequence[Sequence[float]],
|
|
43
46
|
z: Sequence[Sequence[float]],
|
|
44
|
-
heights:
|
|
47
|
+
heights: Tuple[float, float],
|
|
45
48
|
) -> Sequence[QGLPolygonF]:
|
|
49
|
+
if not CONTOURPY_AVAILABLE:
|
|
50
|
+
print("contourpy is not installed, contourFill will not work")
|
|
51
|
+
return []
|
|
52
|
+
|
|
46
53
|
gen = contourpy.contour_generator(
|
|
47
54
|
x=x, y=y, z=z, fill_type=contourpy.FillType.OuterOffset
|
|
48
55
|
)
|