Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package qt6-charts for openSUSE:Factory checked in at 2026-10-18 19:21:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qt6-charts (Old) and /work/SRC/openSUSE:Factory/.qt6-charts.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qt6-charts" Sun Oct 18 19:21:17 2026 rev:43 rq:1384386 version:6.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qt6-charts/qt6-charts.changes 2026-08-21 16:51:26.492960160 +0200 +++ /work/SRC/openSUSE:Factory/.qt6-charts.new.3698736/qt6-charts.changes 2026-10-18 19:21:18.974764978 +0200 @@ -1,0 +2,6 @@ +Wed Sep 30 16:08:44 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 6.12.0 + https://www.qt.io/blog/qt-6.12-released + +------------------------------------------------------------------- Old: ---- qtcharts-everywhere-src-6.11.2.tar.xz New: ---- qtcharts-everywhere-src-6.12.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qt6-charts.spec ++++++ --- /var/tmp/diff_new_pack.rmUy9R/_old 2026-10-18 19:21:19.746797029 +0200 +++ /var/tmp/diff_new_pack.rmUy9R/_new 2026-10-18 19:21:19.748797112 +0200 @@ -16,8 +16,8 @@ # -%define real_version 6.11.2 -%define short_version 6.11 +%define real_version 6.12.0 +%define short_version 6.12 %define short_name qtcharts %define tar_name qtcharts-everywhere-src %define tar_suffix %{nil} @@ -28,7 +28,7 @@ %endif # Name: qt6-charts%{?pkg_suffix} -Version: 6.11.2 +Version: 6.12.0 Release: 0 Summary: Qt 6 Charts library License: GPL-3.0-only ++++++ qtcharts-everywhere-src-6.11.2.tar.xz -> qtcharts-everywhere-src-6.12.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/.cmake.conf new/qtcharts-everywhere-src-6.12.0/.cmake.conf --- old/qtcharts-everywhere-src-6.11.2/.cmake.conf 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/.cmake.conf 2026-09-26 19:45:19.000000000 +0200 @@ -1,4 +1,4 @@ -set(QT_REPO_MODULE_VERSION "6.11.2") +set(QT_REPO_MODULE_VERSION "6.12.0") set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1") set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_QASCONST=1") list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/.tag new/qtcharts-everywhere-src-6.12.0/.tag --- old/qtcharts-everywhere-src-6.11.2/.tag 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/.tag 2026-09-26 19:45:19.000000000 +0200 @@ -1 +1 @@ -c0a033b73abe1d52429f9011fa1e7763d6d99da6 +56fc191c547f4319253fd72eccf5c4c9458b261c diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/CONTRIBUTING.md new/qtcharts-everywhere-src-6.12.0/CONTRIBUTING.md --- old/qtcharts-everywhere-src-6.11.2/CONTRIBUTING.md 1970-01-01 01:00:00.000000000 +0100 +++ new/qtcharts-everywhere-src-6.12.0/CONTRIBUTING.md 2026-09-26 19:45:19.000000000 +0200 @@ -0,0 +1,11 @@ +## Qt contribution guidelines + +We welcome contributions to Qt! + +Note that we cannot accept pull requests on GitHub. All contributions +to the Qt project are exclusively handled through the +[Gerrit code review system](https://codereview.qt-project.org). + +See +[contribute.qt-project.org](https://contribute.qt-project.org/) to learn +more. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/REUSE.toml new/qtcharts-everywhere-src-6.12.0/REUSE.toml --- old/qtcharts-everywhere-src-6.11.2/REUSE.toml 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/REUSE.toml 2026-09-26 19:45:19.000000000 +0200 @@ -35,8 +35,9 @@ SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR BSD-3-Clause" [[annotations]] -path = ["**/doc/images/**", "**/README*", "**.qdocconf", "**.qdocinc", - "src/charts/doc/style/offline.css", "**.metainfo"] +path = ["**.qdocconf", "**.qdocinc", "**/doc/images/**", "src/charts/doc/style/offline.css", + "**/README*", "CONTRIBUTING.md", + "qt_attribution.json", "**.metainfo"] comment = "documentation" precedence = "closest" SPDX-FileCopyrightText = "Copyright (C) The Qt Company Ltd." @@ -47,10 +48,3 @@ precedence = "override" SPDX-FileCopyrightText = "Copyright (C) The Qt Company Ltd." SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR BSD-3-Clause" - -[[annotations]] -path = ["**/qt_attribution.json"] -precedence = "override" -SPDX-FileCopyrightText = "Copyright (C) The Qt Company Ltd." -SPDX-License-Identifier = "LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only" - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/dependencies.yaml new/qtcharts-everywhere-src-6.12.0/dependencies.yaml --- old/qtcharts-everywhere-src-6.11.2/dependencies.yaml 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/dependencies.yaml 2026-09-26 19:45:19.000000000 +0200 @@ -1,10 +1,10 @@ dependencies: ../qtbase: - ref: ef55f427f2c8b410d34f8a7681020a3000cf6866 + ref: 025bdad181de241e81bf853c8a2d7bf3d19261a9 required: true ../qtdeclarative: - ref: 4e3399c26ec57246c08de019cfcbda8d23604cfa + ref: 4332fbbb4c340463dc8cee36dda0c85d932122d8 required: false ../qtmultimedia: - ref: 6f162ccac1425edbd7b4d1582fabab5973b43d6c + ref: 6ca885f084a3984749d53bb50a0e08bdc60e86cc required: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/examples/charts/chartsgallery/themewidget.ui new/qtcharts-everywhere-src-6.12.0/examples/charts/chartsgallery/themewidget.ui --- old/qtcharts-everywhere-src-6.11.2/examples/charts/chartsgallery/themewidget.ui 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/examples/charts/chartsgallery/themewidget.ui 2026-09-26 19:45:19.000000000 +0200 @@ -77,24 +77,64 @@ <signal>currentIndexChanged(int)</signal> <receiver>ThemeWidgetForm</receiver> <slot>updateUI()</slot> + <hints> + <hint type="sourcelabel"> + <x>85</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>85</x> + <y>300</y> + </hint> + </hints> </connection> <connection> <sender>antialiasCheckBox</sender> <signal>toggled(bool)</signal> <receiver>ThemeWidgetForm</receiver> <slot>updateUI()</slot> + <hints> + <hint type="sourcelabel"> + <x>445</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>445</x> + <y>300</y> + </hint> + </hints> </connection> <connection> <sender>legendComboBox</sender> <signal>currentIndexChanged(int)</signal> <receiver>ThemeWidgetForm</receiver> <slot>updateUI()</slot> + <hints> + <hint type="sourcelabel"> + <x>360</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>360</x> + <y>300</y> + </hint> + </hints> </connection> <connection> <sender>animatedComboBox</sender> <signal>currentIndexChanged(int)</signal> <receiver>ThemeWidgetForm</receiver> <slot>updateUI()</slot> + <hints> + <hint type="sourcelabel"> + <x>230</x> + <y>20</y> + </hint> + <hint type="destinationlabel"> + <x>230</x> + <y>300</y> + </hint> + </hints> </connection> </connections> <slots> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/licenseRule.json new/qtcharts-everywhere-src-6.12.0/licenseRule.json --- old/qtcharts-everywhere-src-6.11.2/licenseRule.json 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/licenseRule.json 2026-09-26 19:45:19.000000000 +0200 @@ -58,8 +58,9 @@ }, { "comment": "Files with the following endings are Documentation licensed.", - "file_pattern_ending": [".qdoc", ".qdocinc" , ".qdocconf", "README", "qt_attribution.json", - ".css", ".metainfo"], + "file_pattern_ending": [".qdoc", ".qdocinc" , ".qdocconf", ".css", + "README", "CONTRIBUTING.md", + "qt_attribution.json", ".metainfo"], "location":{ "": { "comment": "", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/animations/axisanimation.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/animations/axisanimation.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/animations/axisanimation.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/animations/axisanimation.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -78,7 +78,7 @@ default: { oldLayout.resize(newLayout.size()); QRectF rect = m_axis->gridGeometry(); - for (int i = 0, j = oldLayout.size() - 1; i < oldLayout.size(); ++i, --j) + for (int i = 0; i < oldLayout.size(); ++i) oldLayout[i] = m_axis->axis()->orientation() == Qt::Horizontal ? rect.left() : rect.top(); } break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/animations/boxplotanimation.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/animations/boxplotanimation.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/animations/boxplotanimation.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/animations/boxplotanimation.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -68,11 +68,9 @@ void BoxPlotAnimation::stopAll() { - for (auto box : m_animations.keys()) { - BoxWhiskersAnimation *animation = m_animations.value(box); + for (const auto &animation : std::as_const(m_animations)) animation->stopAndDestroyLater(); - m_animations.remove(box); - } + m_animations.clear(); } void BoxPlotAnimation::removeBoxAnimation(BoxWhiskers *box) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/animations/candlestickanimation.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/animations/candlestickanimation.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/animations/candlestickanimation.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/animations/candlestickanimation.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -74,12 +74,11 @@ void CandlestickAnimation::stopAll() { - for (auto candlestick : m_animations.keys()) { - CandlestickBodyWicksAnimation *animation = m_animations.value(candlestick, 0); + for (const auto &animation : std::as_const(m_animations)) { if (animation) animation->stopAndDestroyLater(); - m_animations.remove(candlestick); } + m_animations.clear(); } void CandlestickAnimation::removeCandlestickAnimation(Candlestick *candlestick) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/barcategoryaxis/chartbarcategoryaxisx.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/barcategoryaxis/chartbarcategoryaxisx.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/barcategoryaxis/chartbarcategoryaxisx.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/barcategoryaxis/chartbarcategoryaxisx.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -78,6 +78,7 @@ void ChartBarCategoryAxisX::handleCategoriesChanged() { + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/barcategoryaxis/chartbarcategoryaxisy.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/barcategoryaxis/chartbarcategoryaxisy.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/barcategoryaxis/chartbarcategoryaxisy.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/barcategoryaxis/chartbarcategoryaxisy.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -77,6 +77,7 @@ void ChartBarCategoryAxisY::handleCategoriesChanged() { + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/barcategoryaxis/qbarcategoryaxis.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/barcategoryaxis/qbarcategoryaxis.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/barcategoryaxis/qbarcategoryaxis.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/barcategoryaxis/qbarcategoryaxis.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -180,7 +180,7 @@ int count = d->m_categories.size(); - for (auto category : categories) { + for (const auto &category : categories) { if (!d->m_categories.contains(category) && !category.isNull()) { d->m_categories.append(category); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/chartcategoryaxisx.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/chartcategoryaxisx.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/chartcategoryaxisx.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/chartcategoryaxisx.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -101,6 +101,7 @@ void ChartCategoryAxisX::handleCategoriesChanged() { + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/chartcategoryaxisy.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/chartcategoryaxisy.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/chartcategoryaxisy.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/chartcategoryaxisy.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -101,6 +101,7 @@ void ChartCategoryAxisY::handleCategoriesChanged() { + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/polarchartcategoryaxisangular.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/polarchartcategoryaxisangular.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/polarchartcategoryaxisangular.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/polarchartcategoryaxisangular.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -53,6 +53,7 @@ void PolarChartCategoryAxisAngular::handleCategoriesChanged() { + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/polarchartcategoryaxisradial.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/polarchartcategoryaxisradial.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/polarchartcategoryaxisradial.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/polarchartcategoryaxisradial.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -53,6 +53,7 @@ void PolarChartCategoryAxisRadial::handleCategoriesChanged() { + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/qcategoryaxis.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/qcategoryaxis.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/qcategoryaxis.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/qcategoryaxis.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -354,6 +354,7 @@ } m_item.reset(axis); + // AXIVION Next Line Qt-SkippedBaseMethod: intentionally skipping QValueAxisPrivate QAbstractAxisPrivate::initializeGraphics(parent); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/qcategoryaxis.h new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/qcategoryaxis.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/categoryaxis/qcategoryaxis.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/categoryaxis/qcategoryaxis.h 2026-09-26 19:45:19.000000000 +0200 @@ -18,7 +18,6 @@ Q_PROPERTY(int count READ count) Q_PROPERTY(QStringList categoriesLabels READ categoriesLabels) Q_PROPERTY(AxisLabelsPosition labelsPosition READ labelsPosition WRITE setLabelsPosition NOTIFY labelsPositionChanged) - Q_ENUMS(AxisLabelsPosition) public: @@ -26,6 +25,7 @@ AxisLabelsPositionCenter = 0x0, AxisLabelsPositionOnValue = 0x1 }; + Q_ENUM(AxisLabelsPosition) explicit QCategoryAxis(QObject *parent = nullptr); ~QCategoryAxis(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/chartaxiselement.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/chartaxiselement.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/chartaxiselement.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/chartaxiselement.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -448,8 +448,9 @@ gradient.setColorAt(stop.first, stop.second); } else { gradient = QLinearGradient(QPointF(0, 0), QPointF(0, height)); - for (int i = colorAxis->gradient().stops().size() - 1; i >= 0; --i) { - auto stop = colorAxis->gradient().stops()[i]; + const auto &stops = colorAxis->gradient().stops(); + for (int i = stops.size() - 1; i >= 0; --i) { + const auto &stop = stops.at(i); gradient.setColorAt(1 - stop.first, stop.second); } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/chartdatetimeaxisx.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/chartdatetimeaxisx.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/chartdatetimeaxisx.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/chartdatetimeaxisx.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -51,6 +51,7 @@ void ChartDateTimeAxisX::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -59,6 +60,7 @@ void ChartDateTimeAxisX::handleFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/chartdatetimeaxisy.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/chartdatetimeaxisy.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/chartdatetimeaxisy.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/chartdatetimeaxisy.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -52,6 +52,7 @@ void ChartDateTimeAxisY::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -60,6 +61,7 @@ void ChartDateTimeAxisY::handleFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/datetimeaxislabel.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/datetimeaxislabel.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/datetimeaxislabel.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/datetimeaxislabel.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -64,7 +64,7 @@ return; } - QGraphicsTextItem::keyPressEvent(event); + EditableAxisLabel::keyPressEvent(event); } QT_END_NAMESPACE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/polarchartdatetimeaxisangular.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/polarchartdatetimeaxisangular.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/polarchartdatetimeaxisangular.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/polarchartdatetimeaxisangular.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -45,6 +45,7 @@ void PolarChartDateTimeAxisAngular::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -53,6 +54,7 @@ void PolarChartDateTimeAxisAngular::handleFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/polarchartdatetimeaxisradial.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/polarchartdatetimeaxisradial.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/datetimeaxis/polarchartdatetimeaxisradial.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/datetimeaxis/polarchartdatetimeaxisradial.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -44,6 +44,7 @@ void PolarChartDateTimeAxisRadial::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -52,6 +53,7 @@ void PolarChartDateTimeAxisRadial::handleFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/chartlogvalueaxisx.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/chartlogvalueaxisx.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/chartlogvalueaxisx.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/chartlogvalueaxisx.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -52,6 +52,7 @@ void ChartLogValueAxisX::handleBaseChanged(qreal base) { Q_UNUSED(base); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } @@ -59,6 +60,7 @@ void ChartLogValueAxisX::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/chartlogvalueaxisy.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/chartlogvalueaxisy.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/chartlogvalueaxisy.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/chartlogvalueaxisy.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -53,6 +53,7 @@ void ChartLogValueAxisY::handleBaseChanged(qreal base) { Q_UNUSED(base); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } @@ -60,6 +61,7 @@ void ChartLogValueAxisY::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if(presenter()) presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/polarchartlogvalueaxisangular.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/polarchartlogvalueaxisangular.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/polarchartlogvalueaxisangular.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/polarchartlogvalueaxisangular.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -54,6 +54,7 @@ void PolarChartLogValueAxisAngular::handleBaseChanged(qreal base) { Q_UNUSED(base); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -62,6 +63,7 @@ void PolarChartLogValueAxisAngular::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/polarchartlogvalueaxisradial.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/polarchartlogvalueaxisradial.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/logvalueaxis/polarchartlogvalueaxisradial.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/logvalueaxis/polarchartlogvalueaxisradial.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -53,6 +53,7 @@ void PolarChartLogValueAxisRadial::handleBaseChanged(qreal base) { Q_UNUSED(base); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -61,6 +62,7 @@ void PolarChartLogValueAxisRadial::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/polarchartaxisangular.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/polarchartaxisangular.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/polarchartaxisangular.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/polarchartaxisangular.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -22,7 +22,7 @@ void PolarChartAxisAngular::updateGeometry() { - QGraphicsLayoutItem::updateGeometry(); + PolarChartAxis::updateGeometry(); const QList<qreal> &layout = this->layout(); if (layout.isEmpty() && axis()->type() != QAbstractAxis::AxisTypeLogValue) @@ -35,8 +35,6 @@ QList<QGraphicsItem *> gridItemList = gridItems(); QList<QGraphicsItem *> labelItemList = labelItems(); QList<QGraphicsItem *> shadeItemList = shadeItems(); - QList<QGraphicsItem *> minorGridItemList = minorGridItems(); - QList<QGraphicsItem *> minorArrowItemList = minorArrowItems(); QGraphicsTextItem *title = titleItem(); QGraphicsEllipseItem *axisLine = static_cast<QGraphicsEllipseItem *>(arrowItemList.at(0)); @@ -356,7 +354,6 @@ createAxisLabels(layout); QStringList labelList = labels(); - QFont font = axis()->labelsFont(); QRectF maxRect; maxRect.setSize(maxSize); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/polarchartaxisradial.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/polarchartaxisradial.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/polarchartaxisradial.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/polarchartaxisradial.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -34,8 +34,6 @@ QList<QGraphicsItem *> gridItemList = gridItems(); QList<QGraphicsItem *> labelItemList = labelItems(); QList<QGraphicsItem *> shadeItemList = shadeItems(); - QList<QGraphicsItem *> minorGridItemList = minorGridItems(); - QList<QGraphicsItem *> minorArrowItemList = minorArrowItems(); QGraphicsTextItem* title = titleItem(); qreal radius = axisGeometry().height() / 2.0; @@ -221,7 +219,7 @@ title->setRotation(270.0); } - QGraphicsLayoutItem::updateGeometry(); + PolarChartAxis::updateGeometry(); } Qt::Orientation PolarChartAxisRadial::orientation() const diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/chartvalueaxisx.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/chartvalueaxisx.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/chartvalueaxisx.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/chartvalueaxisx.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -87,6 +87,7 @@ void ChartValueAxisX::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -94,6 +95,7 @@ void ChartValueAxisX::handleMinorTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -102,6 +104,7 @@ void ChartValueAxisX::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -109,6 +112,7 @@ void ChartValueAxisX::handleTickIntervalChanged(qreal interval) { Q_UNUSED(interval); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -116,6 +120,7 @@ void ChartValueAxisX::handleTickAnchorChanged(qreal anchor) { Q_UNUSED(anchor); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -123,6 +128,7 @@ void ChartValueAxisX::handleTickTypeChanged(QValueAxis::TickType type) { Q_UNUSED(type); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/chartvalueaxisy.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/chartvalueaxisy.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/chartvalueaxisy.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/chartvalueaxisy.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -86,6 +86,7 @@ void ChartValueAxisY::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -93,6 +94,7 @@ void ChartValueAxisY::handleMinorTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -101,6 +103,7 @@ void ChartValueAxisY::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -108,6 +111,7 @@ void ChartValueAxisY::handleTickIntervalChanged(qreal interval) { Q_UNUSED(interval); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -115,6 +119,7 @@ void ChartValueAxisY::handleTickAnchorChanged(qreal anchor) { Q_UNUSED(anchor); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } @@ -122,6 +127,7 @@ void ChartValueAxisY::handleTickTypeChanged(QValueAxis::TickType type) { Q_UNUSED(type); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/polarchartvalueaxisangular.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/polarchartvalueaxisangular.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/polarchartvalueaxisangular.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/polarchartvalueaxisangular.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -49,6 +49,7 @@ void PolarChartValueAxisAngular::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -57,6 +58,7 @@ void PolarChartValueAxisAngular::handleMinorTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -65,6 +67,7 @@ void PolarChartValueAxisAngular::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/polarchartvalueaxisradial.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/polarchartvalueaxisradial.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/polarchartvalueaxisradial.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/polarchartvalueaxisradial.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -48,6 +48,7 @@ void PolarChartValueAxisRadial::handleTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -56,6 +57,7 @@ void PolarChartValueAxisRadial::handleMinorTickCountChanged(int tick) { Q_UNUSED(tick); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); @@ -64,6 +66,7 @@ void PolarChartValueAxisRadial::handleLabelFormatChanged(const QString &format) { Q_UNUSED(format); + // AXIVION Next Line Qt-SkippedBaseMethod: not an override QGraphicsLayoutItem::updateGeometry(); if (presenter()) presenter()->layout()->invalidate(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/qvalueaxis.h new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/qvalueaxis.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/qvalueaxis.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/qvalueaxis.h 2026-09-26 19:45:19.000000000 +0200 @@ -24,13 +24,13 @@ REVISION(2, 3)) Q_PROPERTY(TickType tickType READ tickType WRITE setTickType NOTIFY tickTypeChanged REVISION(2, 3)) - Q_ENUMS(TickType) public: enum TickType { TicksDynamic = 0, TicksFixed }; + Q_ENUM(TickType) public: explicit QValueAxis(QObject *parent = nullptr); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/valueaxislabel.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/valueaxislabel.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/axis/valueaxis/valueaxislabel.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/axis/valueaxis/valueaxislabel.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -70,7 +70,7 @@ return; } } - QGraphicsTextItem::keyPressEvent(event); + EditableAxisLabel::keyPressEvent(event); } QT_END_NAMESPACE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/barchart/abstractbarchartitem_p.h new/qtcharts-everywhere-src-6.12.0/src/charts/barchart/abstractbarchartitem_p.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/barchart/abstractbarchartitem_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/barchart/abstractbarchartitem_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -19,7 +19,7 @@ #include <QtCharts/private/qchartglobal_p.h> #include <QtGui/QPen> #include <QtGui/QBrush> -#include <QtCore/QMap> +#include <QtCore/qhash.h> #include <QtCore/QList> QT_BEGIN_NAMESPACE @@ -83,8 +83,8 @@ BarAnimation *m_animation; QAbstractBarSeries *m_series; // Not owned. - QMap<QBarSet *, QList<Bar *> > m_barMap; - QMap<QBarSet *, QHash<int, Bar *> > m_indexForBarMap; + QHash<QBarSet *, QList<Bar *> > m_barMap; + QHash<QBarSet *, QHash<int, Bar *> > m_indexForBarMap; int m_firstCategory; int m_lastCategory; int m_categoryCount; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/barchart/qabstractbarseries.h new/qtcharts-everywhere-src-6.12.0/src/charts/barchart/qabstractbarseries.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/barchart/qabstractbarseries.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/barchart/qabstractbarseries.h 2026-09-26 19:45:19.000000000 +0200 @@ -23,7 +23,6 @@ Q_PROPERTY(LabelsPosition labelsPosition READ labelsPosition WRITE setLabelsPosition NOTIFY labelsPositionChanged) Q_PROPERTY(qreal labelsAngle READ labelsAngle WRITE setLabelsAngle NOTIFY labelsAngleChanged) Q_PROPERTY(int labelsPrecision READ labelsPrecision WRITE setLabelsPrecision NOTIFY labelsPrecisionChanged) - Q_ENUMS(LabelsPosition) public: enum LabelsPosition { @@ -32,6 +31,7 @@ LabelsInsideBase, LabelsOutsideEnd }; + Q_ENUM(LabelsPosition) public: virtual ~QAbstractBarSeries(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/boxplotchart/boxplotchartitem.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/boxplotchart/boxplotchartitem.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/boxplotchart/boxplotchartitem.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/boxplotchart/boxplotchartitem.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -47,7 +47,7 @@ { m_animation = animation; if (m_animation) { - for (auto item : m_boxTable.values()) + for (auto item : std::as_const(m_boxTable)) m_animation->addBox(item); handleDomainUpdated(); } @@ -114,18 +114,18 @@ void BoxPlotChartItem::handleUpdatedBars() { - for (auto item : m_boxTable.values()) { + for (auto item : std::as_const(m_boxTable)) { item->setBrush(m_series->brush()); item->setPen(m_series->pen()); item->setBoxOutlined(m_series->boxOutlineVisible()); item->setBoxWidth(m_series->boxWidth()); } // Override with QBoxSet specific settings - for (auto set : m_boxTable.keys()) { + for (const auto &[set, item] : std::as_const(m_boxTable).asKeyValueRange()) { if (set->brush().style() != Qt::NoBrush) - m_boxTable.value(set)->setBrush(set->brush()); + item->setBrush(set->brush()); if (set->pen().style() != Qt::NoPen) - m_boxTable.value(set)->setPen(set->pen()); + item->setPen(set->pen()); } } @@ -147,7 +147,7 @@ // snip a bit off from the whisker at the grid line m_boundingRect.setRect(0.0, -1.0, domain()->size().width(), domain()->size().height() + 1.0); - for (auto item : m_boxTable.values()) { + for (auto item : std::as_const(m_boxTable)) { item->updateGeometry(domain()); // If the animation is set, start the animation for each BoxWhisker item @@ -158,7 +158,7 @@ void BoxPlotChartItem::handleLayoutChanged() { - for (auto item : m_boxTable.values()) { + for (auto item : std::as_const(m_boxTable)) { if (m_animation) m_animation->setAnimationStart(item); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/candlestickchart/candlestickchartitem.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/candlestickchart/candlestickchartitem.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/candlestickchart/candlestickchartitem.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/candlestickchart/candlestickchartitem.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -46,7 +46,7 @@ m_animation = animation; if (m_animation) { - for (auto *item : m_candlesticks.values()) + for (auto *item : std::as_const(m_candlesticks)) m_animation->addCandlestick(item); handleDomainUpdated(); @@ -75,7 +75,7 @@ // as 0.0 would snip a bit off from the wick at the grid line. m_boundingRect.setRect(0.0, -1.0, domain()->size().width(), domain()->size().height() + 1.0); - for (auto item : m_candlesticks.values()) { + for (auto item : std::as_const(m_candlesticks)) { item->updateGeometry(domain()); if (m_animation) @@ -86,8 +86,8 @@ void CandlestickChartItem::handleLayoutUpdated() { bool timestampChanged = false; - for (auto set : m_candlesticks.keys()) { - qreal oldTimestamp = m_candlesticks.value(set)->m_data.m_timestamp; + for (const auto &[set, item] : std::as_const(m_candlesticks).asKeyValueRange()) { + qreal oldTimestamp = item->m_data.m_timestamp; qreal newTimestamp = set->timestamp(); if (Q_UNLIKELY(oldTimestamp != newTimestamp)) { removeTimestamp(oldTimestamp); @@ -98,7 +98,7 @@ if (timestampChanged) updateTimePeriod(); - for (auto item : m_candlesticks.values()) { + for (auto item : std::as_const(m_candlesticks)) { if (m_animation) m_animation->setAnimationStart(item); @@ -118,8 +118,8 @@ void CandlestickChartItem::handleCandlesticksUpdated() { - for (auto set : m_candlesticks.keys()) - updateCandlestickAppearance(m_candlesticks.value(set), set); + for (const auto &[set, item] : std::as_const(m_candlesticks).asKeyValueRange()) + updateCandlestickAppearance(item, set); } void CandlestickChartItem::handleCandlestickSeriesChange() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/chartdataset.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/chartdataset.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/chartdataset.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/chartdataset.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -136,7 +136,7 @@ return; } - QList<QAbstractAxis *> axes = series->d_ptr->m_axes; + const QList<QAbstractAxis *> axes = series->d_ptr->m_axes; for (auto axis : axes) { detachAxis(series, axis); @@ -165,7 +165,7 @@ return; } - QList<QAbstractSeries*> series = axis->d_ptr->m_series; + const QList<QAbstractSeries*> series = axis->d_ptr->m_series; for (auto s : series) { detachAxis(s, axis); @@ -277,7 +277,6 @@ Q_ASSERT(series); Q_ASSERT(axis); - QList<QAbstractSeries* > attachedSeriesList = axis->d_ptr->m_series; QList<QAbstractAxis* > attachedAxisList = series->d_ptr->m_axes; AbstractDomain* domain = series->d_ptr->domain(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/chartitem_p.h new/qtcharts-everywhere-src-6.12.0/src/charts/chartitem_p.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/chartitem_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/chartitem_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -29,11 +29,11 @@ AbstractDomain* domain() const; virtual void cleanup(); + QAbstractSeriesPrivate* seriesPrivate() const {return m_series;} + public Q_SLOTS: virtual void handleDomainUpdated(); - QAbstractSeriesPrivate* seriesPrivate() const {return m_series;} - protected: bool m_validData; private: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/chartthememanager.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/chartthememanager.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/chartthememanager.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/chartthememanager.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -62,8 +62,8 @@ decorateLegend(m_chart->legend(),m_theme.data()); for (auto axis : std::as_const(m_axisList)) axis->d_ptr->initializeTheme(m_theme.data(), true); - for (auto series : m_seriesMap.keys()) - series->d_ptr->initializeTheme(m_seriesMap[series], m_theme.data(), true); + for (const auto &[series, index] : std::as_const(m_seriesMap).asKeyValueRange()) + series->d_ptr->initializeTheme(index, m_theme.data(), true); } } } @@ -99,7 +99,7 @@ std::sort(keysCopy.begin(), keysCopy.end()); int i = 0; - for (const auto key : keysCopy) { + for (const auto key : std::as_const(keysCopy)) { if (i != key) break; ++i; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/chartthememanager_p.h new/qtcharts-everywhere-src-6.12.0/src/charts/chartthememanager_p.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/chartthememanager_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/chartthememanager_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -18,7 +18,7 @@ #include <QtGui/QColor> #include <QtGui/QGradientStops> #include <QtCharts/private/qchartglobal_p.h> -#include <QtCore/qmap.h> +#include <QtCore/qhash.h> QT_BEGIN_NAMESPACE class ChartTheme; @@ -41,7 +41,7 @@ void decorateChart(QChart *chart, ChartTheme* theme) const; void decorateLegend(QLegend *legend, ChartTheme* theme) const; void updateSeries(QAbstractSeries *series); - QMap<QAbstractSeries *, int> seriesMap() const { return m_seriesMap; } + QHash<QAbstractSeries *, int> seriesMap() const { return m_seriesMap; } public: static QList<QGradient> generateSeriesGradients(const QList<QColor>& colors); @@ -60,7 +60,7 @@ protected: QScopedPointer<ChartTheme> m_theme; - QMap<QAbstractSeries *,int> m_seriesMap; + QHash<QAbstractSeries *,int> m_seriesMap; QList<QAbstractAxis *> m_axisList; QChart* m_chart; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/glwidget.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/glwidget.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/glwidget.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/glwidget.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -72,13 +72,14 @@ delete m_program; m_program = 0; - for (auto buffer : m_seriesBufferMap.values()) + for (auto buffer : std::as_const(m_seriesBufferMap)) delete buffer; m_seriesBufferMap.clear(); doneCurrent(); - context()->disconnect(this); + if (context()) + context()->disconnect(this); } void GLWidget::cleanXYSeriesResources(const QXYSeries *series) @@ -88,7 +89,7 @@ delete m_seriesBufferMap.take(series); } else { // Null series means all series were removed - for (auto buffer : m_seriesBufferMap.values()) + for (auto buffer : std::as_const(m_seriesBufferMap)) delete buffer; m_seriesBufferMap.clear(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/legend/legendscroller.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/legend/legendscroller.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/legend/legendscroller.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/legend/legendscroller.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -208,7 +208,8 @@ qreal width = 0; qreal height = 0; - for (auto marker : d_ptr->markers()) { + const auto &markers = d_ptr->markers(); + for (auto marker : markers) { LegendMarkerItem *item = marker->d_ptr->item(); QSizeF itemESizeHint = item->effectiveSizeHint(Qt::PreferredSize); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/legend/qlegend.h new/qtcharts-everywhere-src-6.12.0/src/charts/legend/qlegend.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/legend/qlegend.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/legend/qlegend.h 2026-09-26 19:45:19.000000000 +0200 @@ -43,7 +43,7 @@ MarkerShapeStar, MarkerShapePentagon }; - Q_ENUMS(MarkerShape) + Q_ENUM(MarkerShape) ~QLegend(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/legend/qlegendmarker.h new/qtcharts-everywhere-src-6.12.0/src/charts/legend/qlegendmarker.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/legend/qlegendmarker.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/legend/qlegendmarker.h 2026-09-26 19:45:19.000000000 +0200 @@ -30,6 +30,7 @@ LegendMarkerTypeBoxPlot, LegendMarkerTypeCandlestick }; + Q_ENUM(LegendMarkerType) Q_PROPERTY(QString label READ label WRITE setLabel NOTIFY labelChanged) Q_PROPERTY(QBrush labelBrush READ labelBrush WRITE setLabelBrush NOTIFY labelBrushChanged) @@ -38,7 +39,6 @@ Q_PROPERTY(QBrush brush READ brush WRITE setBrush NOTIFY brushChanged) Q_PROPERTY(bool visible READ isVisible WRITE setVisible NOTIFY visibleChanged) Q_PROPERTY(QLegend::MarkerShape shape READ shape WRITE setShape NOTIFY shapeChanged) - Q_ENUMS(LegendMarkerType) public: virtual ~QLegendMarker(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/piechartitem.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/piechartitem.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/piechartitem.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/piechartitem.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -92,9 +92,9 @@ QPieSeriesPrivate::fromSeries(m_series)->disconnect(this); m_series = 0; } - for (auto slice : m_sliceItems.keys()) { - slice->disconnect(this); - QPieSlicePrivate::fromSlice(slice)->disconnect(this); + for (auto it = m_sliceItems.keyBegin(), end = m_sliceItems.keyEnd(); it != end; ++it) { + (*it)->disconnect(this); + QPieSlicePrivate::fromSlice(*it)->disconnect(this); } m_sliceItems.clear(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/piechartitem_p.h new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/piechartitem_p.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/piechartitem_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/piechartitem_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -40,6 +40,8 @@ QRectF boundingRect() const override { return m_rect; } void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *) override {} + ChartAnimation *animation() const override; + protected: void hoverEnterEvent(QGraphicsSceneHoverEvent *event) override; void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) override; @@ -59,7 +61,6 @@ void handleOpacityChanged(); void setAnimation(PieAnimation *animation); - ChartAnimation *animation() const override; // From ChartItem void cleanup() override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/qpieseries.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/qpieseries.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/qpieseries.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/qpieseries.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -874,7 +874,6 @@ // update slice attributes qreal sliceAngle = m_pieStartAngle; qreal pieSpan = m_pieEndAngle - m_pieStartAngle; - QList<QPieSlice *> changed; for (auto s : std::as_const(m_slices)) { QPieSlicePrivate *d = QPieSlicePrivate::fromSlice(s); d->setPercentage(s->value() / m_sum); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/qpieslice.h new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/qpieslice.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/piechart/qpieslice.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/piechart/qpieslice.h 2026-09-26 19:45:19.000000000 +0200 @@ -17,7 +17,6 @@ class Q_CHARTS_EXPORT QPieSlice : public QObject { Q_OBJECT - Q_ENUMS(LabelPosition) Q_PROPERTY(QString label READ label WRITE setLabel NOTIFY labelChanged) Q_PROPERTY(qreal value READ value WRITE setValue NOTIFY valueChanged) Q_PROPERTY(bool labelVisible READ isLabelVisible WRITE setLabelVisible NOTIFY labelVisibleChanged) @@ -44,6 +43,7 @@ LabelInsideTangential, LabelInsideNormal }; + Q_ENUM(LabelPosition) public: explicit QPieSlice(QObject *parent = nullptr); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/qabstractseries.h new/qtcharts-everywhere-src-6.12.0/src/charts/qabstractseries.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/qabstractseries.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/qabstractseries.h 2026-09-26 19:45:19.000000000 +0200 @@ -22,7 +22,6 @@ Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity NOTIFY opacityChanged) Q_PROPERTY(SeriesType type READ type) Q_PROPERTY(bool useOpenGL READ useOpenGL WRITE setUseOpenGL NOTIFY useOpenGLChanged) - Q_ENUMS(SeriesType) public: enum SeriesType { @@ -40,6 +39,7 @@ SeriesTypeBoxPlot, SeriesTypeCandlestick }; + Q_ENUM(SeriesType) protected: QAbstractSeries(QAbstractSeriesPrivate &d, QObject *parent = nullptr); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/qchart.h new/qtcharts-everywhere-src-6.12.0/src/charts/qchart.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/qchart.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/qchart.h 2026-09-26 19:45:19.000000000 +0200 @@ -38,9 +38,6 @@ Q_PROPERTY(bool localizeNumbers READ localizeNumbers WRITE setLocalizeNumbers) Q_PROPERTY(QLocale locale READ locale WRITE setLocale) Q_PROPERTY(QRectF plotArea READ plotArea WRITE setPlotArea NOTIFY plotAreaChanged) - Q_ENUMS(ChartTheme) - Q_ENUMS(AnimationOption) - Q_ENUMS(ChartType) public: enum ChartType { @@ -48,6 +45,7 @@ ChartTypeCartesian, ChartTypePolar }; + Q_ENUM(ChartType) enum ChartTheme { ChartThemeLight = 0, @@ -59,6 +57,7 @@ ChartThemeBlueIcy, ChartThemeQt }; + Q_ENUM(ChartTheme) enum AnimationOption { NoAnimation = 0x0, @@ -68,6 +67,7 @@ }; Q_DECLARE_FLAGS(AnimationOptions, AnimationOption) + Q_FLAG(AnimationOption) public: explicit QChart(QGraphicsItem *parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/qchartview.h new/qtcharts-everywhere-src-6.12.0/src/charts/qchartview.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/qchartview.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/qchartview.h 2026-09-26 19:45:19.000000000 +0200 @@ -21,7 +21,6 @@ class Q_CHARTS_EXPORT QChartView : public QGraphicsView { Q_OBJECT - Q_ENUMS(RubberBand) public: enum RubberBand { @@ -33,6 +32,7 @@ }; Q_DECLARE_FLAGS(RubberBands, RubberBand) + Q_FLAG(RubberBands) explicit QChartView(QWidget *parent = nullptr); explicit QChartView(QChart *chart, QWidget *parent = nullptr); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/qpolarchart.h new/qtcharts-everywhere-src-6.12.0/src/charts/qpolarchart.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/qpolarchart.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/qpolarchart.h 2026-09-26 19:45:19.000000000 +0200 @@ -14,8 +14,6 @@ class Q_CHARTS_EXPORT QPolarChart : public QChart { Q_OBJECT - Q_ENUMS(PolarOrientation) - Q_FLAGS(PolarOrientations) public: enum PolarOrientation { @@ -23,6 +21,7 @@ PolarOrientationAngular = 0x2 }; Q_DECLARE_FLAGS(PolarOrientations, PolarOrientation) + Q_FLAG(PolarOrientations) public: explicit QPolarChart(QGraphicsItem *parent = nullptr, Qt::WindowFlags wFlags = Qt::WindowFlags()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/scatterchart/qscatterseries.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/scatterchart/qscatterseries.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/scatterchart/qscatterseries.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/scatterchart/qscatterseries.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -89,14 +89,6 @@ */ /*! - \property QScatterSeries::color - \brief The color used to fill the series markers. - - This is a convenience property for modifying the color of the brush. - \sa QScatterSeries::brush() -*/ - -/*! \property QScatterSeries::borderColor \brief The color used to draw the marker borders. @@ -359,6 +351,7 @@ else item->setAnimation(0); + // AXIVION Next Line Qt-SkippedBaseMethod: Intentionally skipping QXYSeriesPrivate QAbstractSeriesPrivate::initializeAnimations(options, duration, curve); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/scatterchart/qscatterseries.h new/qtcharts-everywhere-src-6.12.0/src/charts/scatterchart/qscatterseries.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/scatterchart/qscatterseries.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/scatterchart/qscatterseries.h 2026-09-26 19:45:19.000000000 +0200 @@ -14,12 +14,10 @@ class Q_CHARTS_EXPORT QScatterSeries : public QXYSeries { Q_OBJECT - Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged) Q_PROPERTY(QColor borderColor READ borderColor WRITE setBorderColor NOTIFY borderColorChanged) Q_PROPERTY(MarkerShape markerShape READ markerShape WRITE setMarkerShape NOTIFY markerShapeChanged) Q_PROPERTY(qreal markerSize READ markerSize WRITE setMarkerSize NOTIFY markerSizeChanged) Q_PROPERTY(QBrush brush READ brush WRITE setBrush) - Q_ENUMS(MarkerShape) public: enum MarkerShape { @@ -30,6 +28,7 @@ MarkerShapeStar, MarkerShapePentagon }; + Q_ENUM(MarkerShape) public: explicit QScatterSeries(QObject *parent = nullptr); @@ -48,10 +47,10 @@ void setMarkerSize(qreal size); Q_SIGNALS: - void colorChanged(QColor color); + QT6_ONLY(void colorChanged(QColor color);) // AXIVION Same Line Qt-OverriddenSignal void borderColorChanged(QColor color); void markerShapeChanged(MarkerShape shape); - void markerSizeChanged(qreal size); + QT6_ONLY(void markerSizeChanged(qreal size);) // AXIVION Same Line Qt-OverriddenSignal private: Q_DECLARE_PRIVATE(QScatterSeries) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/scatterchart/scatterchartitem_p.h new/qtcharts-everywhere-src-6.12.0/src/charts/scatterchart/scatterchartitem_p.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/scatterchart/scatterchartitem_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/scatterchart/scatterchartitem_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -19,7 +19,7 @@ #include <QtGui/QPen> #include <QtWidgets/QGraphicsSceneMouseEvent> #include <QtCharts/private/qchartglobal_p.h> -#include <QtCore/qmap.h> +#include <QtCore/qhash.h> QT_BEGIN_NAMESPACE @@ -72,7 +72,7 @@ bool m_visible; int m_markerShape; QRectF m_rect; - QMap<QGraphicsItem *, QPointF> m_markerMap; + QHash<QGraphicsItem *, QPointF> m_markerMap; bool m_pointsVisible; bool m_pointLabelsVisible; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/splinechart/qsplineseries.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/splinechart/qsplineseries.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/splinechart/qsplineseries.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/splinechart/qsplineseries.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -125,6 +125,7 @@ Q_Q(QSplineSeries); SplineChartItem *spline = new SplineChartItem(q,parent); m_item.reset(spline); + // AXIVION Next Line Qt-SkippedBaseMethod: Intentionally skipping QLineSeriesPrivate QAbstractSeriesPrivate::initializeGraphics(parent); } @@ -158,6 +159,7 @@ item->setAnimation(new SplineAnimation(item, duration, curve)); else item->setAnimation(0); + // AXIVION Next Line Qt-SkippedBaseMethod: Intentionally skipping QXYSeriesPrivate QAbstractSeriesPrivate::initializeAnimations(options, duration, curve); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/themes/chartthemesystem_p.h new/qtcharts-everywhere-src-6.12.0/src/charts/themes/chartthemesystem_p.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/themes/chartthemesystem_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/themes/chartthemesystem_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -113,7 +113,7 @@ m_minorGridLinePen.setStyle(Qt::DashLine); m_backgroundShades = BackgroundShadesNone; -#elif defined(Q_OS_MAC) +#elif defined(Q_OS_MACOS) // Using a hard coded theme for OSX system theme; the colors match the OSX 10.7 colors m_seriesColors << QRgb(0x60a6e6); m_seriesColors << QRgb(0x92ca66); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/glxyseriesdata.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/glxyseriesdata.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/glxyseriesdata.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/glxyseriesdata.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -137,7 +137,7 @@ void GLXYSeriesDataManager::cleanup() { - for (auto data : m_seriesDataMap.values()) + for (auto data : std::as_const(m_seriesDataMap)) delete data; m_seriesDataMap.clear(); m_mapDirty = true; @@ -213,7 +213,8 @@ if (QXYSeries *xyseries = qobject_cast<QXYSeries *>(series)) { GLXYSeriesData *data = m_seriesDataMap.value(xyseries); if (data) { - for (auto axis : xyseries->attachedAxes()) { + const auto &axes = xyseries->attachedAxes(); + for (auto axis : axes) { if (axis->isReverse()) { if (axis->orientation() == Qt::Horizontal) reverseX = true; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/glxyseriesdata_p.h new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/glxyseriesdata_p.h --- old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/glxyseriesdata_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/glxyseriesdata_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -13,7 +13,7 @@ #ifndef GLXYSERIESDATA_H #define GLXYSERIESDATA_H -#include <QtCore/QMap> +#include <QtCore/qhash.h> #include <QtCharts/QAbstractSeries> #include <QtCharts/QXYSeries> #include <QtCharts/private/qchartglobal_p.h> @@ -50,7 +50,7 @@ } }; -typedef QMap<const QXYSeries *, GLXYSeriesData *> GLXYDataMap; +typedef QHash<const QXYSeries *, GLXYSeriesData *> GLXYDataMap; class Q_CHARTS_EXPORT GLXYSeriesDataManager : public QObject { @@ -70,7 +70,7 @@ bool mapDirty() const { return m_mapDirty; } void clearAllDirty() { m_mapDirty = false; - for (GLXYSeriesData *data : m_seriesDataMap) + for (GLXYSeriesData *data : std::as_const(m_seriesDataMap)) data->dirty = false; } void handleAxisReverseChanged(const QList<QAbstractSeries *> &seriesList); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/qxyseries.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/qxyseries.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/qxyseries.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/qxyseries.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -797,11 +797,9 @@ { Q_D(QXYSeries); bool needsUpdate = false; - for (const int &index : d->m_pointsConfiguration.keys()) { - auto &conf = d->m_pointsConfiguration[index]; + for (auto &conf : d->m_pointsConfiguration) { if (conf.contains(key)) { conf.remove(key); - d->m_pointsConfiguration[index] = conf; needsUpdate = true; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/xychart.cpp new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/xychart.cpp --- old/qtcharts-everywhere-src-6.11.2/src/charts/xychart/xychart.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/charts/xychart/xychart.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -248,7 +248,7 @@ points = m_series->points(); } - for (const QPointF &dp : points) { + for (const QPointF &dp : std::as_const(points)) { bool ok; const QPointF gp = domain()->calculateGeometryPoint(dp, ok); if (ok) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativeboxplotseries_p.h new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativeboxplotseries_p.h --- old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativeboxplotseries_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativeboxplotseries_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -31,7 +31,6 @@ Q_PROPERTY(QString label READ label WRITE setLabel) Q_PROPERTY(int count READ count) Q_PROPERTY(QString brushFilename READ brushFilename WRITE setBrushFilename NOTIFY brushFilenameChanged REVISION(1, 4)) - Q_ENUMS(ValuePositions) QML_NAMED_ELEMENT(BoxSet) QML_ADDED_IN_VERSION(1, 3) QML_EXTRA_VERSION(2, 0) @@ -44,6 +43,7 @@ UpperQuartile, UpperExtreme }; + Q_ENUM(ValuePositions) public: explicit DeclarativeBoxSet(const QString label = QString(), QObject *parent = 0); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativecategoryaxis_p.h new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativecategoryaxis_p.h --- old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativecategoryaxis_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativecategoryaxis_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -50,7 +50,6 @@ Q_PROPERTY(QQmlListProperty<QObject> axisChildren READ axisChildren) Q_CLASSINFO("DefaultProperty", "axisChildren") Q_PROPERTY(AxisLabelsPosition labelsPosition READ labelsPosition WRITE setLabelsPosition NOTIFY labelsPositionChanged REVISION(2, 1)) - Q_ENUMS(AxisLabelsPosition) QML_NAMED_ELEMENT(CategoryAxis) QML_ADDED_IN_VERSION(1, 1) QML_EXTRA_VERSION(2, 0) @@ -61,6 +60,7 @@ AxisLabelsPositionCenter = 0x0, AxisLabelsPositionOnValue = 0x1 }; + Q_ENUM(AxisLabelsPosition) explicit DeclarativeCategoryAxis(QObject *parent = 0); QQmlListProperty<QObject> axisChildren(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativechart.cpp new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativechart.cpp --- old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativechart.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativechart.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -586,15 +586,6 @@ delete m_sceneImage; } -void DeclarativeChart::childEvent(QChildEvent *event) -{ - if (event->type() == QEvent::ChildAdded) { - if (qobject_cast<QAbstractSeries *>(event->child())) { - m_chart->addSeries(qobject_cast<QAbstractSeries *>(event->child())); - } - } -} - void DeclarativeChart::componentComplete() { const auto childlist = children(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativechart_p.h new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativechart_p.h --- old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativechart_p.h 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativechart_p.h 2026-09-26 19:45:19.000000000 +0200 @@ -56,9 +56,6 @@ Q_PROPERTY(QQmlListProperty<QAbstractAxis> axes READ axes REVISION(1, 2)) Q_PROPERTY(bool localizeNumbers READ localizeNumbers WRITE setLocalizeNumbers NOTIFY localizeNumbersChanged REVISION(2, 0)) Q_PROPERTY(QLocale locale READ locale WRITE setLocale NOTIFY localeChanged REVISION(2, 0)) - Q_ENUMS(Animation) - Q_ENUMS(Theme) - Q_ENUMS(SeriesType) QML_NAMED_ELEMENT(ChartView) QML_ADDED_IN_VERSION(1, 0) QML_EXTRA_VERSION(2, 0) @@ -75,6 +72,7 @@ ChartThemeBlueIcy, ChartThemeQt }; + Q_ENUM(Theme) enum Animation { NoAnimation = 0x0, @@ -82,6 +80,7 @@ SeriesAnimations = 0x2, AllAnimations = 0x3 }; + Q_ENUM(Animation) enum SeriesType { SeriesTypeLine, @@ -98,13 +97,13 @@ SeriesTypeBoxPlot, SeriesTypeCandlestick }; + Q_ENUM(SeriesType) public: DeclarativeChart(QQuickItem *parent = 0); ~DeclarativeChart(); public: // From parent classes - void childEvent(QChildEvent *event) override; void componentComplete() override; void geometryChange(const QRectF &newGeometry, const QRectF &oldGeometry) override; QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *) override; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativeopenglrendernode.cpp new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativeopenglrendernode.cpp --- old/qtcharts-everywhere-src-6.11.2/src/chartsqml2/declarativeopenglrendernode.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/src/chartsqml2/declarativeopenglrendernode.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -400,10 +400,10 @@ delete m_seriesBufferMap.take(series); delete m_xyDataMap.take(series); } else { - for (QOpenGLBuffer *buffer : m_seriesBufferMap.values()) + for (QOpenGLBuffer *buffer : std::as_const(m_seriesBufferMap)) delete buffer; m_seriesBufferMap.clear(); - for (GLXYSeriesData *data : m_xyDataMap.values()) + for (GLXYSeriesData *data : std::as_const(m_xyDataMap)) delete data; m_xyDataMap.clear(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/qtcharts-everywhere-src-6.11.2/tests/auto/qareaseries/tst_qareaseries.cpp new/qtcharts-everywhere-src-6.12.0/tests/auto/qareaseries/tst_qareaseries.cpp --- old/qtcharts-everywhere-src-6.11.2/tests/auto/qareaseries/tst_qareaseries.cpp 2026-08-12 18:35:02.000000000 +0200 +++ new/qtcharts-everywhere-src-6.12.0/tests/auto/qareaseries/tst_qareaseries.cpp 2026-09-26 19:45:19.000000000 +0200 @@ -156,10 +156,14 @@ const QColor ¢erColor, const QColor &lowerColor) { - QImage screenGrab = m_view->grab().toImage(); - QCOMPARE(QColor(screenGrab.pixel(200, 50)), upperColor); - QCOMPARE(QColor(screenGrab.pixel(200, 200)), centerColor); - QCOMPARE(QColor(screenGrab.pixel(200, 350)), lowerColor); + const QImage screenGrab = m_view->grab().toImage(); + const qreal dpr = screenGrab.devicePixelRatio(); + const auto sampleColor = [&](int logicalX, int logicalY) { + return QColor(screenGrab.pixel(qRound(logicalX * dpr), qRound(logicalY * dpr))); + }; + QCOMPARE(sampleColor(200, 50), upperColor); + QCOMPARE(sampleColor(200, 200), centerColor); + QCOMPARE(sampleColor(200, 350), lowerColor); } QTEST_MAIN(tst_QAreaSeries)
