PyQt6-Graphs 6.11.0__tar.gz → 6.12.1__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 (60) hide show
  1. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/ChangeLog +44 -0
  2. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/NEWS +6 -0
  3. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/PKG-INFO +1 -1
  4. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/pyproject.toml +2 -2
  5. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/QtGraphsmod.sip +4 -3
  6. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qabstractaxis.sip +3 -0
  7. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qabstractdataproxy.sip +21 -16
  8. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qcustom3dvolume.sip +1 -1
  9. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qdatetimeaxis.sip +18 -0
  10. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qgraphs3dnamespace.sip +9 -0
  11. pyqt6_graphs-6.12.1/sip/QtGraphs/qlogvalueaxis.sip +77 -0
  12. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qpieseries.sip +22 -0
  13. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qvalueaxis.sip +13 -0
  14. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qxyseries.sip +49 -0
  15. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphsWidgets/QtGraphsWidgetsmod.sip +3 -1
  16. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphsWidgets/q3dgraphswidgetitem.sip +167 -0
  17. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/LICENSE +0 -0
  18. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/README.md +0 -0
  19. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/q3dscene.sip +0 -0
  20. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qabstract3daxis.sip +0 -0
  21. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qabstract3dseries.sip +0 -0
  22. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qabstractseries.sip +0 -0
  23. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qareaseries.sip +0 -0
  24. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qbar3dseries.sip +0 -0
  25. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qbarcategoryaxis.sip +0 -0
  26. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qbardataitem.sip +0 -0
  27. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qbardataproxy.sip +0 -0
  28. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qbarmodelmapper.sip +0 -0
  29. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qbarseries.sip +0 -0
  30. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qbarset.sip +0 -0
  31. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qcategory3daxis.sip +0 -0
  32. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qcustom3ditem.sip +0 -0
  33. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qcustom3dlabel.sip +0 -0
  34. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qcustomseries.sip +0 -0
  35. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qgraphstheme.sip +0 -0
  36. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qheightmapsurfacedataproxy.sip +0 -0
  37. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qitemmodelbardataproxy.sip +0 -0
  38. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qitemmodelscatterdataproxy.sip +0 -0
  39. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qitemmodelsurfacedataproxy.sip +0 -0
  40. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qlineseries.sip +0 -0
  41. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qlist.sip +0 -0
  42. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qlogvalue3daxisformatter.sip +0 -0
  43. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qpiemodelmapper.sip +0 -0
  44. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qpieslice.sip +0 -0
  45. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qscatter3dseries.sip +0 -0
  46. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qscatterdataitem.sip +0 -0
  47. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qscatterdataproxy.sip +0 -0
  48. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qscatterseries.sip +0 -0
  49. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qspline3dseries.sip +0 -0
  50. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qsplineseries.sip +0 -0
  51. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qsurface3dseries.sip +0 -0
  52. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qsurfacedataitem.sip +0 -0
  53. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qsurfacedataproxy.sip +0 -0
  54. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qutils.sip +0 -0
  55. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qvalue3daxis.sip +0 -0
  56. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qvalue3daxisformatter.sip +0 -0
  57. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphs/qxymodelmapper.sip +0 -0
  58. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphsWidgets/q3dbarswidgetitem.sip +0 -0
  59. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphsWidgets/q3dscatterwidgetitem.sip +0 -0
  60. {pyqt6_graphs-6.11.0 → pyqt6_graphs-6.12.1}/sip/QtGraphsWidgets/q3dsurfacewidgetitem.sip +0 -0
@@ -1,3 +1,47 @@
1
+ commit ea9c48e0174ab40005ed4990ebdc86640e065559
2
+ Author: Phil Thompson <phil@riverbankcomputing.com>
3
+ Date: Wed Nov 11 14:01:24 2026 +0000
4
+
5
+ Release v6.12.1
6
+
7
+ commit 25da1b28eb8253b47f7663db45c278b4d048c372
8
+ Author: Phil Thompson <phil@riverbankcomputing.com>
9
+ Date: Fri Nov 6 10:20:11 2026 +0000
10
+
11
+ Development regression
12
+
13
+ Fixed an internal inconsistency in the project file.
14
+
15
+ commit 484485afeb195cf2ee1d214d0f910219566f9d97
16
+ Author: Phil Thompson <phil@riverbankcomputing.com>
17
+ Date: Thu Nov 5 16:56:52 2026 +0000
18
+
19
+ `.pyi` stub files
20
+
21
+ The generated stub files now pass `flake8`.
22
+
23
+ commit 7f13bc843d53371a91e65780d4d8e71b33f24518
24
+ Author: Phil Thompson <phil@riverbankcomputing.com>
25
+ Date: Sun Oct 4 15:06:36 2026 +0100
26
+
27
+ Release v6.12.0
28
+
29
+ commit f81a7791e19dc3631838dcc691dfd0a9da95f71e
30
+ Author: Phil Thompson <phil@riverbankcomputing.com>
31
+ Date: Wed Sep 30 19:20:29 2026 +0100
32
+
33
+ Support for Qt v6.12
34
+
35
+ Updated all existing modules for Qt v6.12.0.
36
+
37
+ commit 0933224d747b3eb8f49ffa6b2f33b070bcae9390
38
+ Author: Phil Thompson <phil@riverbankcomputing.com>
39
+ Date: Wed Sep 30 13:28:12 2026 +0100
40
+
41
+ Support for Qt v6.12rc
42
+
43
+ Updated all existing modules for Qt v6.12rc.
44
+
1
45
  commit 0b6df35653f1db013c3f5e397ba03d8f332a3aa9
2
46
  Author: Phil Thompson <phil@riverbankcomputing.com>
3
47
  Date: Tue Mar 24 15:43:06 2026 +0000
@@ -1,3 +1,9 @@
1
+ v6.12.1 11th November 2026
2
+ - `.pyi` type stub files now pass flake8-pyi.
3
+
4
+ v6.12.0 4th October 2026
5
+ - Added support for Qt v6.12.
6
+
1
7
  v6.11.0 24th March 2026
2
8
  - Added support for Qt v6.11.
3
9
  - Python v3.9 is no longer supported.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyQt6-Graphs
3
- Version: 6.11.0
3
+ Version: 6.12.1
4
4
  Requires-Python: >=3.10
5
5
  Summary: Python bindings for the Qt Graphs library
6
6
  Description-Content-Type: text/markdown
@@ -1,11 +1,11 @@
1
1
  # Specify the build system for the project.
2
2
  [build-system]
3
- requires = ["sip >=6.15, <7", "PyQt-builder >=1.19, <2"]
3
+ requires = ["sip >=6.17, <7", "PyQt-builder >=1.20, <2"]
4
4
  build-backend = "sipbuild.api"
5
5
 
6
6
  [project]
7
7
  name = "PyQt6-Graphs"
8
- version = "6.11.0"
8
+ version = "6.12.1"
9
9
  description = "Python bindings for the Qt Graphs library"
10
10
  readme = "README.md"
11
11
  urls.homepage = "https://www.riverbankcomputing.com/software/pyqtgraphs/"
@@ -27,7 +27,7 @@
27
27
  %Import QtQml/QtQmlmod.sip
28
28
  %Import QtQuick/QtQuickmod.sip
29
29
 
30
- %Timeline {QtGraphs_6_8_0 QtGraphs_6_9_0 QtGraphs_6_10_0 QtGraphs_6_11_0}
30
+ %Timeline {QtGraphs_6_8_0 QtGraphs_6_9_0 QtGraphs_6_10_0 QtGraphs_6_11_0 QtGraphs_6_12_0}
31
31
 
32
32
  %Copying
33
33
  Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
@@ -54,8 +54,8 @@ int PYQT_GRAPHS_VERSION;
54
54
  const char *PYQT_GRAPHS_VERSION_STR;
55
55
 
56
56
  %ModuleCode
57
- static int PYQT_GRAPHS_VERSION = 0x060b00;
58
- static const char *PYQT_GRAPHS_VERSION_STR = "6.11.0";
57
+ static int PYQT_GRAPHS_VERSION = 0x060c01;
58
+ static const char *PYQT_GRAPHS_VERSION_STR = "6.12.1";
59
59
  %End
60
60
 
61
61
  %Include q3dscene.sip
@@ -86,6 +86,7 @@ static const char *PYQT_GRAPHS_VERSION_STR = "6.11.0";
86
86
  %Include qitemmodelsurfacedataproxy.sip
87
87
  %Include qlineseries.sip
88
88
  %Include qlogvalue3daxisformatter.sip
89
+ %Include qlogvalueaxis.sip
89
90
  %Include qpiemodelmapper.sip
90
91
  %Include qpieseries.sip
91
92
  %Include qpieslice.sip
@@ -32,6 +32,9 @@ public:
32
32
  Value,
33
33
  BarCategory,
34
34
  DateTime,
35
+ %If (QtGraphs_6_12_0 -)
36
+ LogValue,
37
+ %End
35
38
  };
36
39
 
37
40
  virtual ~QAbstractAxis();
@@ -36,13 +36,13 @@ class QAbstractDataProxy : public QObject /NoDefaultCtors/
36
36
  {sipName_QAbstract3DAxis, &sipType_QAbstract3DAxis, 14, 2},
37
37
  {sipName_QAbstract3DSeries, &sipType_QAbstract3DSeries, 16, 3},
38
38
  {sipName_QAbstractAxis, &sipType_QAbstractAxis, 20, 4},
39
- {sipName_QAbstractDataProxy, &sipType_QAbstractDataProxy, 23, 5},
40
- {sipName_QAbstractSeries, &sipType_QAbstractSeries, 30, 6},
39
+ {sipName_QAbstractDataProxy, &sipType_QAbstractDataProxy, 24, 5},
40
+ {sipName_QAbstractSeries, &sipType_QAbstractSeries, 31, 6},
41
41
  {sipName_QBarModelMapper, &sipType_QBarModelMapper, -1, 7},
42
42
  {sipName_QBarSet, &sipType_QBarSet, -1, 8},
43
- {sipName_QCustom3DItem, &sipType_QCustom3DItem, 38, 9},
43
+ {sipName_QCustom3DItem, &sipType_QCustom3DItem, 39, 9},
44
44
  {sipName_QGraphsTheme, &sipType_QGraphsTheme, -1, 10},
45
- {sipName_QValue3DAxisFormatter, &sipType_QValue3DAxisFormatter, 40, 11},
45
+ {sipName_QValue3DAxisFormatter, &sipType_QValue3DAxisFormatter, 41, 11},
46
46
  {sipName_QPieModelMapper, &sipType_QPieModelMapper, -1, 12},
47
47
  {sipName_QPieSlice, &sipType_QPieSlice, -1, 13},
48
48
  {sipName_QXYModelMapper, &sipType_QXYModelMapper, -1, -1},
@@ -58,27 +58,32 @@ class QAbstractDataProxy : public QObject /NoDefaultCtors/
58
58
  #endif
59
59
  {sipName_QBarCategoryAxis, &sipType_QBarCategoryAxis, -1, 21},
60
60
  {sipName_QDateTimeAxis, &sipType_QDateTimeAxis, -1, 22},
61
+ #if QT_VERSION >= 0x060c00
62
+ {sipName_QLogValueAxis, &sipType_QLogValueAxis, -1, 23},
63
+ #else
64
+ {0, 0, -1, 23},
65
+ #endif
61
66
  {sipName_QValueAxis, &sipType_QValueAxis, -1, -1},
62
- {sipName_QBarDataProxy, &sipType_QBarDataProxy, 26, 24},
63
- {sipName_QSurfaceDataProxy, &sipType_QSurfaceDataProxy, 27, 25},
64
- {sipName_QScatterDataProxy, &sipType_QScatterDataProxy, 29, -1},
67
+ {sipName_QBarDataProxy, &sipType_QBarDataProxy, 27, 25},
68
+ {sipName_QSurfaceDataProxy, &sipType_QSurfaceDataProxy, 28, 26},
69
+ {sipName_QScatterDataProxy, &sipType_QScatterDataProxy, 30, -1},
65
70
  {sipName_QItemModelBarDataProxy, &sipType_QItemModelBarDataProxy, -1, -1},
66
- {sipName_QHeightMapSurfaceDataProxy, &sipType_QHeightMapSurfaceDataProxy, -1, 28},
71
+ {sipName_QHeightMapSurfaceDataProxy, &sipType_QHeightMapSurfaceDataProxy, -1, 29},
67
72
  {sipName_QItemModelSurfaceDataProxy, &sipType_QItemModelSurfaceDataProxy, -1, -1},
68
73
  {sipName_QItemModelScatterDataProxy, &sipType_QItemModelScatterDataProxy, -1, -1},
69
- {sipName_QAreaSeries, &sipType_QAreaSeries, -1, 31},
70
- {sipName_QBarSeries, &sipType_QBarSeries, -1, 32},
74
+ {sipName_QAreaSeries, &sipType_QAreaSeries, -1, 32},
75
+ {sipName_QBarSeries, &sipType_QBarSeries, -1, 33},
71
76
  #if QT_VERSION >= 0x060b00
72
- {sipName_QCustomSeries, &sipType_QCustomSeries, -1, 33},
77
+ {sipName_QCustomSeries, &sipType_QCustomSeries, -1, 34},
73
78
  #else
74
- {0, 0, -1, 33},
79
+ {0, 0, -1, 34},
75
80
  #endif
76
- {sipName_QXYSeries, &sipType_QXYSeries, 35, 34},
81
+ {sipName_QXYSeries, &sipType_QXYSeries, 36, 35},
77
82
  {sipName_QPieSeries, &sipType_QPieSeries, -1, -1},
78
- {sipName_QLineSeries, &sipType_QLineSeries, -1, 36},
79
- {sipName_QScatterSeries, &sipType_QScatterSeries, -1, 37},
83
+ {sipName_QLineSeries, &sipType_QLineSeries, -1, 37},
84
+ {sipName_QScatterSeries, &sipType_QScatterSeries, -1, 38},
80
85
  {sipName_QSplineSeries, &sipType_QSplineSeries, -1, -1},
81
- {sipName_QCustom3DLabel, &sipType_QCustom3DLabel, -1, 39},
86
+ {sipName_QCustom3DLabel, &sipType_QCustom3DLabel, -1, 40},
82
87
  {sipName_QCustom3DVolume, &sipType_QCustom3DVolume, -1, -1},
83
88
  {sipName_QLogValue3DAxisFormatter, &sipType_QLogValue3DAxisFormatter, -1, -1},
84
89
  };
@@ -124,7 +124,7 @@
124
124
  };
125
125
 
126
126
 
127
- %MappedType QList<unsigned char> /TypeHint="sip.array"/
127
+ %MappedType QList<unsigned char> /TypeHint="PyQt6.sip.array"/
128
128
  {
129
129
  %TypeHeaderCode
130
130
  #include <qlist.h>
@@ -96,4 +96,22 @@ signals:
96
96
  %If (QtGraphs_6_11_0 -)
97
97
  void visualMaxChanged(const QDateTime &newMax);
98
98
  %End
99
+
100
+ public:
101
+ %If (QtGraphs_6_12_0 -)
102
+ qsizetype tickCount() const;
103
+ %End
104
+ %If (QtGraphs_6_12_0 -)
105
+ void setTickCount(qsizetype count);
106
+ %End
107
+
108
+ signals:
109
+ %If (QtGraphs_6_12_0 -)
110
+ void tickCountChanged(qsizetype count);
111
+ %End
99
112
  };
113
+
114
+ %TypeHintCode
115
+ # Support for QDate, QDateTime and QTime.
116
+ import datetime
117
+ %End
@@ -129,5 +129,14 @@ namespace QtGraphs3D
129
129
  ColumnImage,
130
130
  };
131
131
 
132
+ %End
133
+ %If (QtGraphs_6_12_0 -)
134
+
135
+ enum class DragMode
136
+ {
137
+ Rotate,
138
+ Pan,
139
+ };
140
+
132
141
  %End
133
142
  };
@@ -0,0 +1,77 @@
1
+ // qlogvalueaxis.sip generated by MetaSIP
2
+ //
3
+ // This file is part of the QtGraphs Python extension module.
4
+ //
5
+ // Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
6
+ //
7
+ // This file is part of PyQt6-Graphs.
8
+ //
9
+ // This file may be used under the terms of the GNU General Public License
10
+ // version 3.0 as published by the Free Software Foundation and appearing in
11
+ // the file LICENSE included in the packaging of this file. Please review the
12
+ // following information to ensure the GNU General Public License version 3.0
13
+ // requirements will be met: http://www.gnu.org/copyleft/gpl.html.
14
+ //
15
+ // If you do not wish to use this file under the terms of the GPL version 3.0
16
+ // then you may purchase a commercial license. For more information contact
17
+ // info@riverbankcomputing.com.
18
+ //
19
+ // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20
+ // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21
+
22
+
23
+ %If (QtGraphs_6_12_0 -)
24
+
25
+ class QLogValueAxis : public QAbstractAxis
26
+ {
27
+ %TypeHeaderCode
28
+ #include <qlogvalueaxis.h>
29
+ %End
30
+
31
+ public:
32
+ explicit QLogValueAxis(QObject *parent /TransferThis/ = 0);
33
+ virtual ~QLogValueAxis();
34
+ virtual QAbstractAxis::AxisType type() const;
35
+ void setMin(qreal min);
36
+ qreal min() const;
37
+ void setMax(qreal max);
38
+ qreal max() const;
39
+ void setRange(qreal min, qreal max);
40
+ void setBase(qreal base);
41
+ qreal base() const;
42
+ void setSubTickCount(qsizetype count);
43
+ qsizetype subTickCount() const;
44
+ qsizetype tickCount() const;
45
+ void setLabelFormat(const QString &format);
46
+ QString labelFormat() const;
47
+ void setLabelPostFormat(const QString &format);
48
+ QString labelPostFormat() const;
49
+ void setLabelPrecision(int decimals);
50
+ int labelPrecision() const;
51
+ void setZoom(qreal zoom);
52
+ qreal zoom() const;
53
+ void setPan(qreal pan);
54
+ qreal pan() const;
55
+ qreal visualMin() const;
56
+ qreal visualMax() const;
57
+
58
+ signals:
59
+ void minChanged(qreal min);
60
+ void maxChanged(qreal max);
61
+ void baseChanged(qreal base);
62
+ void rangeChanged(qreal min, qreal max);
63
+ void subTickCountChanged(qsizetype subTickCount);
64
+ void labelFormatChanged(const QString &format);
65
+ void labelPostFormatChanged(const QString &format);
66
+ void labelPrecisionChanged(int precision);
67
+ void tickCountChanged(qsizetype tickCount);
68
+ void zoomChanged(qreal zoom);
69
+ void panChanged(qreal pan);
70
+ void visualMinChanged(qreal visualMin);
71
+ void visualMaxChanged(qreal visualMax);
72
+
73
+ protected:
74
+ virtual bool event(QEvent *event);
75
+ };
76
+
77
+ %End
@@ -124,4 +124,26 @@ signals:
124
124
  %If (QtGraphs_6_10_0 -)
125
125
  void angleSpanLabelVisibilityChanged(QPieSeries::LabelVisibility visibility);
126
126
  %End
127
+
128
+ public:
129
+ %If (QtGraphs_6_12_0 -)
130
+ QList<qreal> sliceData() const;
131
+ %End
132
+ %If (QtGraphs_6_12_0 -)
133
+ void setSliceData(const QList<qreal> &newSliceData);
134
+ %End
135
+ %If (QtGraphs_6_12_0 -)
136
+ QStringList sliceLabels();
137
+ %End
138
+ %If (QtGraphs_6_12_0 -)
139
+ void setSliceLabels(QStringList newLabels);
140
+ %End
141
+
142
+ signals:
143
+ %If (QtGraphs_6_12_0 -)
144
+ void sliceDataChanged(const QList<qreal> &sliceData);
145
+ %End
146
+ %If (QtGraphs_6_12_0 -)
147
+ void sliceLabelsChanged(const QStringList &sliceLabels);
148
+ %End
127
149
  };
@@ -92,4 +92,17 @@ signals:
92
92
  %If (QtGraphs_6_11_0 -)
93
93
  void visualMaxChanged(qreal newVisualMax);
94
94
  %End
95
+
96
+ public:
97
+ %If (QtGraphs_6_12_0 -)
98
+ void setLabelPostFormat(const QString &format);
99
+ %End
100
+ %If (QtGraphs_6_12_0 -)
101
+ QString labelPostFormat() const;
102
+ %End
103
+
104
+ signals:
105
+ %If (QtGraphs_6_12_0 -)
106
+ void labelPostFormatChanged(const QString &format);
107
+ %End
95
108
  };
@@ -90,4 +90,53 @@ signals:
90
90
  %If (QtGraphs_6_9_0 -)
91
91
  void released(QPoint point);
92
92
  %End
93
+
94
+ public:
95
+ %If (QtGraphs_6_12_0 -)
96
+
97
+ enum class ValueMapping
98
+ {
99
+ X,
100
+ Y,
101
+ };
102
+
103
+ %End
104
+ %If (QtGraphs_6_12_0 -)
105
+ QVariantList values() const;
106
+ %End
107
+ %If (QtGraphs_6_12_0 -)
108
+ void setValues(QVariantList values);
109
+ %End
110
+ %If (QtGraphs_6_12_0 -)
111
+ QXYSeries::ValueMapping valueMapping() const;
112
+ %End
113
+ %If (QtGraphs_6_12_0 -)
114
+ void setValueMapping(QXYSeries::ValueMapping newHint);
115
+ %End
116
+ %If (QtGraphs_6_12_0 -)
117
+ qreal valueMin() const;
118
+ %End
119
+ %If (QtGraphs_6_12_0 -)
120
+ void setValueMin(qreal newMin);
121
+ %End
122
+ %If (QtGraphs_6_12_0 -)
123
+ qreal stepSize() const;
124
+ %End
125
+ %If (QtGraphs_6_12_0 -)
126
+ void setStepSize(qreal stepSize);
127
+ %End
128
+
129
+ signals:
130
+ %If (QtGraphs_6_12_0 -)
131
+ void valuesChanged(const QVariantList &values);
132
+ %End
133
+ %If (QtGraphs_6_12_0 -)
134
+ void valueMappingChanged(QXYSeries::ValueMapping newHint);
135
+ %End
136
+ %If (QtGraphs_6_12_0 -)
137
+ void valueMinChanged(qreal newMin);
138
+ %End
139
+ %If (QtGraphs_6_12_0 -)
140
+ void stepSizeChanged(qreal newStepSize);
141
+ %End
93
142
  };
@@ -23,8 +23,10 @@
23
23
  %Module(name=PyQt6.QtGraphsWidgets, keyword_arguments="Optional", use_limited_api=True)
24
24
 
25
25
  %Import QtCore/QtCoremod.sip
26
- %Import QtGraphs/QtGraphsmod.sip
26
+ %Import QtGui/QtGuimod.sip
27
+ %Import QtQuick/QtQuickmod.sip
27
28
  %Import QtQuickWidgets/QtQuickWidgetsmod.sip
29
+ %Import QtGraphs/QtGraphsmod.sip
28
30
 
29
31
  %Copying
30
32
  Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
@@ -62,35 +62,87 @@ public:
62
62
  void addTheme(QGraphsTheme *theme /Transfer/);
63
63
  void releaseTheme(QGraphsTheme *theme /TransferBack/);
64
64
  QGraphsTheme *activeTheme() const;
65
+
66
+ public slots:
65
67
  void setActiveTheme(QGraphsTheme *activeTheme);
68
+
69
+ public:
66
70
  QList<QGraphsTheme *> themes() const;
67
71
  QtGraphs3D::ShadowQuality shadowQuality() const;
72
+
73
+ public slots:
68
74
  void setShadowQuality(const QtGraphs3D::ShadowQuality &shadowQuality);
75
+
76
+ public:
69
77
  QtGraphs3D::SelectionFlags selectionMode() const;
78
+
79
+ public slots:
70
80
  void setSelectionMode(const QtGraphs3D::SelectionFlags &selectionMode);
81
+
82
+ public:
71
83
  Q3DScene *scene() const;
84
+
85
+ public slots:
72
86
  void setMeasureFps(bool enable);
87
+
88
+ public:
73
89
  bool measureFps() const;
74
90
  int currentFps() const;
91
+
92
+ public slots:
75
93
  void setOrthoProjection(bool enable);
94
+
95
+ public:
76
96
  bool isOrthoProjection() const;
77
97
  QtGraphs3D::ElementType selectedElement() const;
98
+
99
+ public slots:
78
100
  void setAspectRatio(qreal ratio);
101
+
102
+ public:
79
103
  qreal aspectRatio() const;
104
+
105
+ public slots:
80
106
  void setOptimizationHint(QtGraphs3D::OptimizationHint hint);
107
+
108
+ public:
81
109
  QtGraphs3D::OptimizationHint optimizationHint() const;
110
+
111
+ public slots:
82
112
  void setPolar(bool enable);
113
+
114
+ public:
83
115
  bool isPolar() const;
116
+
117
+ public slots:
84
118
  void setLabelMargin(float margin);
119
+
120
+ public:
85
121
  float labelMargin() const;
122
+
123
+ public slots:
86
124
  void setRadialLabelOffset(float offset);
125
+
126
+ public:
87
127
  float radialLabelOffset() const;
128
+
129
+ public slots:
88
130
  void setHorizontalAspectRatio(qreal ratio);
131
+
132
+ public:
89
133
  qreal horizontalAspectRatio() const;
134
+
135
+ public slots:
90
136
  void setLocale(const QLocale &locale);
137
+
138
+ public:
91
139
  QLocale locale() const;
92
140
  QVector3D queriedGraphPosition() const;
141
+
142
+ public slots:
93
143
  void setMargin(qreal margin);
144
+
145
+ public:
94
146
  qreal margin() const;
95
147
  void clearSelection();
96
148
  bool hasSeries(QAbstract3DSeries *series) const;
@@ -117,53 +169,141 @@ public:
117
169
  %End
118
170
 
119
171
  QtGraphs3D::CameraPreset cameraPreset() const;
172
+
173
+ public slots:
120
174
  void setCameraPreset(QtGraphs3D::CameraPreset preset);
175
+
176
+ public:
121
177
  float cameraXRotation() const;
178
+
179
+ public slots:
122
180
  void setCameraXRotation(float rotation);
181
+
182
+ public:
123
183
  float cameraYRotation() const;
184
+
185
+ public slots:
124
186
  void setCameraYRotation(float rotation);
187
+
188
+ public:
125
189
  float minCameraXRotation() const;
190
+
191
+ public slots:
126
192
  void setMinCameraXRotation(float rotation);
193
+
194
+ public:
127
195
  float maxCameraXRotation() const;
196
+
197
+ public slots:
128
198
  void setMaxCameraXRotation(float rotation);
199
+
200
+ public:
129
201
  float minCameraYRotation() const;
202
+
203
+ public slots:
130
204
  void setMinCameraYRotation(float rotation);
205
+
206
+ public:
131
207
  float maxCameraYRotation() const;
208
+
209
+ public slots:
132
210
  void setMaxCameraYRotation(float rotation);
133
211
  void setZoomAtTargetEnabled(bool enable);
212
+
213
+ public:
134
214
  bool isZoomAtTargetEnabled() const;
215
+
216
+ public slots:
135
217
  void setZoomEnabled(bool enable);
218
+
219
+ public:
136
220
  bool isZoomEnabled() const;
221
+
222
+ public slots:
137
223
  void setSelectionEnabled(bool enable);
224
+
225
+ public:
138
226
  bool isSelectionEnabled() const;
227
+
228
+ public slots:
139
229
  void setRotationEnabled(bool enable);
230
+
231
+ public:
140
232
  bool isRotationEnabled() const;
141
233
  float cameraZoomLevel() const;
234
+
235
+ public slots:
142
236
  void setCameraZoomLevel(float level);
237
+
238
+ public:
143
239
  float minCameraZoomLevel() const;
240
+
241
+ public slots:
144
242
  void setMinCameraZoomLevel(float level);
243
+
244
+ public:
145
245
  float maxCameraZoomLevel() const;
246
+
247
+ public slots:
146
248
  void setMaxCameraZoomLevel(float level);
249
+
250
+ public:
147
251
  QVector3D cameraTargetPosition() const;
252
+
253
+ public slots:
148
254
  void setCameraTargetPosition(QVector3D target);
255
+
256
+ public:
149
257
  bool wrapCameraXRotation() const;
258
+
259
+ public slots:
150
260
  void setWrapCameraXRotation(bool wrap);
261
+
262
+ public:
151
263
  bool wrapCameraYRotation() const;
264
+
265
+ public slots:
152
266
  void setWrapCameraYRotation(bool wrap);
153
267
  void setCameraPosition(float horizontal, float vertical, float zoom = 100.F);
268
+
269
+ public:
154
270
  int msaaSamples() const;
271
+
272
+ public slots:
155
273
  void setMsaaSamples(int samples);
274
+
275
+ public:
156
276
  float ambientLightStrength() const;
277
+
278
+ public slots:
157
279
  void setAmbientLightStrength(float newAmbientLightStrength);
280
+
281
+ public:
158
282
  float lightStrength() const;
283
+
284
+ public slots:
159
285
  void setLightStrength(float newLightStrength);
286
+
287
+ public:
160
288
  float shadowStrength() const;
289
+
290
+ public slots:
161
291
  void setShadowStrength(float newShadowStrength);
292
+
293
+ public:
162
294
  QColor lightColor() const;
295
+
296
+ public slots:
163
297
  void setLightColor(QColor newLightColor);
298
+
299
+ public:
164
300
  QtGraphs3D::GridLineType gridLineType() const;
301
+
302
+ public slots:
165
303
  void setGridLineType(const QtGraphs3D::GridLineType &gridLineType);
166
304
  void setWidget(QQuickWidget *widget);
305
+
306
+ public:
167
307
  QQuickWidget *widget() const;
168
308
 
169
309
  protected:
@@ -239,4 +379,31 @@ signals:
239
379
  %If (QtGraphs_6_11_0 -)
240
380
  void cutoffMarginChanged(qreal newMargin);
241
381
  %End
382
+
383
+ public:
384
+ %If (QtGraphs_6_12_0 -)
385
+ bool isPanEnabled() const;
386
+ %End
387
+ %If (QtGraphs_6_12_0 -)
388
+ QtGraphs3D::DragMode dragMode() const;
389
+ %End
390
+
391
+ public slots:
392
+ %If (QtGraphs_6_12_0 -)
393
+ void setPanEnabled(bool enable);
394
+ %End
395
+ %If (QtGraphs_6_12_0 -)
396
+ void setDragMode(QtGraphs3D::DragMode newDragMode);
397
+ %End
398
+ %If (QtGraphs_6_12_0 -)
399
+ void setPanButton(Qt::MouseButtons button);
400
+ %End
401
+
402
+ signals:
403
+ %If (QtGraphs_6_12_0 -)
404
+ void panEnabledChanged(bool enable);
405
+ %End
406
+ %If (QtGraphs_6_12_0 -)
407
+ void dragModeChanged(QtGraphs3D::DragMode dragMode);
408
+ %End
242
409
  };
File without changes
File without changes