diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-03-11 10:26:16 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-03-11 18:45:40 +0100 |
| commit | df96b28f65ad0ba1094c756929cfcdd9f19e4529 (patch) | |
| tree | 6e36d3d4ee9720940da04d43e4f6ead4d735568f /src | |
| parent | 1d2dda041a419740dff16dbb4addc6d93583f08d (diff) | |
QDockWidget: fix documentation of the new dockLocation property
Follow the standard syntax for property documentation.
Amends cbd2f56c14159a1a566f4e423b910256724fdb6a.
Pick-to: 6.9 6.9.0
Change-Id: I3557eba1990b684a35ab70f95e7f8ccf33850537
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/widgets/qdockwidget.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/widgets/widgets/qdockwidget.cpp b/src/widgets/widgets/qdockwidget.cpp index 60878462f42..214d00341ee 100644 --- a/src/widgets/widgets/qdockwidget.cpp +++ b/src/widgets/widgets/qdockwidget.cpp @@ -1857,13 +1857,13 @@ void QDockWidget::setTitleBarWidget(QWidget *widget) /*! \since 6.9 - \brief QDockWidget::setDockLocation(): Assign dock widget to \a area. - If docked at another dock location, it will move to \a area. - If floating or part of floating tabs, the next call of setFloating(false) - will dock it at \a area. - \note - setDockLocation(Qt::NoDockLocation) is equivalent to setFloating(true). + Assigns this dock widget to \a area. If docked at another dock location, it + will move to \a area. If floating or part of floating tabs, the next call + of setFloating(false) will dock it at \a area. + + \note setDockLocation(Qt::NoDockLocation) is equivalent to setFloating(true). + \sa dockLocation(), dockLocationChanged() */ void QDockWidget::setDockLocation(Qt::DockWidgetArea area) @@ -1879,11 +1879,11 @@ void QDockWidget::setDockLocation(Qt::DockWidgetArea area) } /*! + \property QDockWidget::dockLocation \since 6.9 - \brief QDockWidget::dockLocation() - \return the current dock location, or Qt::NoDockLocation if it's floating - and/or has no mainwindow parent. - \sa setDockLocation(), dockLocationChanged() + + \brief the current dock location, or Qt::NoDockLocation if this dock widget + is floating or has no mainwindow parent. */ Qt::DockWidgetArea QDockWidget::dockLocation() const { |
