QuickGraphLib 0.1.0a12__tar.gz → 0.1.0a14__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.
Files changed (264) hide show
  1. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/CMakeLists.txt +6 -1
  2. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/PKG-INFO +6 -8
  3. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/Axis.qml +7 -4
  4. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphArea.qml +4 -3
  5. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/Histogram.qml +0 -5
  6. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/ShapeRepeater.qml +0 -13
  7. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/ZoomPanHandler.qml +3 -0
  8. quickgraphlib-0.1.0a14/QuickGraphLib/_version.py +34 -0
  9. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/bindings/Bindings.xml +7 -3
  10. quickgraphlib-0.1.0a14/QuickGraphLib/bindings/CMakeLists.txt +113 -0
  11. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/bindings/pyigen.py +3 -3
  12. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/helpers/Helpers.cpp +4 -4
  13. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/README.md +2 -4
  14. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/ci/setup_qt.py +16 -2
  15. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/docs/build_docs.py +1 -1
  16. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/pyproject.toml +7 -9
  17. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/requirements.txt +5 -6
  18. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/python_exporter.py +17 -4
  19. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/AllTheAxes.dat +0 -0
  20. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicHistogram.dat +0 -0
  21. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraph.dat +0 -0
  22. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraphNoPrefabs.dat +0 -0
  23. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BuiltinColormaps.dat +0 -0
  24. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMappedImages.dat +0 -0
  25. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMesh.dat +0 -0
  26. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Complex.dat +0 -0
  27. quickgraphlib-0.1.0a14/tests/reference_images/Complex.png +0 -0
  28. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Complex.svg +3 -3
  29. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Contours.dat +0 -0
  30. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Conway.dat +0 -0
  31. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Conway.png +0 -0
  32. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Conway.svg +6 -6
  33. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DarkSinGraph.dat +0 -0
  34. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DraggableRegion.dat +0 -0
  35. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ImageAlignment.dat +0 -0
  36. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/InvertedAxes.dat +0 -0
  37. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/PeakButtons.dat +0 -0
  38. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ReadoutLine.dat +0 -0
  39. quickgraphlib-0.1.0a14/tests/reference_images/ReadoutLine.png +0 -0
  40. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ReadoutLine.svg +1 -1
  41. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ScalingGraph.dat +0 -0
  42. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Scatter.dat +0 -0
  43. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/SpansAndLines.dat +0 -0
  44. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Subgraphs.dat +0 -0
  45. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/TwinX.dat +0 -0
  46. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ZoomableAsImage.dat +0 -0
  47. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ZoomableAxes.dat +0 -0
  48. quickgraphlib-0.1.0a14/tests/reference_images/ZoomableAxes.png +0 -0
  49. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ZoomableAxes.svg +8 -8
  50. quickgraphlib-0.1.0a12/QuickGraphLib/_version.py +0 -21
  51. quickgraphlib-0.1.0a12/QuickGraphLib/bindings/CMakeLists.txt +0 -225
  52. quickgraphlib-0.1.0a12/QuickGraphLib/bindings/qtqml.rst +0 -16
  53. quickgraphlib-0.1.0a12/tests/reference_images/Complex.png +0 -0
  54. quickgraphlib-0.1.0a12/tests/reference_images/ReadoutLine.png +0 -0
  55. quickgraphlib-0.1.0a12/tests/reference_images/ZoomableAxes.png +0 -0
  56. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/.clang-format +0 -0
  57. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/.gitignore +0 -0
  58. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/.pre-commit-config.yaml +0 -0
  59. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/LICENCE +0 -0
  60. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/AntialiasingContainer.qml +0 -0
  61. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/CMakeLists.txt +0 -0
  62. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/ColorMaps.cpp +0 -0
  63. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/ColorMaps.hpp +0 -0
  64. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/DataTypes.cpp +0 -0
  65. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/DataTypes.hpp +0 -0
  66. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/Global.hpp +0 -0
  67. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/AxHLine.qml +0 -0
  68. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/AxHSpan.qml +0 -0
  69. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/AxVLine.qml +0 -0
  70. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/AxVSpan.qml +0 -0
  71. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/BasicLegend.qml +0 -0
  72. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/BasicLegendItem.qml +0 -0
  73. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/CMakeLists.txt +0 -0
  74. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/ColorMesh.qml +0 -0
  75. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/Contour.qml +0 -0
  76. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/GraphItemDragHandler.qml +0 -0
  77. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/Grid.qml +0 -0
  78. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/Line.qml +0 -0
  79. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/Marker.qml +0 -0
  80. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/helpers/GridHelper.cpp +0 -0
  81. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/helpers/GridHelper.hpp +0 -0
  82. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/helpers/HistogramHelper.cpp +0 -0
  83. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/GraphItems/helpers/HistogramHelper.hpp +0 -0
  84. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/ImageView.cpp +0 -0
  85. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/ImageView.hpp +0 -0
  86. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/Plugin.cpp +0 -0
  87. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/PreFabs/CMakeLists.txt +0 -0
  88. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/PreFabs/ImageAxes.qml +0 -0
  89. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/PreFabs/XYAxes.qml +0 -0
  90. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/QuickGraphLib.hpp +0 -0
  91. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/ScalingContainer.qml +0 -0
  92. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/TickLabel.qml +0 -0
  93. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/__init__.py +0 -0
  94. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/bindings/Bindings.hpp +0 -0
  95. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/bindings/ShibokenHelpers.cpp +0 -0
  96. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/bindings/ShibokenHelpers.hpp +0 -0
  97. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/bindings/glue/DataTypes.cpp +0 -0
  98. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/consts.py +0 -0
  99. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/contours.py +0 -0
  100. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/AxesGridLayout.drawio +0 -0
  101. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/AxesGridLayout.svg +0 -0
  102. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/export.qdoc +0 -0
  103. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/graphitems.qdoc +0 -0
  104. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/graphstructure.qdoc +0 -0
  105. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/index.qdoc +0 -0
  106. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/interaction.qdoc +0 -0
  107. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/module-cpp.qdoc +0 -0
  108. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/module.qdoc +0 -0
  109. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/prefabs.qdoc +0 -0
  110. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/doc/python_helpers.qdoc +0 -0
  111. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/helpers/AxisHelper.cpp +0 -0
  112. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/helpers/AxisHelper.hpp +0 -0
  113. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/helpers/Foreign.hpp +0 -0
  114. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/helpers/Helpers.hpp +0 -0
  115. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/helpers/ShapeRepeaterHelper.cpp +0 -0
  116. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/helpers/ShapeRepeaterHelper.hpp +0 -0
  117. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/QuickGraphLib/py.typed +0 -0
  118. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/activate_venv.ps1 +0 -0
  119. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/ci/find_qt.py +0 -0
  120. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/docs/config.qdocconf +0 -0
  121. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/docs/style.css +0 -0
  122. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/AllTheAxes.png +0 -0
  123. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/AllTheAxes.qdoc +0 -0
  124. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/AllTheAxes.qml +0 -0
  125. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicHistogram.png +0 -0
  126. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicHistogram.qdoc +0 -0
  127. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicHistogram.qml +0 -0
  128. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicSinGraph.png +0 -0
  129. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicSinGraph.qdoc +0 -0
  130. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicSinGraph.qml +0 -0
  131. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicSinGraphNoPrefabs.png +0 -0
  132. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicSinGraphNoPrefabs.qdoc +0 -0
  133. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BasicSinGraphNoPrefabs.qml +0 -0
  134. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BuiltinColormaps.png +0 -0
  135. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BuiltinColormaps.qdoc +0 -0
  136. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/BuiltinColormaps.qml +0 -0
  137. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ColorMappedImages.png +0 -0
  138. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ColorMappedImages.qdoc +0 -0
  139. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ColorMappedImages.qml +0 -0
  140. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ColorMesh.png +0 -0
  141. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ColorMesh.qdoc +0 -0
  142. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ColorMesh.qml +0 -0
  143. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Complex.png +0 -0
  144. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Complex.qdoc +0 -0
  145. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Complex.qml +0 -0
  146. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Contours.png +0 -0
  147. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Contours.qdoc +0 -0
  148. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Contours.qml +0 -0
  149. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Conway.png +0 -0
  150. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Conway.qdoc +0 -0
  151. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Conway.qml +0 -0
  152. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/DarkSinGraph.png +0 -0
  153. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/DarkSinGraph.qdoc +0 -0
  154. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/DarkSinGraph.qml +0 -0
  155. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/DraggableRegion.png +0 -0
  156. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/DraggableRegion.qdoc +0 -0
  157. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/DraggableRegion.qml +0 -0
  158. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ExampleGallery.png +0 -0
  159. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ExampleGallery.qml +0 -0
  160. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ImageAlignment.png +0 -0
  161. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ImageAlignment.qdoc +0 -0
  162. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ImageAlignment.qml +0 -0
  163. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/InvertedAxes.png +0 -0
  164. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/InvertedAxes.qdoc +0 -0
  165. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/InvertedAxes.qml +0 -0
  166. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/PeakButtons.png +0 -0
  167. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/PeakButtons.qdoc +0 -0
  168. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/PeakButtons.qml +0 -0
  169. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ReadoutLine.png +0 -0
  170. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ReadoutLine.qdoc +0 -0
  171. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ReadoutLine.qml +0 -0
  172. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ScalingGraph.png +0 -0
  173. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ScalingGraph.qdoc +0 -0
  174. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ScalingGraph.qml +0 -0
  175. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Scatter.png +0 -0
  176. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Scatter.qdoc +0 -0
  177. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Scatter.qml +0 -0
  178. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/SpansAndLines.png +0 -0
  179. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/SpansAndLines.qdoc +0 -0
  180. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/SpansAndLines.qml +0 -0
  181. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Subgraphs.png +0 -0
  182. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Subgraphs.qdoc +0 -0
  183. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/Subgraphs.qml +0 -0
  184. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/TwinX.png +0 -0
  185. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/TwinX.qdoc +0 -0
  186. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/TwinX.qml +0 -0
  187. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ZoomableAsImage.png +0 -0
  188. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ZoomableAsImage.qdoc +0 -0
  189. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ZoomableAsImage.qml +0 -0
  190. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ZoomableAxes.png +0 -0
  191. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ZoomableAxes.qdoc +0 -0
  192. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/ZoomableAxes.qml +0 -0
  193. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/__init__.py +0 -0
  194. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/conway.py +0 -0
  195. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/examples/gallery.py +0 -0
  196. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/setup_venv.ps1 +0 -0
  197. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/__init__.py +0 -0
  198. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/fonts/DejaVuSans-Bold.ttf +0 -0
  199. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/fonts/DejaVuSans-BoldOblique.ttf +0 -0
  200. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/fonts/DejaVuSans-Oblique.ttf +0 -0
  201. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/fonts/DejaVuSans.ttf +0 -0
  202. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/fonts/LICENSE +0 -0
  203. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/AllTheAxes.png +0 -0
  204. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/AllTheAxes.svg +0 -0
  205. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/AllTheAxes_grab.png +0 -0
  206. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicHistogram.png +0 -0
  207. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicHistogram.svg +0 -0
  208. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicHistogram_grab.png +0 -0
  209. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraph.png +0 -0
  210. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraph.svg +0 -0
  211. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraphNoPrefabs.png +0 -0
  212. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraphNoPrefabs.svg +0 -0
  213. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraphNoPrefabs_grab.png +0 -0
  214. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BasicSinGraph_grab.png +0 -0
  215. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BuiltinColormaps.png +0 -0
  216. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BuiltinColormaps.svg +0 -0
  217. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/BuiltinColormaps_grab.png +0 -0
  218. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMappedImages.png +0 -0
  219. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMappedImages.svg +0 -0
  220. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMappedImages_grab.png +0 -0
  221. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMesh.png +0 -0
  222. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMesh.svg +0 -0
  223. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ColorMesh_grab.png +0 -0
  224. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Complex_grab.png +0 -0
  225. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Contours.png +0 -0
  226. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Contours.svg +0 -0
  227. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Contours_grab.png +0 -0
  228. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Conway_grab.png +0 -0
  229. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DarkSinGraph.png +0 -0
  230. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DarkSinGraph.svg +0 -0
  231. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DarkSinGraph_grab.png +0 -0
  232. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DraggableRegion.png +0 -0
  233. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DraggableRegion.svg +0 -0
  234. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/DraggableRegion_grab.png +0 -0
  235. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ImageAlignment.png +0 -0
  236. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ImageAlignment.svg +0 -0
  237. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ImageAlignment_grab.png +0 -0
  238. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/InvertedAxes.png +0 -0
  239. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/InvertedAxes.svg +0 -0
  240. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/InvertedAxes_grab.png +0 -0
  241. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/PeakButtons.png +0 -0
  242. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/PeakButtons.svg +0 -0
  243. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/PeakButtons_grab.png +0 -0
  244. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ReadoutLine_grab.png +0 -0
  245. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ScalingGraph.png +0 -0
  246. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ScalingGraph.svg +0 -0
  247. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ScalingGraph_grab.png +0 -0
  248. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Scatter.png +0 -0
  249. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Scatter.svg +0 -0
  250. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Scatter_grab.png +0 -0
  251. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/SpansAndLines.png +0 -0
  252. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/SpansAndLines.svg +0 -0
  253. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/SpansAndLines_grab.png +0 -0
  254. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Subgraphs.png +0 -0
  255. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Subgraphs.svg +0 -0
  256. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/Subgraphs_grab.png +0 -0
  257. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/TwinX.png +0 -0
  258. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/TwinX.svg +0 -0
  259. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/TwinX_grab.png +0 -0
  260. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ZoomableAsImage.png +0 -0
  261. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ZoomableAsImage.svg +0 -0
  262. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ZoomableAsImage_grab.png +0 -0
  263. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/reference_images/ZoomableAxes_grab.png +0 -0
  264. {quickgraphlib-0.1.0a12 → quickgraphlib-0.1.0a14}/tests/test_exports.py +0 -0
@@ -16,6 +16,11 @@ else()
16
16
  endif()
17
17
 
18
18
  option(ENABLE_STUB_GENERATION "Enable .pyi stub generation (defaults to on)" ON)
19
+ option(
20
+ ENABLE_MANYLINUX_BUILD
21
+ "Enable workarounds for manylinux build (defaults to off)"
22
+ OFF
23
+ )
19
24
 
20
25
  if(NOT INSTALL_SUBPATH)
21
26
  set(INSTALL_SUBPATH
@@ -26,6 +31,6 @@ if(NOT INSTALL_SUBPATH)
26
31
  endif()
27
32
 
28
33
  find_package(Qt6 REQUIRED COMPONENTS Quick Svg)
29
- qt_standard_project_setup(REQUIRES 6.8)
34
+ qt_standard_project_setup(REQUIRES 6.10)
30
35
 
31
36
  add_subdirectory(QuickGraphLib)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: QuickGraphLib
3
- Version: 0.1.0a12
3
+ Version: 0.1.0a14
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,9 +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==6.8.0.2
41
+ Requires-Dist: PySide6==6.10.0
42
42
  Requires-Dist: contourpy
43
- Requires-Dist: numpy<2
43
+ Requires-Dist: numpy
44
44
  Provides-Extra: analyse
45
45
  Requires-Dist: black; extra == "analyse"
46
46
  Requires-Dist: pylint; extra == "analyse"
@@ -50,7 +50,7 @@ Requires-Dist: lxml; extra == "analyse"
50
50
  Requires-Dist: pytest; extra == "analyse"
51
51
  Requires-Dist: pytest-cov; extra == "analyse"
52
52
  Requires-Dist: scikit-build-core; extra == "analyse"
53
- Requires-Dist: shiboken6_generator==6.8.0.2; extra == "analyse"
53
+ Requires-Dist: shiboken6_generator==6.10.0; extra == "analyse"
54
54
  Requires-Dist: setuptools_scm; extra == "analyse"
55
55
  Description-Content-Type: text/markdown
56
56
 
@@ -83,10 +83,8 @@ python examples/gallery.py
83
83
 
84
84
  ## Qt version compatibility
85
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.
86
+ This version of QuickGraphLib is compatible with Qt and PySide6 6.10.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.10 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.10.0 exactly. Other 6.10 versions of PySide6 may work, but there are no guarantees.
89
87
 
90
88
  ## Python version compatibility
91
89
 
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.
90
+ QuickGraphLib is compatible with the same Python versions and glibc versions that PySide6 is. For PySide6 6.10, the minimum Python version is 3.9.
@@ -16,10 +16,12 @@ import QuickGraphLib as QuickGraphLib
16
16
 
17
17
  \section2 Antialiasing
18
18
 
19
- To turn on high-quality antialiasing, set \l {preferredRendererType} to \c {Shape.CurveRenderer}.
20
- This generally results in much better looking graphs, but can also result in rendering problems as the curve renderer is new.
21
- It may also require more GPU performance, so switching this back to \c {Shape.GeometryRenderer}
22
- may help on low-power systems. See \l {Shape::rendererType} for more details.
19
+ By default, the axis sets \l {preferredRendererType} to \c {Shape.CurveRenderer}.
20
+ This turns on high-quality antialiasing, which results in better looking axes on HiDPI systems.
21
+ However, if you know your application will only be viewed on LoDPI systems, the axes will look
22
+ slightly better without antialiasing. In addition, antialiasing may require more GPU performance,
23
+ so switching this back to \c {Shape.GeometryRenderer} may help on low-power systems. See
24
+ \l {Shape::rendererType} for more details.
23
25
  */
24
26
 
25
27
  Item {
@@ -171,6 +173,7 @@ Item {
171
173
  id: shape
172
174
 
173
175
  anchors.fill: parent
176
+ preferredRendererType: QQS.Shape.CurveRenderer
174
177
 
175
178
  QQS.ShapePath {
176
179
  id: myPath
@@ -14,9 +14,9 @@ import QtQuick.Shapes as QQS
14
14
 
15
15
  \section2 Antialiasing
16
16
 
17
- To turn on high-quality antialiasing, set \l {Shape::preferredRendererType} to \c {Shape.CurveRenderer}.
18
- This generally results in much better looking graphs, but can also result in rendering problems as the curve renderer is new.
19
- It may also require more GPU performance, so switching this back to \c {Shape.GeometryRenderer}
17
+ By default, the graph area sets \l {Shape::preferredRendererType} to \c {Shape.CurveRenderer}.
18
+ This turns on high-quality antialiasing, which generally results in much better looking graphs.
19
+ However, it may require more GPU performance, so switching this back to \c {Shape.GeometryRenderer}
20
20
  may help on low-power systems. See \l {Shape::rendererType} for more details.
21
21
  */
22
22
 
@@ -88,5 +88,6 @@ QQS.Shape {
88
88
  clip: true
89
89
  // Set initial size to prevent Shape's automatically calculated implicitWidth resulting in binding loops
90
90
  height: 100
91
+ preferredRendererType: QQS.Shape.CurveRenderer
91
92
  width: 100
92
93
  }
@@ -11,11 +11,6 @@ import QuickGraphLib.GraphItems as QGLGraphItems
11
11
  \inherits QtQuick::Shapes::ShapePath
12
12
  \brief Displays a histogram.
13
13
 
14
- \warning Rendering of histograms in Qt 6.8 under the curve renderer may include artefacts
15
- (see \l {https://bugreports.qt.io/browse/QTBUG-133247}{QTBUG-133247}). If this happens,
16
- switch the renderer of the \l GraphArea back to the geometry renderer. This issue should be fixed
17
- in a future Qt version.
18
-
19
14
  \sa {Basic histogram}
20
15
  */
21
16
 
@@ -34,23 +34,10 @@ QQM.Instantiator {
34
34
  */
35
35
  required property QQS.Shape graphArea
36
36
 
37
- function forceResync() {
38
- // Workaround for https://bugreports.qt.io/browse/QTBUG-133230 and https://bugreports.qt.io/browse/QTBUG-133231
39
- if (graphArea.Window.window !== null) {
40
- let renderer = graphArea.preferredRendererType;
41
- let otherRenderer = graphArea.preferredRendererType === QQS.Shape.CurveRenderer ? QQS.Shape.GeometryRenderer : QQS.Shape.CurveRenderer;
42
- graphArea.preferredRendererType = otherRenderer;
43
- graphArea.ensurePolished();
44
- graphArea.preferredRendererType = renderer;
45
- }
46
- }
47
-
48
37
  onObjectAdded: (i, obj) => {
49
38
  QuickGraphLib.ShapeRepeaterHelper.insertObject(graphArea, root, obj, i);
50
- forceResync();
51
39
  }
52
40
  onObjectRemoved: (i, obj) => {
53
41
  QuickGraphLib.ShapeRepeaterHelper.removeObject(graphArea, obj);
54
- forceResync();
55
42
  }
56
43
  }
@@ -27,6 +27,9 @@ PinchArea {
27
27
  property bool limitMovement: true
28
28
  /*!
29
29
  Maximum zoom (separate X/Y zoom limits can be set with the width/height of \l size).
30
+
31
+ Zooming on a particular axis can be disabled by setting the maximum scale for that axis to 1
32
+ (provided the minimum scale for that axis is left at its default of 1).
30
33
  */
31
34
  property size maxScale: Qt.size(10, 10)
32
35
  /*!
@@ -0,0 +1,34 @@
1
+ # file generated by setuptools-scm
2
+ # don't change, don't track in version control
3
+
4
+ __all__ = [
5
+ "__version__",
6
+ "__version_tuple__",
7
+ "version",
8
+ "version_tuple",
9
+ "__commit_id__",
10
+ "commit_id",
11
+ ]
12
+
13
+ TYPE_CHECKING = False
14
+ if TYPE_CHECKING:
15
+ from typing import Tuple
16
+ from typing import Union
17
+
18
+ VERSION_TUPLE = Tuple[Union[int, str], ...]
19
+ COMMIT_ID = Union[str, None]
20
+ else:
21
+ VERSION_TUPLE = object
22
+ COMMIT_ID = object
23
+
24
+ version: str
25
+ __version__: str
26
+ __version_tuple__: VERSION_TUPLE
27
+ version_tuple: VERSION_TUPLE
28
+ commit_id: COMMIT_ID
29
+ __commit_id__: COMMIT_ID
30
+
31
+ __version__ = version = '0.1.0a14'
32
+ __version_tuple__ = version_tuple = (0, 1, 0, 'a14')
33
+
34
+ __commit_id__ = commit_id = 'g2b1823e24'
@@ -7,9 +7,10 @@
7
7
  <load-typesystem name="typesystem_gui.xml" generate="no"/>
8
8
  <load-typesystem name="typesystem_quick.xml" generate="no"/>
9
9
  <value-type name="QGLDoubleList">
10
+ <include file-name="../DataTypes.hpp" location="local"/>
10
11
  <inject-code class="native" position="beginning">
11
12
  #include &lt;sbknumpycheck.h&gt;
12
- #include &lt;QuickGraphLib/bindings/ShibokenHelpers.hpp&gt;
13
+ #include &lt;ShibokenHelpers.hpp&gt;
13
14
  </inject-code>
14
15
  <add-function signature="fromNDArray(PyArrayObject*@data@)" static="yes" return-type="QGLDoubleList">
15
16
  <inject-code file="glue/DataTypes.cpp" snippet="qgldoublelist-fromndarray"/>
@@ -19,13 +20,16 @@
19
20
  <modify-function signature="data()const" remove="all"/>
20
21
  </value-type>
21
22
  <value-type name="QGLPolygonF">
23
+ <include file-name="../DataTypes.hpp" location="local"/>
22
24
  <inject-code class="native" position="beginning">
23
25
  #include &lt;sbknumpycheck.h&gt;
24
- #include &lt;QuickGraphLib/bindings/ShibokenHelpers.hpp&gt;
26
+ #include &lt;ShibokenHelpers.hpp&gt;
25
27
  </inject-code>
26
28
  <add-function signature="fromNDArray(PyArrayObject*@data@)" static="yes" return-type="QGLPolygonF">
27
29
  <inject-code file="glue/DataTypes.cpp" snippet="qglpolygonf-fromndarray"/>
28
30
  </add-function>
29
31
  </value-type>
30
- <object-type name="Helpers"/>
32
+ <object-type name="Helpers">
33
+ <include file-name="../helpers/Helpers.hpp" location="local"/>
34
+ </object-type>
31
35
  </typesystem>
@@ -0,0 +1,113 @@
1
+ # SPDX-FileCopyrightText: Copyright (c) 2024 Refeyn Ltd and other QuickGraphLib contributors
2
+ # SPDX-License-Identifier: MIT
3
+
4
+ list(APPEND CMAKE_PROGRAM_PATH "${CMAKE_SOURCE_DIR}/venv/Scripts")
5
+ find_package(Python COMPONENTS Interpreter REQUIRED)
6
+ list(APPEND CMAKE_PREFIX_PATH "${Python_SITELIB}/shiboken6_generator/lib/cmake")
7
+
8
+ if(ENABLE_MANYLINUX_BUILD)
9
+ # HACK https://bugreports.qt.io/browse/PYSIDE-3233
10
+ file(
11
+ READ
12
+ "${Python_SITELIB}/shiboken6_generator/lib/cmake/Shiboken6Tools/Shiboken6ToolsConfig.cmake"
13
+ FILE_CONTENTS
14
+ )
15
+ string(
16
+ REPLACE
17
+ "find_dependency(Python COMPONENTS Interpreter Development)"
18
+ "find_dependency(Python COMPONENTS Interpreter Development.Module)"
19
+ FILE_CONTENTS
20
+ "${FILE_CONTENTS}"
21
+ )
22
+ file(
23
+ WRITE
24
+ "${Python_SITELIB}/shiboken6_generator/lib/cmake/Shiboken6Tools/Shiboken6ToolsConfig.cmake"
25
+ "${FILE_CONTENTS}"
26
+ )
27
+ file(
28
+ READ
29
+ "${Python_SITELIB}/shiboken6/lib/cmake/Shiboken6/ShibokenHelpers.cmake"
30
+ FILE_CONTENTS
31
+ )
32
+ string(
33
+ REPLACE
34
+ "COMPONENTS Interpreter Development\n"
35
+ "COMPONENTS Interpreter Development.Module\n"
36
+ FILE_CONTENTS
37
+ "${FILE_CONTENTS}"
38
+ )
39
+ file(
40
+ WRITE
41
+ "${Python_SITELIB}/shiboken6/lib/cmake/Shiboken6/ShibokenHelpers.cmake"
42
+ "${FILE_CONTENTS}"
43
+ )
44
+ endif()
45
+
46
+ if(CMAKE_CROSSCOMPILING)
47
+ find_package(Shiboken6 REQUIRED)
48
+ find_package(PySide6 REQUIRED)
49
+
50
+ get_target_property(
51
+ qt_platform_includes
52
+ Qt6::Platform
53
+ INTERFACE_INCLUDE_DIRECTORIES
54
+ )
55
+ get_target_property(
56
+ qt_core_includes
57
+ Qt6::Core
58
+ INTERFACE_INCLUDE_DIRECTORIES
59
+ )
60
+ set(force_process_list ${qt_platform_includes} ${qt_core_includes})
61
+ string(REPLACE ";" ":" force_process_paths "${force_process_list}")
62
+ set(shiboken_options
63
+ "--platform=${CMAKE_SYSTEM_NAME}"
64
+ "--arch=${CMAKE_SYSTEM_PROCESSOR}"
65
+ "--compiler-path=${CMAKE_CXX_COMPILER}"
66
+ "--compiler-argument=--sysroot=${CMAKE_SYSROOT}"
67
+ "--force-process-system-include-paths=${force_process_paths}"
68
+ )
69
+ endif()
70
+
71
+ find_package(Shiboken6Tools REQUIRED)
72
+
73
+ shiboken_generator_create_binding(
74
+ EXTENSION_TARGET _QuickGraphLib
75
+ GENERATED_SOURCES
76
+ ${CMAKE_CURRENT_BINARY_DIR}/QuickGraphLib/_QuickGraphLib/_quickgraphlib_module_wrapper.cpp
77
+ ${CMAKE_CURRENT_BINARY_DIR}/QuickGraphLib/_QuickGraphLib/qglpolygonf_wrapper.cpp
78
+ ${CMAKE_CURRENT_BINARY_DIR}/QuickGraphLib/_QuickGraphLib/qgldoublelist_wrapper.cpp
79
+ ${CMAKE_CURRENT_BINARY_DIR}/QuickGraphLib/_QuickGraphLib/helpers_wrapper.cpp
80
+ HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/Bindings.hpp
81
+ TYPESYSTEM_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Bindings.xml
82
+ LIBRARY_TARGET QuickGraphLib
83
+ FORCE_LIMITED_API
84
+ QT_MODULES Core Gui Qml Quick Network OpenGL
85
+ SHIBOKEN_EXTRA_OPTIONS ${shiboken_options}
86
+ )
87
+ target_sources(
88
+ _QuickGraphLib
89
+ PRIVATE Bindings.hpp ShibokenHelpers.hpp ShibokenHelpers.cpp
90
+ )
91
+
92
+ # Generate .pyi stub file
93
+ if(ENABLE_STUB_GENERATION)
94
+ set(pyi_path ${CMAKE_BINARY_DIR}/QuickGraphLib/_QuickGraphLib.pyi)
95
+ add_custom_command(
96
+ OUTPUT ${pyi_path}
97
+ COMMAND
98
+ "${Python_EXECUTABLE}" ${CMAKE_CURRENT_SOURCE_DIR}/pyigen.py
99
+ $<TARGET_FILE:_QuickGraphLib> --outpath
100
+ ${CMAKE_BINARY_DIR}/QuickGraphLib
101
+ DEPENDS
102
+ $<TARGET_FILE:_QuickGraphLib>
103
+ ${CMAKE_CURRENT_SOURCE_DIR}/pyigen.py
104
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
105
+ COMMENT "Running stub generation for for _QuickGraphLib."
106
+ )
107
+
108
+ add_custom_target(QuickGraphLibPythonStubs ALL DEPENDS ${pyi_path})
109
+ endif()
110
+
111
+ # Install files
112
+ install(TARGETS _QuickGraphLib DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib)
113
+ install(FILES ${pyi_path} DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib)
@@ -36,9 +36,9 @@ text = (
36
36
  path.read_text(encoding="utf-8")
37
37
  .replace(
38
38
  "import _QuickGraphLib",
39
- "import QuickGraphLib._QuickGraphLib\nimport numpy\nimport typing",
39
+ "import QuickGraphLib._QuickGraphLib\nimport numpy",
40
40
  )
41
- .replace("shibokensupport.signature.mapping.ArrayLikeVariable", "numpy.ndarray")
41
+ .replace("collections.abc.Sequence[typing.Any]", "numpy.ndarray")
42
42
  )
43
- text = re.sub(r"'(.*,.*)'", r"Union[\1]", text)
43
+ text = re.sub(r"'(.*,.*)'", r"typing.Union[\1]", text)
44
44
  path.write_text(text, encoding="utf-8")
@@ -335,10 +335,10 @@ void exportItemToPainter(QQuickItem* item, QPainter* painter) {
335
335
  if (imageView->smooth()) {
336
336
  painter->setRenderHint(QPainter::RenderHint::SmoothPixmapTransform, true);
337
337
  }
338
- painter->drawImage(
339
- imageView->paintedRect(),
340
- imageView->image().mirrored(imageView->mirrorHorizontally(), imageView->mirrorVertically())
341
- );
338
+ auto flippedFlags = Qt::Orientations();
339
+ flippedFlags.setFlag(Qt::Horizontal, imageView->mirrorHorizontally());
340
+ flippedFlags.setFlag(Qt::Vertical, imageView->mirrorVertically());
341
+ painter->drawImage(imageView->paintedRect(), imageView->image().flipped(flippedFlags));
342
342
  }
343
343
 
344
344
  for (auto c : children) {
@@ -27,10 +27,8 @@ python examples/gallery.py
27
27
 
28
28
  ## Qt version compatibility
29
29
 
30
- 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.
31
-
32
- 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.
30
+ This version of QuickGraphLib is compatible with Qt and PySide6 6.10.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.10 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.10.0 exactly. Other 6.10 versions of PySide6 may work, but there are no guarantees.
33
31
 
34
32
  ## Python version compatibility
35
33
 
36
- 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.
34
+ QuickGraphLib is compatible with the same Python versions and glibc versions that PySide6 is. For PySide6 6.10, the minimum Python version is 3.9.
@@ -19,14 +19,28 @@ elif sys.platform == "darwin":
19
19
  else:
20
20
  raise RuntimeError(f"Unknown platform {sys.platform}")
21
21
 
22
- subprocess.run(["pip", "install", "aqtinstall==3.1.*"], check=True)
22
+ if sys.platform == "linux":
23
+ prefix = "/opt/python/cp312-cp312/bin/"
24
+ else:
25
+ prefix = ""
26
+
27
+ subprocess.run(
28
+ [
29
+ f"{prefix}pip",
30
+ "install",
31
+ "aqtinstall==3.3.*",
32
+ ],
33
+ check=True,
34
+ )
23
35
  subprocess.run(
24
36
  [
37
+ f"{prefix}python",
38
+ "-m",
25
39
  "aqt",
26
40
  "install-qt",
27
41
  qt_platform,
28
42
  "desktop",
29
- "6.8.0",
43
+ "6.10.0",
30
44
  qt_arch,
31
45
  "-O",
32
46
  "./qt",
@@ -15,7 +15,7 @@ IGNORED_LINES = [
15
15
  "In file included from",
16
16
  ]
17
17
 
18
- QT_PATH = pathlib.Path(os.environ.get("QT_ROOT_DIR", "C:/Qt/6.8.0/msvc2022_64"))
18
+ QT_PATH = pathlib.Path(os.environ.get("QT_ROOT_DIR", "C:/Qt/6.10.0/msvc2022_64"))
19
19
  QT_VERSION = QT_PATH.parts[-2]
20
20
  QDOC_PATH = QT_PATH / "bin/qdoc.exe"
21
21
  INDEX_PATH = QT_PATH.parent.parent / ("Docs/Qt-" + QT_VERSION)
@@ -4,7 +4,7 @@ description = "A scientific graphing library for QtQuick"
4
4
  readme = "README.md"
5
5
  license = { file = "LICENCE" }
6
6
  authors = [{ name = "Matthew Joyce", email = "matthew.joyce@refeyn.com" }]
7
- dependencies = ["PySide6==6.8.0.2", "contourpy", "numpy<2"]
7
+ dependencies = ["PySide6==6.10.0", "contourpy", "numpy"]
8
8
  classifiers = [
9
9
  "Development Status :: 3 - Alpha",
10
10
  "Environment :: X11 Applications :: Qt",
@@ -38,12 +38,12 @@ analyse = [
38
38
  "pytest-cov",
39
39
  # Building
40
40
  "scikit-build-core",
41
- "shiboken6_generator==6.8.0.2",
41
+ "shiboken6_generator==6.10.0",
42
42
  "setuptools_scm",
43
43
  ]
44
44
 
45
45
  [build-system]
46
- requires = ["scikit-build-core", "shiboken6_generator==6.8.0.2", "PySide6==6.8.0.2"]
46
+ requires = ["scikit-build-core", "shiboken6_generator==6.10.0", "PySide6==6.10.0"]
47
47
  build-backend = "scikit_build_core.build"
48
48
 
49
49
  [tool.scikit-build]
@@ -73,20 +73,18 @@ test-extras = ["analyse"]
73
73
 
74
74
  [tool.cibuildwheel.environment]
75
75
  SKBUILD_CMAKE_DEFINE = "CMAKE_PREFIX_PATH=\"$(python ci/find_qt.py)/lib/cmake\""
76
- PIP_EXTRA_INDEX_URL = "https://download.qt.io/official_releases/QtForPython/"
77
76
 
78
77
  [tool.cibuildwheel.macos]
79
78
  archs = ["universal2"]
80
79
 
81
80
  [tool.cibuildwheel.linux]
82
81
  archs = ["x86_64"] # , "aarch64"]
83
- manylinux-x86_64-image = "manylinux_2_28"
84
- manylinux-aarch64-image = "manylinux_2_28"
85
- repair-wheel-command = "cp {wheel} {dest_dir}; wheel tags --remove --platform-tag $AUDITWHEEL_PLAT {dest_dir}/*.whl"
82
+ manylinux-x86_64-image = "quay.io/pypa/manylinux_2_34_x86_64"
83
+ manylinux-aarch64-image = "quay.io/pypa/manylinux_2_39_aarch64"
84
+ repair-wheel-command = "cp {wheel} {dest_dir}; pip install wheel; wheel tags --remove --platform-tag $AUDITWHEEL_PLAT {dest_dir}/*.whl"
86
85
 
87
86
  [tool.cibuildwheel.linux.environment]
88
- SKBUILD_CMAKE_DEFINE = "CMAKE_PREFIX_PATH=\"$(python ci/find_qt.py)/lib/cmake\""
89
- PIP_EXTRA_INDEX_URL = "https://download.qt.io/official_releases/QtForPython/"
87
+ SKBUILD_CMAKE_DEFINE = "CMAKE_PREFIX_PATH=\"$(python ci/find_qt.py)/lib/cmake\";ENABLE_MANYLINUX_BUILD=ON"
90
88
  LD_LIBRARY_PATH = "$LD_LIBRARY_PATH:$(python ci/find_qt.py)/lib"
91
89
  LLVM_INSTALL_DIR = "/usr"
92
90
 
@@ -1,4 +1,3 @@
1
- --extra-index-url=https://download.qt.io/official_releases/QtForPython/
2
1
  appdirs==1.4.4
3
2
  astroid==3.2.4
4
3
  black==24.4.2
@@ -31,16 +30,16 @@ pluggy==1.5.0
31
30
  pre-commit==3.7.1
32
31
  pylint==3.2.6
33
32
  pyproject_hooks==1.1.0
34
- PySide6==6.8.0.2
35
- PySide6-Addons==6.8.0.2
36
- PySide6-Essentials==6.8.0.2
33
+ PySide6==6.10.0
34
+ PySide6-Addons==6.10.0
35
+ PySide6-Essentials==6.10.0
37
36
  pytest==8.3.1
38
37
  pytest-cov==5.0.0
39
38
  PyYAML==6.0.1
40
39
  scikit_build_core==0.9.8
41
40
  setuptools-scm==8.1.0
42
- shiboken6==6.8.0.2
43
- shiboken6-generator==6.8.0.2
41
+ shiboken6==6.10.0
42
+ shiboken6-generator==6.10.0
44
43
  tomli==2.0.1
45
44
  tomlkit==0.13.0
46
45
  typing_extensions==4.12.2
@@ -5,7 +5,7 @@ import contextlib
5
5
  import pathlib
6
6
  from typing import Any, Iterator
7
7
 
8
- from PySide6 import QtCore, QtQml, QtQuick
8
+ from PySide6 import QtCore, QtGui, QtQml, QtQuick
9
9
 
10
10
  import QuickGraphLib
11
11
 
@@ -63,16 +63,29 @@ def export(
63
63
 
64
64
  # Bit of funkyness to make sure the items get polished (e.g. laid out properly)
65
65
  # which won't happen automatically if we use async incubation
66
+ rhi = QtGui.QRhi.create(QtGui.QRhi.Implementation.Null, QtGui.QRhiNullInitParams())
67
+ texture = rhi.newTexture(
68
+ QtGui.QRhiTexture.Format.RGBA8,
69
+ QtCore.QSize(int(width), int(height)),
70
+ 1,
71
+ QtGui.QRhiTexture.Flag.RenderTarget,
72
+ )
73
+ texture.create()
74
+ rendertarget = rhi.newTextureRenderTarget(
75
+ QtGui.QRhiTextureRenderTargetDescription(texture)
76
+ )
77
+ rendertarget.setRenderPassDescriptor(
78
+ rendertarget.newCompatibleRenderPassDescriptor()
79
+ )
66
80
  rendercontrol = QtQuick.QQuickRenderControl()
67
81
  window = QtQuick.QQuickWindow(rendercontrol)
68
- window.setRenderTarget(QtQuick.QQuickRenderTarget())
82
+ window.setRenderTarget(QtQuick.QQuickRenderTarget.fromRhiRenderTarget(rendertarget))
69
83
  window.resize(int(width), int(height))
70
- window.create()
71
84
  item.setParentItem(window.contentItem())
72
85
  rendercontrol.polishItems()
73
86
 
74
87
  yield item
75
88
 
76
89
  # Cleanup
77
- window.destroy()
78
90
  item.setParentItem(None) # type: ignore[arg-type]
91
+ rendertarget.destroy()
@@ -148,7 +148,7 @@ font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="norma
148
148
  >
149
149
  <text fill="#a52a2a" fill-opacity="1" stroke="none" xml:space="preserve" x="8.5" y="14" font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="normal"
150
150
  >I'm an</text>
151
- <text fill="#a52a2a" fill-opacity="1" stroke="none" xml:space="preserve" x="0" y="32" font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="normal"
151
+ <text fill="#a52a2a" fill-opacity="1" stroke="none" xml:space="preserve" x="0" y="31" font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="normal"
152
152
  >axvspan</text>
153
153
  </g>
154
154
 
@@ -1076,7 +1076,7 @@ font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="norma
1076
1076
  >
1077
1077
  </g>
1078
1078
 
1079
- <g fill="#e4e4e4" fill-opacity="1" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,83,573)"
1079
+ <g fill="#e4e4e4" fill-opacity="1" stroke="none" transform="matrix(1,0,0,1,83,573)"
1080
1080
  font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="normal"
1081
1081
  >
1082
1082
  <path vector-effect="none" fill-rule="evenodd" d="M0,3 C0,1.34315 1.34315,0 3,0 L185,0 C186.657,0 188,1.34315 188,3 C188,4.65685 186.657,6 185,6 L3,6 C1.34315,6 0,4.65685 0,3 "/>
@@ -1171,7 +1171,7 @@ font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="norma
1171
1171
  >
1172
1172
  </g>
1173
1173
 
1174
- <g fill="#e4e4e4" fill-opacity="1" stroke="#000000" stroke-opacity="1" stroke-width="1" stroke-linecap="square" stroke-linejoin="bevel" transform="matrix(1,0,0,1,382,573)"
1174
+ <g fill="#e4e4e4" fill-opacity="1" stroke="none" transform="matrix(1,0,0,1,382,573)"
1175
1175
  font-family="DejaVuSans" font-size="14.6667" font-weight="400" font-style="normal"
1176
1176
  >
1177
1177
  <path vector-effect="none" fill-rule="evenodd" d="M0,3 C0,1.34315 1.34315,0 3,0 L185,0 C186.657,0 188,1.34315 188,3 C188,4.65685 186.657,6 185,6 L3,6 C1.34315,6 0,4.65685 0,3 "/>