QuickGraphLib 0.1.0a13__tar.gz → 0.1.0a15__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 (271) hide show
  1. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/.pre-commit-config.yaml +3 -8
  2. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/CMakeLists.txt +6 -1
  3. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/PKG-INFO +8 -7
  4. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/AntialiasingContainer.qml +4 -2
  5. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/Axis.qml +27 -4
  6. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphArea.qml +9 -4
  7. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/BasicLegend.qml +2 -0
  8. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/BasicLegendItem.qml +8 -0
  9. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/CMakeLists.txt +2 -4
  10. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/ColorMesh.qml +1 -1
  11. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/Histogram.qml +2 -5
  12. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/Line.qml +2 -1
  13. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/helpers/HistogramHelper.cpp +1 -1
  14. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/ImageView.cpp +46 -30
  15. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/PreFabs/CMakeLists.txt +2 -4
  16. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/PreFabs/ImageAxes.qml +6 -0
  17. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/PreFabs/XYAxes.qml +14 -0
  18. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/ShapeRepeater.qml +0 -13
  19. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/ZoomPanHandler.qml +11 -0
  20. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/__init__.py +3 -1
  21. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/_version.py +3 -3
  22. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/bindings/Bindings.xml +7 -3
  23. quickgraphlib-0.1.0a15/QuickGraphLib/bindings/CMakeLists.txt +113 -0
  24. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/bindings/pyigen.py +3 -3
  25. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/index.qdoc +2 -0
  26. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/helpers/Helpers.cpp +54 -11
  27. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/helpers/Helpers.hpp +1 -0
  28. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/README.md +2 -2
  29. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/ci/setup_qt.py +1 -1
  30. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/docs/build_docs.py +1 -1
  31. quickgraphlib-0.1.0a15/examples/LogGraph.png +0 -0
  32. quickgraphlib-0.1.0a15/examples/LogGraph.qdoc +15 -0
  33. quickgraphlib-0.1.0a15/examples/LogGraph.qml +44 -0
  34. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/pyproject.toml +13 -13
  35. quickgraphlib-0.1.0a15/requirements.txt +36 -0
  36. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/AllTheAxes.dat +0 -0
  37. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/AllTheAxes.svg +71 -23
  38. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicHistogram.dat +0 -0
  39. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicHistogram.svg +50 -24
  40. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicSinGraph.dat +0 -0
  41. quickgraphlib-0.1.0a13/tests/reference_images/ZoomableAsImage.svg → quickgraphlib-0.1.0a15/tests/reference_images/BasicSinGraph.svg +71 -48
  42. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicSinGraphNoPrefabs.dat +0 -0
  43. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicSinGraphNoPrefabs.svg +71 -23
  44. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BuiltinColormaps.dat +0 -0
  45. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BuiltinColormaps.svg +6 -2
  46. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMappedImages.dat +0 -0
  47. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMappedImages.svg +1 -1
  48. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMesh.dat +0 -0
  49. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMesh.svg +10 -4
  50. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Complex.dat +0 -0
  51. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Complex.png +0 -0
  52. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Complex.svg +205 -68
  53. quickgraphlib-0.1.0a15/tests/reference_images/Contours.dat +0 -0
  54. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Contours.svg +170 -50
  55. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Conway.dat +0 -0
  56. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Conway.png +0 -0
  57. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Conway.svg +22 -13
  58. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DarkSinGraph.dat +0 -0
  59. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DarkSinGraph.svg +71 -23
  60. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DraggableRegion.dat +0 -0
  61. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DraggableRegion.svg +32 -15
  62. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ImageAlignment.dat +0 -0
  63. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ImageAlignment.svg +68 -15
  64. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/InvertedAxes.dat +0 -0
  65. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/InvertedAxes.svg +14 -6
  66. quickgraphlib-0.1.0a15/tests/reference_images/LogGraph.dat +0 -0
  67. quickgraphlib-0.1.0a15/tests/reference_images/LogGraph.png +0 -0
  68. quickgraphlib-0.1.0a15/tests/reference_images/LogGraph.svg +505 -0
  69. quickgraphlib-0.1.0a15/tests/reference_images/LogGraph_grab.png +0 -0
  70. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/PeakButtons.dat +0 -0
  71. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/PeakButtons.svg +108 -53
  72. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ReadoutLine.dat +0 -0
  73. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ReadoutLine.svg +36 -17
  74. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ScalingGraph.dat +0 -0
  75. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ScalingGraph.svg +14 -6
  76. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Scatter.dat +0 -0
  77. quickgraphlib-0.1.0a15/tests/reference_images/Scatter.svg +250687 -0
  78. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/SpansAndLines.dat +0 -0
  79. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/SpansAndLines.svg +34 -16
  80. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Subgraphs.dat +0 -0
  81. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Subgraphs.svg +53 -21
  82. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/TwinX.dat +0 -0
  83. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/TwinX.svg +23 -9
  84. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ZoomableAsImage.dat +0 -0
  85. quickgraphlib-0.1.0a13/tests/reference_images/BasicSinGraph.svg → quickgraphlib-0.1.0a15/tests/reference_images/ZoomableAsImage.svg +96 -23
  86. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ZoomableAxes.dat +0 -0
  87. quickgraphlib-0.1.0a15/tests/reference_images/ZoomableAxes.png +0 -0
  88. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ZoomableAxes.svg +85 -34
  89. quickgraphlib-0.1.0a13/QuickGraphLib/bindings/CMakeLists.txt +0 -216
  90. quickgraphlib-0.1.0a13/QuickGraphLib/bindings/qtqml.rst +0 -16
  91. quickgraphlib-0.1.0a13/requirements.txt +0 -47
  92. quickgraphlib-0.1.0a13/tests/reference_images/Contours.dat +0 -0
  93. quickgraphlib-0.1.0a13/tests/reference_images/Scatter.svg +0 -210680
  94. quickgraphlib-0.1.0a13/tests/reference_images/ZoomableAxes.png +0 -0
  95. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/.clang-format +0 -0
  96. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/.gitignore +0 -0
  97. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/LICENCE +0 -0
  98. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/CMakeLists.txt +0 -0
  99. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/ColorMaps.cpp +0 -0
  100. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/ColorMaps.hpp +0 -0
  101. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/DataTypes.cpp +0 -0
  102. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/DataTypes.hpp +0 -0
  103. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/Global.hpp +0 -0
  104. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/AxHLine.qml +0 -0
  105. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/AxHSpan.qml +0 -0
  106. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/AxVLine.qml +0 -0
  107. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/AxVSpan.qml +0 -0
  108. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/Contour.qml +0 -0
  109. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/GraphItemDragHandler.qml +0 -0
  110. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/Grid.qml +0 -0
  111. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/Marker.qml +0 -0
  112. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/helpers/GridHelper.cpp +0 -0
  113. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/helpers/GridHelper.hpp +0 -0
  114. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/GraphItems/helpers/HistogramHelper.hpp +0 -0
  115. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/ImageView.hpp +0 -0
  116. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/Plugin.cpp +0 -0
  117. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/QuickGraphLib.hpp +0 -0
  118. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/ScalingContainer.qml +0 -0
  119. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/TickLabel.qml +0 -0
  120. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/bindings/Bindings.hpp +0 -0
  121. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/bindings/ShibokenHelpers.cpp +0 -0
  122. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/bindings/ShibokenHelpers.hpp +0 -0
  123. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/bindings/glue/DataTypes.cpp +0 -0
  124. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/consts.py +0 -0
  125. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/contours.py +0 -0
  126. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/AxesGridLayout.drawio +0 -0
  127. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/AxesGridLayout.svg +0 -0
  128. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/export.qdoc +0 -0
  129. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/graphitems.qdoc +0 -0
  130. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/graphstructure.qdoc +0 -0
  131. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/interaction.qdoc +0 -0
  132. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/module-cpp.qdoc +0 -0
  133. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/module.qdoc +0 -0
  134. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/prefabs.qdoc +0 -0
  135. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/doc/python_helpers.qdoc +0 -0
  136. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/helpers/AxisHelper.cpp +0 -0
  137. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/helpers/AxisHelper.hpp +0 -0
  138. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/helpers/Foreign.hpp +0 -0
  139. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/helpers/ShapeRepeaterHelper.cpp +0 -0
  140. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/helpers/ShapeRepeaterHelper.hpp +0 -0
  141. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/QuickGraphLib/py.typed +0 -0
  142. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/activate_venv.ps1 +0 -0
  143. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/ci/find_qt.py +0 -0
  144. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/docs/config.qdocconf +0 -0
  145. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/docs/style.css +0 -0
  146. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/AllTheAxes.png +0 -0
  147. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/AllTheAxes.qdoc +0 -0
  148. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/AllTheAxes.qml +0 -0
  149. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicHistogram.png +0 -0
  150. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicHistogram.qdoc +0 -0
  151. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicHistogram.qml +0 -0
  152. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicSinGraph.png +0 -0
  153. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicSinGraph.qdoc +0 -0
  154. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicSinGraph.qml +0 -0
  155. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicSinGraphNoPrefabs.png +0 -0
  156. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicSinGraphNoPrefabs.qdoc +0 -0
  157. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BasicSinGraphNoPrefabs.qml +0 -0
  158. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BuiltinColormaps.png +0 -0
  159. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BuiltinColormaps.qdoc +0 -0
  160. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/BuiltinColormaps.qml +0 -0
  161. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ColorMappedImages.png +0 -0
  162. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ColorMappedImages.qdoc +0 -0
  163. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ColorMappedImages.qml +0 -0
  164. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ColorMesh.png +0 -0
  165. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ColorMesh.qdoc +0 -0
  166. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ColorMesh.qml +0 -0
  167. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Complex.png +0 -0
  168. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Complex.qdoc +0 -0
  169. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Complex.qml +0 -0
  170. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Contours.png +0 -0
  171. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Contours.qdoc +0 -0
  172. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Contours.qml +0 -0
  173. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Conway.png +0 -0
  174. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Conway.qdoc +0 -0
  175. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Conway.qml +0 -0
  176. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/DarkSinGraph.png +0 -0
  177. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/DarkSinGraph.qdoc +0 -0
  178. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/DarkSinGraph.qml +0 -0
  179. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/DraggableRegion.png +0 -0
  180. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/DraggableRegion.qdoc +0 -0
  181. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/DraggableRegion.qml +0 -0
  182. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ExampleGallery.png +0 -0
  183. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ExampleGallery.qml +0 -0
  184. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ImageAlignment.png +0 -0
  185. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ImageAlignment.qdoc +0 -0
  186. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ImageAlignment.qml +0 -0
  187. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/InvertedAxes.png +0 -0
  188. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/InvertedAxes.qdoc +0 -0
  189. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/InvertedAxes.qml +0 -0
  190. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/PeakButtons.png +0 -0
  191. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/PeakButtons.qdoc +0 -0
  192. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/PeakButtons.qml +0 -0
  193. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ReadoutLine.png +0 -0
  194. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ReadoutLine.qdoc +0 -0
  195. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ReadoutLine.qml +0 -0
  196. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ScalingGraph.png +0 -0
  197. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ScalingGraph.qdoc +0 -0
  198. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ScalingGraph.qml +0 -0
  199. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Scatter.png +0 -0
  200. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Scatter.qdoc +0 -0
  201. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Scatter.qml +0 -0
  202. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/SpansAndLines.png +0 -0
  203. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/SpansAndLines.qdoc +0 -0
  204. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/SpansAndLines.qml +0 -0
  205. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Subgraphs.png +0 -0
  206. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Subgraphs.qdoc +0 -0
  207. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/Subgraphs.qml +0 -0
  208. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/TwinX.png +0 -0
  209. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/TwinX.qdoc +0 -0
  210. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/TwinX.qml +0 -0
  211. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ZoomableAsImage.png +0 -0
  212. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ZoomableAsImage.qdoc +0 -0
  213. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ZoomableAsImage.qml +0 -0
  214. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ZoomableAxes.png +0 -0
  215. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ZoomableAxes.qdoc +0 -0
  216. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/ZoomableAxes.qml +0 -0
  217. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/__init__.py +0 -0
  218. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/conway.py +0 -0
  219. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/examples/gallery.py +0 -0
  220. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/setup_venv.ps1 +0 -0
  221. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/__init__.py +0 -0
  222. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/fonts/DejaVuSans-Bold.ttf +0 -0
  223. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/fonts/DejaVuSans-BoldOblique.ttf +0 -0
  224. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/fonts/DejaVuSans-Oblique.ttf +0 -0
  225. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/fonts/DejaVuSans.ttf +0 -0
  226. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/fonts/LICENSE +0 -0
  227. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/python_exporter.py +0 -0
  228. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/AllTheAxes.png +0 -0
  229. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/AllTheAxes_grab.png +0 -0
  230. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicHistogram.png +0 -0
  231. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicHistogram_grab.png +0 -0
  232. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicSinGraph.png +0 -0
  233. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicSinGraphNoPrefabs.png +0 -0
  234. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicSinGraphNoPrefabs_grab.png +0 -0
  235. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BasicSinGraph_grab.png +0 -0
  236. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BuiltinColormaps.png +0 -0
  237. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/BuiltinColormaps_grab.png +0 -0
  238. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMappedImages.png +0 -0
  239. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMappedImages_grab.png +0 -0
  240. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMesh.png +0 -0
  241. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ColorMesh_grab.png +0 -0
  242. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Complex_grab.png +0 -0
  243. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Contours.png +0 -0
  244. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Contours_grab.png +0 -0
  245. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Conway_grab.png +0 -0
  246. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DarkSinGraph.png +0 -0
  247. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DarkSinGraph_grab.png +0 -0
  248. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DraggableRegion.png +0 -0
  249. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/DraggableRegion_grab.png +0 -0
  250. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ImageAlignment.png +0 -0
  251. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ImageAlignment_grab.png +0 -0
  252. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/InvertedAxes.png +0 -0
  253. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/InvertedAxes_grab.png +0 -0
  254. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/PeakButtons.png +0 -0
  255. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/PeakButtons_grab.png +0 -0
  256. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ReadoutLine.png +0 -0
  257. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ReadoutLine_grab.png +0 -0
  258. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ScalingGraph.png +0 -0
  259. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ScalingGraph_grab.png +0 -0
  260. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Scatter.png +0 -0
  261. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Scatter_grab.png +0 -0
  262. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/SpansAndLines.png +0 -0
  263. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/SpansAndLines_grab.png +0 -0
  264. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Subgraphs.png +0 -0
  265. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/Subgraphs_grab.png +0 -0
  266. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/TwinX.png +0 -0
  267. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/TwinX_grab.png +0 -0
  268. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ZoomableAsImage.png +0 -0
  269. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ZoomableAsImage_grab.png +0 -0
  270. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/reference_images/ZoomableAxes_grab.png +0 -0
  271. {quickgraphlib-0.1.0a13 → quickgraphlib-0.1.0a15}/tests/test_exports.py +0 -0
@@ -13,9 +13,9 @@ repos:
13
13
  entry: qDebug
14
14
  language: pygrep
15
15
  files: "(\\.(cpp|hpp))$"
16
- - id: black
17
- name: black
18
- entry: venv/Scripts/black.exe
16
+ - id: ruff
17
+ name: ruff
18
+ entry: venv/Scripts/ruff.exe format
19
19
  language: system
20
20
  types: [python]
21
21
  - id: gersemi
@@ -33,11 +33,6 @@ repos:
33
33
  # entry: venv/Scripts/pyside6-qmllint.exe
34
34
  # files: "\\.qml$"
35
35
  # language: system
36
- - id: isort
37
- name: isort
38
- entry: venv/Scripts/isort.exe --settings-file pyproject.toml
39
- language: system
40
- types: [python]
41
36
  # - id: pylint
42
37
  # name: pylint
43
38
  # entry: venv/Scripts/pylint.exe
@@ -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.9)
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.0a13
3
+ Version: 0.1.0a15
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,19 +38,20 @@ 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.9.2
41
+ Requires-Python: >=3.9
42
+ Requires-Dist: PySide6==6.10.0
42
43
  Requires-Dist: contourpy
43
44
  Requires-Dist: numpy
44
45
  Provides-Extra: analyse
45
- Requires-Dist: black; extra == "analyse"
46
- Requires-Dist: pylint; extra == "analyse"
46
+ Requires-Dist: ruff; extra == "analyse"
47
47
  Requires-Dist: mypy; extra == "analyse"
48
48
  Requires-Dist: pre-commit; extra == "analyse"
49
49
  Requires-Dist: lxml; extra == "analyse"
50
+ Requires-Dist: gersemi; extra == "analyse"
50
51
  Requires-Dist: pytest; extra == "analyse"
51
52
  Requires-Dist: pytest-cov; extra == "analyse"
52
53
  Requires-Dist: scikit-build-core; extra == "analyse"
53
- Requires-Dist: shiboken6_generator==6.9.2; extra == "analyse"
54
+ Requires-Dist: shiboken6_generator==6.10.0; extra == "analyse"
54
55
  Requires-Dist: setuptools_scm; extra == "analyse"
55
56
  Description-Content-Type: text/markdown
56
57
 
@@ -83,8 +84,8 @@ python examples/gallery.py
83
84
 
84
85
  ## Qt version compatibility
85
86
 
86
- This version of QuickGraphLib is compatible with Qt and PySide6 6.9.2. If you use this module from C++, then Qt's ABI stability guarantees means the compiled binaries will work for any Qt version >= 6.9 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.9.2 exactly. Other 6.9 versions of PySide6 may work, but there are no guarantees.
87
+ 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.
87
88
 
88
89
  ## Python version compatibility
89
90
 
90
- QuickGraphLib is compatible with the same Python versions and glibc versions that PySide6 is. For PySide6 6.9, the minimum Python version is 3.9.
91
+ 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.
@@ -24,12 +24,14 @@ Item {
24
24
 
25
25
  /*!
26
26
  Whether MSAA antialiasing is enabled. This can help with rendering when the target display has a
27
- fractional scaling factor. It can also make rendering worse, especially with text. Defaults to \c false.
27
+ fractional scaling factor. It can also make rendering worse, especially with text.
28
+
29
+ \default false
28
30
  */
29
31
  property alias antialiasingEnabled: root.layer.enabled
30
32
 
31
33
  implicitHeight: 100
32
34
  implicitWidth: 100
33
- layer.enabled: false //
35
+ layer.enabled: false
34
36
  layer.samples: 2
35
37
  }
@@ -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 {
@@ -42,6 +44,8 @@ Item {
42
44
  Number of decimal points the ticks should show.
43
45
 
44
46
  \sa TickLabel::decimalPoints
47
+
48
+ \default 2
45
49
  */
46
50
  property int decimalPoints: 2
47
51
  /*!
@@ -51,6 +55,8 @@ Item {
51
55
  \value Axis.Direction.Right Axis to the right of the GraphArea
52
56
  \value Axis.Direction.Top Axis above of the GraphArea
53
57
  \value Axis.Direction.Bottom Axis below of the GraphArea
58
+
59
+ \default Axis.Direction.Left
54
60
  */
55
61
  property alias direction: helper.direction
56
62
  /*!
@@ -73,22 +79,32 @@ Item {
73
79
  The preferred renderer type for rendering the spine and ticks.
74
80
 
75
81
  \sa Shape::preferredRendererType
82
+
83
+ \default Shape.CurveRenderer
76
84
  */
77
85
  property alias preferredRendererType: shape.preferredRendererType
78
86
  /*!
79
87
  Whether to show a label for each tick.
88
+
89
+ \default true
80
90
  */
81
91
  property bool showTickLabels: true
82
92
  /*!
83
93
  Spacing between the axis label and the tick labels.
94
+
95
+ \default 4
84
96
  */
85
97
  property double spacing: 4
86
98
  /*!
87
99
  Color of the axis spine and ticks.
100
+
101
+ \default "black"
88
102
  */
89
103
  property alias strokeColor: myPath.strokeColor
90
104
  /*!
91
105
  Width of the axis spine and ticks.
106
+
107
+ \default 1
92
108
  */
93
109
  property alias strokeWidth: myPath.strokeWidth
94
110
  /*!
@@ -105,14 +121,20 @@ Item {
105
121
  }
106
122
  /*!
107
123
  The color of the tick labels.
124
+
125
+ \default labelColor
108
126
  */
109
127
  property color tickLabelColor: labelColor
110
128
  /*!
111
129
  The font of the tick labels.
130
+
131
+ \default labelFont
112
132
  */
113
133
  property font tickLabelFont: labelFont
114
134
  /*!
115
135
  The length of each tick.
136
+
137
+ \default 10
116
138
  */
117
139
  property alias tickLength: helper.tickLength
118
140
  /*!
@@ -171,6 +193,7 @@ Item {
171
193
  id: shape
172
194
 
173
195
  anchors.fill: parent
196
+ preferredRendererType: QQS.Shape.CurveRenderer
174
197
 
175
198
  QQS.ShapePath {
176
199
  id: myPath
@@ -14,10 +14,14 @@ 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}
20
- may help on low-power systems. See \l {Shape::rendererType} for more details.
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
+
20
+ \warning Using the curve renderer may require more GPU performance, so switching this back to \c {Shape.GeometryRenderer}
21
+ may help on low-power systems. The curve renderer is also newer, and fails to render correctly in
22
+ some cases (although it improves in each release).
23
+
24
+ \sa Shape::rendererType
21
25
  */
22
26
 
23
27
  QQS.Shape {
@@ -88,5 +92,6 @@ QQS.Shape {
88
92
  clip: true
89
93
  // Set initial size to prevent Shape's automatically calculated implicitWidth resulting in binding loops
90
94
  height: 100
95
+ preferredRendererType: QQS.Shape.CurveRenderer
91
96
  width: 100
92
97
  }
@@ -21,6 +21,8 @@ Rectangle {
21
21
  default property alias contentChildren: legend.children
22
22
  /*!
23
23
  The spacing between each legend item.
24
+
25
+ \default 0
24
26
  */
25
27
  property alias verticalSpacing: legend.spacing
26
28
 
@@ -17,18 +17,26 @@ Row {
17
17
 
18
18
  /*!
19
19
  Fill color below the line.
20
+
21
+ \default "transparent"
20
22
  */
21
23
  property color fillColor: "transparent"
22
24
  /*!
23
25
  Fill gradient below the line.
26
+
27
+ \default null
24
28
  */
25
29
  property Gradient fillGradient: null
26
30
  /*!
27
31
  Stroke color of the line.
32
+
33
+ \default "black"
28
34
  */
29
35
  property color strokeColor: "black"
30
36
  /*!
31
37
  Stroke width of the line.
38
+
39
+ \default 1
32
40
  */
33
41
  property real strokeWidth: 1
34
42
  /*!
@@ -37,10 +37,8 @@ target_include_directories(
37
37
  )
38
38
 
39
39
  install(
40
- TARGETS
41
- QuickGraphLibGraphItems
42
- DESTINATION
43
- ${INSTALL_SUBPATH}/QuickGraphLib/GraphItems
40
+ TARGETS QuickGraphLibGraphItems
41
+ DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib/GraphItems
44
42
  )
45
43
  install(
46
44
  FILES ${QGL_GI_QML_FILES}
@@ -26,7 +26,7 @@ QuickGraphLib.ImageView {
26
26
  The rect (in data coordinates) the image shall occupy. By default, the center of
27
27
  the top-left pixel is the origin (the 0, 0 point). Adjust this property to position
28
28
  or scale the image differently. By default, \l ImageView::mirrorHorizontally and
29
- \l ImageView::mirrorVertically sre set based on this property.
29
+ \l ImageView::mirrorVertically are set based on this property.
30
30
  */
31
31
  property rect extents: Qt.rect(-0.5, sourceSize.height - 0.5, sourceSize.width, -sourceSize.height)
32
32
 
@@ -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
 
@@ -46,6 +41,8 @@ QQS.ShapePath {
46
41
  property alias heights: helper.heights
47
42
  /*!
48
43
  Whether to draw the histogram horizontally (i.e. \l bins are X positions) or vertically (i.e. \l bins are Y positions).
44
+
45
+ \default false
49
46
  */
50
47
  property alias vertical: helper.vertical
51
48
 
@@ -11,7 +11,8 @@ import QuickGraphLib as QuickGraphLib
11
11
  \inherits QtQuick::Shapes::ShapePath
12
12
  \brief Displays a line graph.
13
13
 
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.
14
+ Graph a line using a list of X,Y points. The style of the line can be adjusted using the
15
+ \l {ShapePath::strokeColor} {strokeColor} and \l {ShapePath::strokeWidth} {strokeWidth} properties.
15
16
 
16
17
  \sa {Basic sin graph}
17
18
  */
@@ -3,7 +3,7 @@
3
3
 
4
4
  #include "HistogramHelper.hpp"
5
5
 
6
- HistogramHelper::HistogramHelper(QObject *parent) : QObject{parent} {
6
+ HistogramHelper::HistogramHelper(QObject* parent) : QObject{parent} {
7
7
  pathProp.setBinding([&]() -> QPolygonF {
8
8
  auto bins = binsProp.value();
9
9
  auto heights = heightsProp.value();
@@ -26,7 +26,7 @@
26
26
  \value Qt.KeepAspectRatio Preserve the aspect ratio
27
27
  \value Qt.KeepAspectRatioByExpanding Preserve the aspect ratio by cropping
28
28
 
29
- Defaults to \c Qt.IgnoreAspectRatio.
29
+ \default Qt.IgnoreAspectRatio
30
30
 
31
31
  \sa Qt::AspectRatioMode
32
32
  */
@@ -43,22 +43,33 @@
43
43
  \value Qt.AlignVCenter Center align (vertically)
44
44
  \value Qt.AlignBottom Bottom align
45
45
 
46
- Defaults to \c Qt.AlignCenter (which is \c {Qt.AlignHCenter | Qt.AlignVCenter}).
46
+ \default Qt.AlignHCenter | Qt.AlignVCenter
47
47
 
48
48
  \sa Qt::AlignmentFlag
49
49
  */
50
50
 
51
51
  /*!
52
52
  \qmlproperty bool ImageView::mirrorHorizontally
53
+
54
+ Mirror the image horizontally.
55
+
56
+ \default false
57
+ */
58
+
59
+ /*!
53
60
  \qmlproperty bool ImageView::mirrorVertically
54
61
 
55
- Mirror the image horizontally and/or vertically.
62
+ Mirror the image vertically.
63
+
64
+ \default false
56
65
  */
57
66
 
58
67
  /*!
59
68
  \qmlproperty bool ImageView::transpose
60
69
 
61
70
  Transpose the image.
71
+
72
+ \default false
62
73
  */
63
74
 
64
75
  /*!
@@ -76,7 +87,8 @@
76
87
  \qmlproperty bool ImageView::smooth
77
88
 
78
89
  Sets whether the displayed image should be pixelated or smooth (linearly interpolated).
79
- Unlike other \l {Item}s, this property defaults to \c false.
90
+
91
+ \default false
80
92
  */
81
93
 
82
94
  /*!
@@ -90,11 +102,11 @@
90
102
  or equal to max, it will be assigned the value at 1).
91
103
  To invert a colormap, swap the values of \l min and \l max.
92
104
 
93
- The default colormap is grayscale.
94
-
95
105
  \note This property has no effect when \l source is a QImage.
96
106
 
97
107
  \sa ColorMaps::colors
108
+
109
+ \default ColorMaps.Grayscale
98
110
  */
99
111
 
100
112
  /*!
@@ -114,17 +126,21 @@
114
126
  /*!
115
127
  \qmlproperty bool ImageView::autoMin
116
128
 
117
- Whether the minimum value for the colormap should be determined from \l source. Defaults to \c true.
129
+ Whether the minimum value for the colormap should be determined from \l source.
118
130
 
119
131
  \sa ImageView::min
132
+
133
+ \default true
120
134
  */
121
135
 
122
136
  /*!
123
137
  \qmlproperty bool ImageView::autoMax
124
138
 
125
- Whether the maximum value for the colormap should be determined from \l source. Defaults to \c true.
139
+ Whether the maximum value for the colormap should be determined from \l source.
126
140
 
127
141
  \sa ImageView::max
142
+
143
+ \default true
128
144
  */
129
145
 
130
146
  /*!
@@ -142,7 +158,7 @@
142
158
  If \l fillMode is \c Qt.IgnoreAspectRatio, this will equal \c {Qt.rect(0, 0, width, height)}.
143
159
  */
144
160
 
145
- ImageView::ImageView(QQuickItem *parent) : QQuickItem{parent} {
161
+ ImageView::ImageView(QQuickItem* parent) : QQuickItem{parent} {
146
162
  setFlags(QQuickItem::ItemHasContents);
147
163
  setSmooth(false);
148
164
 
@@ -213,7 +229,7 @@ void ImageView::_layout() {
213
229
  }
214
230
  }
215
231
 
216
- void ImageView::geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) {
232
+ void ImageView::geometryChange(const QRectF& newGeometry, const QRectF& oldGeometry) {
217
233
  QQuickItem::geometryChange(newGeometry, oldGeometry);
218
234
  _layout();
219
235
  }
@@ -224,9 +240,9 @@ struct ColormapStop {
224
240
  QRgb color;
225
241
  };
226
242
 
227
- QRgb toColor(qreal value, const std::vector<ColormapStop> &colormap) {
243
+ QRgb toColor(qreal value, const std::vector<ColormapStop>& colormap) {
228
244
  // Guaranteed to have at least one element in the colormap
229
- auto right = std::lower_bound(colormap.begin(), colormap.end(), value, [](const ColormapStop &stop, qreal value) {
245
+ auto right = std::lower_bound(colormap.begin(), colormap.end(), value, [](const ColormapStop& stop, qreal value) {
230
246
  return stop.value < value;
231
247
  });
232
248
  if (right == colormap.begin()) {
@@ -257,7 +273,7 @@ QRgb toColor(qreal value, const std::vector<ColormapStop> &colormap) {
257
273
  }
258
274
  }
259
275
 
260
- int indexForCoord(int x, int y, const QSize &size, bool transpose = false) {
276
+ int indexForCoord(int x, int y, const QSize& size, bool transpose = false) {
261
277
  if (transpose) {
262
278
  return y + x * size.height();
263
279
  }
@@ -269,7 +285,7 @@ int indexForCoord(int x, int y, const QSize &size, bool transpose = false) {
269
285
  std::vector<ColormapStop> buildColormap(QVariant cmapVar, qreal min, qreal max) {
270
286
  std::vector<ColormapStop> colormap;
271
287
  auto scale = max - min;
272
- if (auto gradientObj = cmapVar.value<QObject *>()) {
288
+ if (auto gradientObj = cmapVar.value<QObject*>()) {
273
289
  if (gradientObj && gradientObj->inherits("QQuickGradient")) {
274
290
  auto stops = QQmlListReference(gradientObj, "stops");
275
291
  for (auto stopsIndex = 0; stopsIndex < stops.size(); ++stopsIndex) {
@@ -291,7 +307,7 @@ std::vector<ColormapStop> buildColormap(QVariant cmapVar, qreal min, qreal max)
291
307
  if (cmap.length()) {
292
308
  auto step = scale / cmap.size();
293
309
  auto pos = min;
294
- for (const auto &stop : cmap) {
310
+ for (const auto& stop : cmap) {
295
311
  colormap.emplace_back(ColormapStop{pos, step, stop});
296
312
  pos += step;
297
313
  }
@@ -311,7 +327,7 @@ std::vector<ColormapStop> buildColormap(QVariant cmapVar, qreal min, qreal max)
311
327
  }
312
328
 
313
329
  std::optional<std::tuple<QImage, qreal, qreal>> convertToImageFrom1D(
314
- const QList<qreal> &converted, const QSize &size,
330
+ const QList<qreal>& converted, const QSize& size,
315
331
  std::tuple<QVariant, std::optional<qreal>, std::optional<qreal>> colormapArgs, bool transpose
316
332
  ) {
317
333
  if (size.width() * size.height() != converted.size()) {
@@ -331,7 +347,7 @@ std::optional<std::tuple<QImage, qreal, qreal>> convertToImageFrom1D(
331
347
  std::get<2>(colormapArgs).value_or(dataMax)
332
348
  );
333
349
  QImage image(size, QImage::Format_ARGB32_Premultiplied);
334
- QRgb *pixels = reinterpret_cast<QRgb *>(image.bits());
350
+ QRgb* pixels = reinterpret_cast<QRgb*>(image.bits());
335
351
  for (auto x = 0; x < size.width(); ++x) {
336
352
  for (auto y = 0; y < size.height(); ++y) {
337
353
  pixels[indexForCoord(x, y, size, transpose)] = toColor(converted[indexForCoord(x, y, size)], colormap);
@@ -342,18 +358,18 @@ std::optional<std::tuple<QImage, qreal, qreal>> convertToImageFrom1D(
342
358
  }
343
359
 
344
360
  std::optional<std::tuple<QImage, qreal, qreal>> convertToImageFrom2D(
345
- const QList<QList<qreal>> &converted, std::tuple<QVariant, std::optional<qreal>, std::optional<qreal>> colormapArgs,
361
+ const QList<QList<qreal>>& converted, std::tuple<QVariant, std::optional<qreal>, std::optional<qreal>> colormapArgs,
346
362
  bool transpose
347
363
  ) {
348
364
  QSize size(converted.isEmpty() ? 0 : converted[0].size(), converted.size());
349
- for (const auto &row : converted) {
365
+ for (const auto& row : converted) {
350
366
  if (row.size() != size.width()) {
351
367
  return {};
352
368
  }
353
369
  }
354
370
  auto dataMin = std::numeric_limits<qreal>::infinity(), dataMax = -std::numeric_limits<qreal>::infinity();
355
371
  if (!std::get<1>(colormapArgs).has_value() || !std::get<2>(colormapArgs).has_value()) {
356
- for (auto &row : converted) {
372
+ for (auto& row : converted) {
357
373
  for (auto v : row) {
358
374
  dataMin = std::min(dataMin, v);
359
375
  dataMax = std::max(dataMax, v);
@@ -364,9 +380,9 @@ std::optional<std::tuple<QImage, qreal, qreal>> convertToImageFrom2D(
364
380
  auto max = std::get<2>(colormapArgs).value_or(dataMax);
365
381
  auto colormap = buildColormap(std::get<0>(colormapArgs), min, max);
366
382
  QImage image(size, QImage::Format_ARGB32_Premultiplied);
367
- QRgb *pixels = reinterpret_cast<QRgb *>(image.bits());
383
+ QRgb* pixels = reinterpret_cast<QRgb*>(image.bits());
368
384
  for (auto y = 0; y < size.height(); ++y) {
369
- const auto &row = converted[y];
385
+ const auto& row = converted[y];
370
386
  for (auto x = 0; x < size.width(); ++x) {
371
387
  pixels[indexForCoord(x, y, size, transpose)] = toColor(row[x], colormap);
372
388
  }
@@ -375,7 +391,7 @@ std::optional<std::tuple<QImage, qreal, qreal>> convertToImageFrom2D(
375
391
  }
376
392
 
377
393
  std::optional<std::tuple<QImage, qreal, qreal>> convertToImage(
378
- const QVariant &data, QSize suggestedSize,
394
+ const QVariant& data, QSize suggestedSize,
379
395
  std::tuple<QVariant, std::optional<qreal>, std::optional<qreal>> colormapArgs, bool transpose
380
396
  ) {
381
397
  if (data.canConvert<QList<qreal>>()) {
@@ -392,7 +408,7 @@ std::optional<std::tuple<QImage, qreal, qreal>> convertToImage(
392
408
  if (halfWay[0].canConvert<qreal>()) {
393
409
  // 1D
394
410
  QList<qreal> converted;
395
- for (const auto &p : halfWay) {
411
+ for (const auto& p : halfWay) {
396
412
  converted.append(p.toDouble());
397
413
  }
398
414
  return convertToImageFrom1D(converted, suggestedSize, colormapArgs, transpose);
@@ -400,13 +416,13 @@ std::optional<std::tuple<QImage, qreal, qreal>> convertToImage(
400
416
  else {
401
417
  // 2D
402
418
  QList<QList<qreal>> converted;
403
- for (const auto &row : halfWay) {
419
+ for (const auto& row : halfWay) {
404
420
  if (row.canConvert<QList<qreal>>()) {
405
421
  converted.append(row.value<QList<qreal>>());
406
422
  }
407
423
  else if (row.canConvert<QVariantList>()) {
408
424
  QList<qreal> rowConverted;
409
- for (auto &item : row.value<QVariantList>()) {
425
+ for (auto& item : row.value<QVariantList>()) {
410
426
  rowConverted.append(item.toDouble());
411
427
  }
412
428
  converted.append(rowConverted);
@@ -433,8 +449,8 @@ void ImageView::updatePolish() {
433
449
  _coloredImage = source.value<QImage>().convertToFormat(QImage::Format_ARGB32_Premultiplied);
434
450
  if (transpose()) {
435
451
  QImage transposedImage(_coloredImage.height(), _coloredImage.width(), QImage::Format_ARGB32_Premultiplied);
436
- const QRgb *pixels = reinterpret_cast<const QRgb *>(_coloredImage.constBits());
437
- QRgb *transposedPixels = reinterpret_cast<QRgb *>(transposedImage.bits());
452
+ const QRgb* pixels = reinterpret_cast<const QRgb*>(_coloredImage.constBits());
453
+ QRgb* transposedPixels = reinterpret_cast<QRgb*>(transposedImage.bits());
438
454
  for (auto x = 0; x < _coloredImage.width(); ++x) {
439
455
  for (auto y = 0; y < _coloredImage.height(); ++y) {
440
456
  transposedPixels[indexForCoord(x, y, _coloredImage.size(), true)] =
@@ -476,10 +492,10 @@ void ImageView::updatePolish() {
476
492
  update();
477
493
  }
478
494
 
479
- QSGNode *ImageView::updatePaintNode(QSGNode *node, UpdatePaintNodeData *) {
495
+ QSGNode* ImageView::updatePaintNode(QSGNode* node, UpdatePaintNodeData*) {
480
496
  Q_ASSERT(window() != nullptr);
481
497
 
482
- QSGImageNode *n = static_cast<QSGImageNode *>(node);
498
+ QSGImageNode* n = static_cast<QSGImageNode*>(node);
483
499
  if (!n) {
484
500
  n = window()->createImageNode();
485
501
  n->setOwnsTexture(true);
@@ -17,10 +17,8 @@ target_compile_definitions(
17
17
  target_link_libraries(QuickGraphLibPreFabs PRIVATE Qt6::Quick)
18
18
 
19
19
  install(
20
- TARGETS
21
- QuickGraphLibPreFabs
22
- DESTINATION
23
- ${INSTALL_SUBPATH}/QuickGraphLib/PreFabs
20
+ TARGETS QuickGraphLibPreFabs
21
+ DESTINATION ${INSTALL_SUBPATH}/QuickGraphLib/PreFabs
24
22
  )
25
23
  install(
26
24
  FILES ${QGL_PF_QML_FILES}
@@ -44,18 +44,24 @@ Item {
44
44
  Maximum number of ticks to show on the colorbar axis.
45
45
 
46
46
  \sa Helpers::tickLocator
47
+
48
+ \default 5
47
49
  */
48
50
  property int numColorbarTicks: 5
49
51
  /*!
50
52
  Maximum number of ticks to show on the X axis.
51
53
 
52
54
  \sa Helpers::tickLocator
55
+
56
+ \default 11
53
57
  */
54
58
  property int numXTicks: 11
55
59
  /*!
56
60
  Maximum number of ticks to show on the Y axis.
57
61
 
58
62
  \sa Helpers::tickLocator
63
+
64
+ \default 11
59
65
  */
60
66
  property int numYTicks: 11
61
67
  /*!