Docs: Get rid of build warnings for Qt Graphs docs

This commit removes faulty dependencies, documents a missed QML method,
and fixes broken links.

Change-Id: I4d9456a06284f73bb15ac14979e955ed5872067c
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
(cherry picked from commit f91b4de241)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexei Cazacov 2025-04-02 10:13:20 +03:00 committed by Qt Cherry-pick Bot
parent 878d3db4f9
commit ad11f56bc7
7 changed files with 19 additions and 7 deletions

View File

@ -332,7 +332,7 @@ QT_BEGIN_NAMESPACE
* *
* The color of the font used for labels. * The color of the font used for labels.
* *
* If an axis has specified \l{graphsline.labelTextColor}{labelTextColor} explicitly, * If an axis has specified \l{graphsline::labelTextColor}{labelTextColor} explicitly,
* this has no effect. * this has no effect.
* *
* The default value depends on \l colorScheme. * The default value depends on \l colorScheme.

View File

@ -21,8 +21,8 @@
\li \l {Qt Graphs Data Handling with 3D}{Data Handling} \li \l {Qt Graphs Data Handling with 3D}{Data Handling}
\li \l {Qt Graphs Interacting with Data in 3D}{Interacting with Data} \li \l {Qt Graphs Interacting with Data in 3D}{Interacting with Data}
\li \l {Qt Graphs Migration from Qt DataVisualization}{Migration from Qt DataVisualization} \li \l {Qt Graphs Migration from Qt DataVisualization}{Migration from Qt DataVisualization}
\li \l {C++ Classes} \li \l {Qt Graphs C++ Classes for 3D}{C++ Classes}
\li \l {QML Types} \li \l {Qt Graphs QML Types for 3D}{QML Types}
\endlist \endlist
\li \l {Qt Graphs Widgets} \li \l {Qt Graphs Widgets}
\list \list

View File

@ -18,7 +18,7 @@ exampledirs += \
imagedirs += images \ imagedirs += images \
../graphs3d/widget/doc/images ../graphs3d/widget/doc/images
depends = qtcore qtgui qtqml qtquick qtdoc qtcmake qtwidgets qtquickwidgets qtquick3d qtqmlmodels depends = qtcore qtgui qtqml qtquick qtdoc qtcmake qtwidgets qtquick3d qtqmlmodels
qhp.projects = QtGraphs qhp.projects = QtGraphs

View File

@ -397,6 +397,18 @@ QT_BEGIN_NAMESPACE
\sa append() \sa append()
*/ */
/*!
\qmlmethod bool BarSeries::append(BarSet barset)
Adds a set of bars specified by \a barset to the bar series and takes
ownership of it. If the set is null or it already belongs to the series,
it will not be appended.
Returns \c true if appending succeeded.
\sa insert()
*/
/*! /*!
\qmlmethod bool BarSeries::remove(BarSet barset) \qmlmethod bool BarSeries::remove(BarSet barset)
Removes the bar set specified by \a barset from the series. Returns \c true if successful, Removes the bar set specified by \a barset from the series. Returns \c true if successful,

View File

@ -552,7 +552,7 @@ bool QAbstract3DAxis::isScaleLabelsByCount() const
* The size of the label. * The size of the label.
* The default for this value is \c 1.0. * The default for this value is \c 1.0.
* *
* \sa scaleLabelsByCount() * \sa scaleLabelsByCount
*/ */
void QAbstract3DAxis::setLabelSize(qreal size) void QAbstract3DAxis::setLabelSize(qreal size)
{ {

View File

@ -178,7 +178,7 @@ QT_BEGIN_NAMESPACE
* *
* Sets the base gradient of the series. * Sets the base gradient of the series.
* *
* \sa colorStyle, {GraphsTheme::seriesGradients}{GraphsTheme.seriesGradients} * \sa colorStyle
*/ */
/*! /*!

View File

@ -21,7 +21,7 @@ QT_BEGIN_NAMESPACE
/*! /*!
* \qmltype Spline3DSeries * \qmltype Spline3DSeries
* \instantiates QSpline3DSeries * \nativetype QSpline3DSeries
* \inqmlmodule QtGraphs * \inqmlmodule QtGraphs
* \ingroup graphs_qml_3D * \ingroup graphs_qml_3D
* \inherits Scatter3DSeries * \inherits Scatter3DSeries