QuickGraphLib 0.1.0a4__tar.gz → 0.1.0a6__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 (129) hide show
  1. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/MANIFEST.in +2 -1
  2. {quickgraphlib-0.1.0a4/QuickGraphLib.egg-info → quickgraphlib-0.1.0a6}/PKG-INFO +1 -1
  3. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/AntialiasingContainer.qml +9 -0
  4. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/Axis.qml +55 -17
  5. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/CMakeLists.txt +3 -1
  6. quickgraphlib-0.1.0a6/QuickGraphLib/ColorMaps.cpp +630 -0
  7. quickgraphlib-0.1.0a6/QuickGraphLib/ColorMaps.hpp +22 -0
  8. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphArea.qml +9 -5
  9. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxHLine.qml +13 -3
  10. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxHSpan.qml +16 -4
  11. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxVLine.qml +13 -3
  12. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxVSpan.qml +16 -4
  13. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/BasicLegend.qml +6 -2
  14. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/BasicLegendItem.qml +21 -7
  15. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/CMakeLists.txt +1 -1
  16. quickgraphlib-0.1.0a6/QuickGraphLib/GraphItems/ColorMesh.qml +37 -0
  17. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Contour.qml +7 -2
  18. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/GraphItemDragHandler.qml +11 -2
  19. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Grid.qml +20 -4
  20. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Histogram.qml +16 -4
  21. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Line.qml +3 -1
  22. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Marker.qml +8 -2
  23. quickgraphlib-0.1.0a6/QuickGraphLib/ImageView.cpp +453 -0
  24. quickgraphlib-0.1.0a6/QuickGraphLib/ImageView.hpp +135 -0
  25. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/PreFabs/XYAxes.qml +59 -14
  26. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/ScalingContainer.qml +12 -4
  27. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/ShapeRepeater.qml +3 -0
  28. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/TickLabel.qml +17 -6
  29. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/ZoomPanHandler.qml +20 -6
  30. quickgraphlib-0.1.0a6/QuickGraphLib/doc/export.qdoc +47 -0
  31. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/index.qdoc +1 -1
  32. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/Helpers.cpp +82 -22
  33. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6/QuickGraphLib.egg-info}/PKG-INFO +1 -1
  34. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/SOURCES.txt +17 -0
  35. quickgraphlib-0.1.0a6/examples/BuiltinColormaps.png +0 -0
  36. quickgraphlib-0.1.0a6/examples/BuiltinColormaps.qdoc +13 -0
  37. quickgraphlib-0.1.0a6/examples/BuiltinColormaps.qml +83 -0
  38. quickgraphlib-0.1.0a6/examples/ColorMappedImages.png +0 -0
  39. quickgraphlib-0.1.0a6/examples/ColorMappedImages.qdoc +13 -0
  40. quickgraphlib-0.1.0a6/examples/ColorMappedImages.qml +70 -0
  41. quickgraphlib-0.1.0a6/examples/ColorMesh.png +0 -0
  42. quickgraphlib-0.1.0a6/examples/ColorMesh.qdoc +13 -0
  43. quickgraphlib-0.1.0a6/examples/ColorMesh.qml +22 -0
  44. quickgraphlib-0.1.0a6/examples/ImageAlignment.png +0 -0
  45. quickgraphlib-0.1.0a6/examples/ImageAlignment.qdoc +13 -0
  46. quickgraphlib-0.1.0a6/examples/ImageAlignment.qml +102 -0
  47. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/pyproject.toml +2 -1
  48. quickgraphlib-0.1.0a4/QuickGraphLib/doc/export.qdoc +0 -24
  49. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/CMakeLists.txt +0 -0
  50. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/LICENCE +0 -0
  51. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/GridHelper.cpp +0 -0
  52. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/GridHelper.hpp +0 -0
  53. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/HistogramHelper.cpp +0 -0
  54. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/HistogramHelper.hpp +0 -0
  55. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/PreFabs/CMakeLists.txt +0 -0
  56. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/AxesGridLayout.svg +0 -0
  57. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/graphitems.qdoc +0 -0
  58. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/graphstructure.qdoc +0 -0
  59. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/interaction.qdoc +0 -0
  60. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/module.qdoc +0 -0
  61. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/prefabs.qdoc +0 -0
  62. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/python_helpers.qdoc +0 -0
  63. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/AxisHelper.cpp +0 -0
  64. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/AxisHelper.hpp +0 -0
  65. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/Foreign.hpp +0 -0
  66. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/Helpers.hpp +0 -0
  67. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/dependency_links.txt +0 -0
  68. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/requires.txt +0 -0
  69. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/top_level.txt +0 -0
  70. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/README.md +0 -0
  71. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/AllTheAxes.png +0 -0
  72. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/AllTheAxes.qdoc +0 -0
  73. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/AllTheAxes.qml +0 -0
  74. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicHistogram.png +0 -0
  75. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicHistogram.qdoc +0 -0
  76. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicHistogram.qml +0 -0
  77. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicSinGraph.png +0 -0
  78. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicSinGraph.qdoc +0 -0
  79. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicSinGraph.qml +0 -0
  80. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicSinGraphNoPrefabs.png +0 -0
  81. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicSinGraphNoPrefabs.qdoc +0 -0
  82. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/BasicSinGraphNoPrefabs.qml +0 -0
  83. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Complex.png +0 -0
  84. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Complex.qdoc +0 -0
  85. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Complex.qml +0 -0
  86. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Contours.png +0 -0
  87. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Contours.qdoc +0 -0
  88. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Contours.qml +0 -0
  89. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/DarkSinGraph.png +0 -0
  90. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/DarkSinGraph.qdoc +0 -0
  91. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/DarkSinGraph.qml +0 -0
  92. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/DraggableRegion.png +0 -0
  93. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/DraggableRegion.qdoc +0 -0
  94. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/DraggableRegion.qml +0 -0
  95. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ExampleGallery.png +0 -0
  96. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ExampleGallery.qml +0 -0
  97. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/InvertedAxes.png +0 -0
  98. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/InvertedAxes.qdoc +0 -0
  99. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/InvertedAxes.qml +0 -0
  100. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ReadoutLine.png +0 -0
  101. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ReadoutLine.qdoc +0 -0
  102. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ReadoutLine.qml +0 -0
  103. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ScalingGraph.png +0 -0
  104. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ScalingGraph.qdoc +0 -0
  105. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ScalingGraph.qml +0 -0
  106. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Scatter.png +0 -0
  107. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Scatter.qdoc +0 -0
  108. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Scatter.qml +0 -0
  109. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/SpansAndLines.png +0 -0
  110. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/SpansAndLines.qdoc +0 -0
  111. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/SpansAndLines.qml +0 -0
  112. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Subgraphs.png +0 -0
  113. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Subgraphs.qdoc +0 -0
  114. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/Subgraphs.qml +0 -0
  115. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/TwinX.png +0 -0
  116. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/TwinX.qdoc +0 -0
  117. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/TwinX.qml +0 -0
  118. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ZoomableAsImage.png +0 -0
  119. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ZoomableAsImage.qdoc +0 -0
  120. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ZoomableAsImage.qml +0 -0
  121. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ZoomableAxes.png +0 -0
  122. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ZoomableAxes.qdoc +0 -0
  123. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/examples/ZoomableAxes.qml +0 -0
  124. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/__init__.py +0 -0
  125. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/consts.py +0 -0
  126. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/contours.py +0 -0
  127. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/py.typed +0 -0
  128. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/setup.cfg +0 -0
  129. {quickgraphlib-0.1.0a4 → quickgraphlib-0.1.0a6}/setup.py +0 -0
@@ -1,3 +1,4 @@
1
1
  recursive-include . CMakeLists.txt
2
2
  recursive-include QuickGraphLib *.qml *.svg *.qdoc *.cpp *.hpp
3
- recursive-include examples *.qml *.png *.qdoc
3
+ recursive-include examples *.qml *.png *.qdoc
4
+ include quickgraphlib_helpers/py.typed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: QuickGraphLib
3
- Version: 0.1.0a4
3
+ Version: 0.1.0a6
4
4
  Summary: A scientific graphing library for QtQuick
5
5
  Author-email: Matthew Joyce <matthew.joyce@refeyn.com>
6
6
  License: MIT License
@@ -8,9 +8,18 @@ import QtQuick
8
8
  \inqmlmodule QuickGraphLib
9
9
  \inherits QtQuick::Item
10
10
  \brief Enables antialiasing for it's contents.
11
+
12
+ This item turns on \l {Multisample Antialiasing}. This helps with rendering in some cases.
11
13
  */
12
14
 
13
15
  Item {
16
+ id: root
17
+
18
+ /*!
19
+ Whether MSAA antialiasing is enabled.
20
+ */
21
+ property alias antialiasingEnabled: root.layer.enabled
22
+
14
23
  implicitHeight: 100
15
24
  implicitWidth: 100
16
25
  layer.enabled: true // Improves rendering of fractional DPIs
@@ -24,14 +24,19 @@ Item {
24
24
  }
25
25
 
26
26
  /*!
27
- TODO
28
- \sa {GraphArea::dataTransform}
27
+ Must be assigned the data transform of the graph area this axis is paired to.
28
+
29
+ \sa GraphArea::dataTransform
29
30
  */
30
31
  property alias dataTransform: helper.dataTransform
31
- /*! TODO */
32
- property int decimalPoints: 2
33
- /*! TODO
32
+ /*!
33
+ Number of decimal points the ticks should show.
34
34
 
35
+ \sa TickLabel::decimalPoints
36
+ */
37
+ property int decimalPoints: 2
38
+ /*!
39
+ The side of the graph the Axis is on. It can take one of the following values:
35
40
 
36
41
  \value Axis.Direction.Left Axis to the left of the GraphArea
37
42
  \value Axis.Direction.Right Axis to the right of the GraphArea
@@ -39,34 +44,67 @@ Item {
39
44
  \value Axis.Direction.Bottom Axis below of the GraphArea
40
45
  */
41
46
  property alias direction: helper.direction
42
- /*! TODO */
47
+ /*!
48
+ The label text for this axis. Alias of \c labelItem.text.
49
+ */
43
50
  property alias label: labelText.text
44
- /*! TODO */
51
+ /*!
52
+ The color of the label. Alias of \c labelItem.color.
53
+ */
45
54
  property alias labelColor: labelText.color
46
- /*! TODO */
55
+ /*!
56
+ The font of the label. Alias of \c labelItem.font.
57
+ */
47
58
  property alias labelFont: labelText.font
48
- /*! TODO */
59
+ /*!
60
+ The axis label (a \l Text).
61
+ */
62
+ property alias labelItem: labelText
63
+ /*!
64
+ Whether to show a label for each tick.
65
+ */
49
66
  property bool showTickLabels: true
50
- /*! TODO */
67
+ /*!
68
+ Spacing between the end of each tick and the tick label.
69
+ */
51
70
  property double spacing: 4
52
- /*! TODO */
71
+ /*!
72
+ Color of the axis spine and ticks.
73
+ */
53
74
  property alias strokeColor: myPath.strokeColor
54
- /*! TODO */
75
+ /*!
76
+ Width of the axis spine and ticks.
77
+ */
55
78
  property alias strokeWidth: myPath.strokeWidth
56
- /*! TODO */
79
+ /*!
80
+ The component used for rendering tick labels. If overridden,
81
+ the \c color, \c decimalPoints, \c direction, and \c font properties
82
+ of the component should be set explicitly. To get proper positioning,
83
+ it is recommended that \l TickLabel or a subclass is used.
84
+ */
57
85
  property Component tickDelegate: TickLabel {
58
86
  color: root.labelColor
59
87
  decimalPoints: root.decimalPoints
60
88
  direction: root.direction
61
89
  font: root.labelFont
62
90
  }
63
- /*! TODO */
91
+ /*!
92
+ The color of the tick labels.
93
+ */
64
94
  property color tickLabelColor: labelColor
65
- /*! TODO */
95
+ /*!
96
+ The font of the tick labels.
97
+ */
66
98
  property font tickLabelFont: labelFont
67
- /*! TODO */
99
+ /*!
100
+ The length of each tick.
101
+ */
68
102
  property alias tickLength: helper.tickLength
69
- /*! TODO */
103
+ /*!
104
+ The position of each tick. This should be a list of doubles in data coordinates.
105
+
106
+ \sa Helpers::range, Helpers::linspace, Grid::xTicks, Grid::yTicks
107
+ */
70
108
  property alias ticks: helper.ticks
71
109
 
72
110
  implicitHeight: {
@@ -7,7 +7,9 @@ qt_add_qml_module(QuickGraphLib
7
7
  SHARED
8
8
  VERSION 1.0
9
9
  QML_FILES ${QGL_QML_FILES}
10
- SOURCES helpers/Helpers.cpp helpers/Helpers.hpp helpers/AxisHelper.hpp helpers/AxisHelper.cpp helpers/Foreign.hpp
10
+ SOURCES
11
+ helpers/Helpers.cpp helpers/Helpers.hpp helpers/AxisHelper.hpp helpers/AxisHelper.cpp helpers/Foreign.hpp
12
+ ImageView.hpp ImageView.cpp ColorMaps.hpp ColorMaps.cpp
11
13
  PLUGIN_TARGET QuickGraphLib
12
14
  DEPENDENCIES QtQuick
13
15
  )