API comparison review findings

Pick-to: 6.9
Change-Id: I933a9be8673184c785b0317367d78ac54040073b
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
This commit is contained in:
Tomi Korpipää 2025-01-10 11:26:38 +02:00
parent 5cbfbbe43e
commit b047a8fb51
7 changed files with 22 additions and 18 deletions

View File

@ -70,10 +70,10 @@ Q_SIGNALS:
void upperSeriesChanged(); void upperSeriesChanged();
void lowerSeriesChanged(); void lowerSeriesChanged();
void clicked(QPoint point); Q_REVISION(6, 9) void clicked(QPoint point);
void doubleClicked(QPoint point); Q_REVISION(6, 9) void doubleClicked(QPoint point);
void pressed(QPoint point); Q_REVISION(6, 9) void pressed(QPoint point);
void released(QPoint point); Q_REVISION(6, 9) void released(QPoint point);
protected: protected:
QAreaSeries(QAreaSeriesPrivate &dd, QObject *parent = nullptr); QAreaSeries(QAreaSeriesPrivate &dd, QObject *parent = nullptr);

View File

@ -521,7 +521,7 @@ void QAbstractAxis::setAlignment(Qt::Alignment alignment)
if (d->m_graph) if (d->m_graph)
d->m_graph->updateComponentSizes(); d->m_graph->updateComponentSizes();
emit update(); emit update();
emit alignmentChanged(); emit alignmentChanged(alignment);
break; break;
default: default:
qWarning("Invalid alignment."); qWarning("Invalid alignment.");

View File

@ -120,7 +120,7 @@ Q_SIGNALS:
void titleColorChanged(QColor color); void titleColorChanged(QColor color);
void titleVisibleChanged(bool visible); void titleVisibleChanged(bool visible);
void titleFontChanged(const QFont &font); void titleFontChanged(const QFont &font);
Q_REVISION(6, 9) void alignmentChanged(); Q_REVISION(6, 9) void alignmentChanged(Qt::Alignment alignment);
void update(); void update();
void rangeChanged(qreal min, qreal max); void rangeChanged(qreal min, qreal max);

View File

@ -149,6 +149,7 @@ QT_BEGIN_NAMESPACE
/*! /*!
\property QValueAxis::zoom \property QValueAxis::zoom
\since 6.9
\brief The zoom value of the axis. \brief The zoom value of the axis.
The zoom value enlarges or shrinks the axis and thus the graph without affecting intervals The zoom value enlarges or shrinks the axis and thus the graph without affecting intervals
@ -156,6 +157,7 @@ QT_BEGIN_NAMESPACE
*/ */
/*! /*!
\qmlproperty real ValueAxis::zoom \qmlproperty real ValueAxis::zoom
\since 6.9
The zoom value of the axis. The zoom value of the axis.
The zoom value enlarges or shrinks the axis and thus the graph without affecting intervals The zoom value enlarges or shrinks the axis and thus the graph without affecting intervals
@ -164,6 +166,7 @@ QT_BEGIN_NAMESPACE
/*! /*!
\property QValueAxis::pan \property QValueAxis::pan
\since 6.9
\brief The pan value of the axis. \brief The pan value of the axis.
The pan value moves the center of the axis without affecting intervals The pan value moves the center of the axis without affecting intervals
@ -171,6 +174,7 @@ QT_BEGIN_NAMESPACE
*/ */
/*! /*!
\qmlproperty real ValueAxis::pan \qmlproperty real ValueAxis::pan
\since 6.9
The pan value of the axis. The pan value of the axis.
The pan value moves the center of the axis without affecting intervals The pan value moves the center of the axis without affecting intervals

View File

@ -138,10 +138,10 @@ Q_SIGNALS:
void setValueRemoved(qsizetype index, qsizetype count, QBarSet *barset); void setValueRemoved(qsizetype index, qsizetype count, QBarSet *barset);
void barSetsChanged(); void barSetsChanged();
void clicked(qsizetype index, QBarSet *barset); Q_REVISION(6, 9) void clicked(qsizetype index, QBarSet *barset);
void doubleClicked(qsizetype index, QBarSet *barset); Q_REVISION(6, 9) void doubleClicked(qsizetype index, QBarSet *barset);
void pressed(qsizetype index, QBarSet *barset); Q_REVISION(6, 9) void pressed(qsizetype index, QBarSet *barset);
void released(qsizetype index, QBarSet *barset); Q_REVISION(6, 9) void released(qsizetype index, QBarSet *barset);
private Q_SLOTS: private Q_SLOTS:
void handleSetValueChange(qsizetype index); void handleSetValueChange(qsizetype index);

View File

@ -96,10 +96,10 @@ Q_SIGNALS:
void verticalPositionChanged(); void verticalPositionChanged();
void holeSizeChanged(); void holeSizeChanged();
void clicked(QPieSlice *slice); Q_REVISION(6, 9) void clicked(QPieSlice *slice);
void doubleClicked(QPieSlice *slice); Q_REVISION(6, 9) void doubleClicked(QPieSlice *slice);
void pressed(QPieSlice *slice); Q_REVISION(6, 9) void pressed(QPieSlice *slice);
void released(QPieSlice *slice); Q_REVISION(6, 9) void released(QPieSlice *slice);
private: private:
friend class PieRenderer; friend class PieRenderer;

View File

@ -99,10 +99,10 @@ Q_SIGNALS:
void seriesUpdated(); void seriesUpdated();
void countChanged(); void countChanged();
void clicked(QPoint point); Q_REVISION(6, 9) void clicked(QPoint point);
void doubleClicked(QPoint point); Q_REVISION(6, 9) void doubleClicked(QPoint point);
void pressed(QPoint point); Q_REVISION(6, 9) void pressed(QPoint point);
void released(QPoint point); Q_REVISION(6, 9) void released(QPoint point);
private: private:
friend class PointRenderer; friend class PointRenderer;