diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-09-18 10:33:50 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-09-18 20:11:10 +0200 |
| commit | fe5020b7e218078562c6b9b35d005553f53255fb (patch) | |
| tree | 3b362d3a228e0b331771d9816474d0cdf60286df /examples/graphs/3d/widgetgraphgallery/scattergraph.py | |
| parent | 496ffda6aa0915ce6982093290aa565b8b464348 (diff) | |
widgetgraphgallery: Fix up and port away from deprecated QCheckBox::checkStateChanged()
Adapt to qtbase/3512fb1ec5ff088772170540c4e91b1886fbea45 .
Remove obsolete options and adapt to some API changes.
Task-number: PYSIDE-2620
Change-Id: I11738858cc9107129c0d0137043bae65d8cb4ac9
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'examples/graphs/3d/widgetgraphgallery/scattergraph.py')
| -rw-r--r-- | examples/graphs/3d/widgetgraphgallery/scattergraph.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/graphs/3d/widgetgraphgallery/scattergraph.py b/examples/graphs/3d/widgetgraphgallery/scattergraph.py index 5c8d01e37..00b7fff69 100644 --- a/examples/graphs/3d/widgetgraphgallery/scattergraph.py +++ b/examples/graphs/3d/widgetgraphgallery/scattergraph.py @@ -106,9 +106,9 @@ class ScatterGraph(QObject): itemCountButton.clicked.connect(modifier.toggleItemCount) rangeButton.clicked.connect(modifier.toggleRanges) - backgroundCheckBox.stateChanged.connect(modifier.setPlotAreaBackgroundVisible) - gridCheckBox.stateChanged.connect(modifier.setGridVisible) - smoothCheckBox.stateChanged.connect(modifier.setSmoothDots) + backgroundCheckBox.checkStateChanged.connect(modifier.setPlotAreaBackgroundVisible) + gridCheckBox.checkStateChanged.connect(modifier.setGridVisible) + smoothCheckBox.checkStateChanged.connect(modifier.setSmoothDots) modifier.backgroundEnabledChanged.connect(backgroundCheckBox.setChecked) modifier.gridVisibleChanged.connect(gridCheckBox.setChecked) |
