QuickGraphLib 0.1.0a5__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.
- {quickgraphlib-0.1.0a5/QuickGraphLib.egg-info → quickgraphlib-0.1.0a6}/PKG-INFO +1 -1
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/AntialiasingContainer.qml +9 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/Axis.qml +55 -17
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/CMakeLists.txt +3 -1
- quickgraphlib-0.1.0a6/QuickGraphLib/ColorMaps.cpp +630 -0
- quickgraphlib-0.1.0a6/QuickGraphLib/ColorMaps.hpp +22 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphArea.qml +9 -5
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxHLine.qml +13 -3
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxHSpan.qml +16 -4
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxVLine.qml +13 -3
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/AxVSpan.qml +16 -4
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/BasicLegend.qml +6 -2
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/BasicLegendItem.qml +21 -7
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/CMakeLists.txt +1 -1
- quickgraphlib-0.1.0a6/QuickGraphLib/GraphItems/ColorMesh.qml +37 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Contour.qml +7 -2
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/GraphItemDragHandler.qml +11 -2
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Grid.qml +20 -4
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Histogram.qml +16 -4
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Line.qml +3 -1
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/Marker.qml +8 -2
- quickgraphlib-0.1.0a6/QuickGraphLib/ImageView.cpp +453 -0
- quickgraphlib-0.1.0a6/QuickGraphLib/ImageView.hpp +135 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/PreFabs/XYAxes.qml +59 -14
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/ScalingContainer.qml +12 -4
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/ShapeRepeater.qml +3 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/TickLabel.qml +17 -6
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/ZoomPanHandler.qml +20 -6
- quickgraphlib-0.1.0a6/QuickGraphLib/doc/export.qdoc +47 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/index.qdoc +1 -1
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/Helpers.cpp +82 -22
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6/QuickGraphLib.egg-info}/PKG-INFO +1 -1
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/SOURCES.txt +17 -0
- quickgraphlib-0.1.0a6/examples/BuiltinColormaps.png +0 -0
- quickgraphlib-0.1.0a6/examples/BuiltinColormaps.qdoc +13 -0
- quickgraphlib-0.1.0a6/examples/BuiltinColormaps.qml +83 -0
- quickgraphlib-0.1.0a6/examples/ColorMappedImages.png +0 -0
- quickgraphlib-0.1.0a6/examples/ColorMappedImages.qdoc +13 -0
- quickgraphlib-0.1.0a6/examples/ColorMappedImages.qml +70 -0
- quickgraphlib-0.1.0a6/examples/ColorMesh.png +0 -0
- quickgraphlib-0.1.0a6/examples/ColorMesh.qdoc +13 -0
- quickgraphlib-0.1.0a6/examples/ColorMesh.qml +22 -0
- quickgraphlib-0.1.0a6/examples/ImageAlignment.png +0 -0
- quickgraphlib-0.1.0a6/examples/ImageAlignment.qdoc +13 -0
- quickgraphlib-0.1.0a6/examples/ImageAlignment.qml +102 -0
- quickgraphlib-0.1.0a5/QuickGraphLib/doc/export.qdoc +0 -24
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/CMakeLists.txt +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/LICENCE +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/MANIFEST.in +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/GridHelper.cpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/GridHelper.hpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/HistogramHelper.cpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/GraphItems/helpers/HistogramHelper.hpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/PreFabs/CMakeLists.txt +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/AxesGridLayout.svg +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/graphitems.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/graphstructure.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/interaction.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/module.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/prefabs.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/doc/python_helpers.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/AxisHelper.cpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/AxisHelper.hpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/Foreign.hpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib/helpers/Helpers.hpp +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/dependency_links.txt +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/requires.txt +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/QuickGraphLib.egg-info/top_level.txt +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/README.md +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/AllTheAxes.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/AllTheAxes.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/AllTheAxes.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicHistogram.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicHistogram.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicHistogram.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicSinGraph.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicSinGraph.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicSinGraph.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicSinGraphNoPrefabs.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicSinGraphNoPrefabs.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/BasicSinGraphNoPrefabs.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Complex.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Complex.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Complex.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Contours.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Contours.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Contours.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/DarkSinGraph.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/DarkSinGraph.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/DarkSinGraph.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/DraggableRegion.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/DraggableRegion.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/DraggableRegion.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ExampleGallery.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ExampleGallery.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/InvertedAxes.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/InvertedAxes.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/InvertedAxes.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ReadoutLine.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ReadoutLine.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ReadoutLine.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ScalingGraph.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ScalingGraph.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ScalingGraph.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Scatter.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Scatter.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Scatter.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/SpansAndLines.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/SpansAndLines.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/SpansAndLines.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Subgraphs.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Subgraphs.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/Subgraphs.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/TwinX.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/TwinX.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/TwinX.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ZoomableAsImage.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ZoomableAsImage.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ZoomableAsImage.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ZoomableAxes.png +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ZoomableAxes.qdoc +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/examples/ZoomableAxes.qml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/pyproject.toml +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/__init__.py +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/consts.py +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/contours.py +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/quickgraphlib_helpers/py.typed +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/setup.cfg +0 -0
- {quickgraphlib-0.1.0a5 → quickgraphlib-0.1.0a6}/setup.py +0 -0
|
@@ -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
|
-
|
|
28
|
-
|
|
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
|
-
/*!
|
|
32
|
-
|
|
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
|
-
/*!
|
|
47
|
+
/*!
|
|
48
|
+
The label text for this axis. Alias of \c labelItem.text.
|
|
49
|
+
*/
|
|
43
50
|
property alias label: labelText.text
|
|
44
|
-
/*!
|
|
51
|
+
/*!
|
|
52
|
+
The color of the label. Alias of \c labelItem.color.
|
|
53
|
+
*/
|
|
45
54
|
property alias labelColor: labelText.color
|
|
46
|
-
/*!
|
|
55
|
+
/*!
|
|
56
|
+
The font of the label. Alias of \c labelItem.font.
|
|
57
|
+
*/
|
|
47
58
|
property alias labelFont: labelText.font
|
|
48
|
-
/*!
|
|
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
|
-
/*!
|
|
67
|
+
/*!
|
|
68
|
+
Spacing between the end of each tick and the tick label.
|
|
69
|
+
*/
|
|
51
70
|
property double spacing: 4
|
|
52
|
-
/*!
|
|
71
|
+
/*!
|
|
72
|
+
Color of the axis spine and ticks.
|
|
73
|
+
*/
|
|
53
74
|
property alias strokeColor: myPath.strokeColor
|
|
54
|
-
/*!
|
|
75
|
+
/*!
|
|
76
|
+
Width of the axis spine and ticks.
|
|
77
|
+
*/
|
|
55
78
|
property alias strokeWidth: myPath.strokeWidth
|
|
56
|
-
/*!
|
|
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
|
-
/*!
|
|
91
|
+
/*!
|
|
92
|
+
The color of the tick labels.
|
|
93
|
+
*/
|
|
64
94
|
property color tickLabelColor: labelColor
|
|
65
|
-
/*!
|
|
95
|
+
/*!
|
|
96
|
+
The font of the tick labels.
|
|
97
|
+
*/
|
|
66
98
|
property font tickLabelFont: labelFont
|
|
67
|
-
/*!
|
|
99
|
+
/*!
|
|
100
|
+
The length of each tick.
|
|
101
|
+
*/
|
|
68
102
|
property alias tickLength: helper.tickLength
|
|
69
|
-
/*!
|
|
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
|
|
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
|
)
|