Skip to content

Commit 78e7973

Browse files
author
AVWORLD\mich5148
committed
Fixes from code review
1 parent 4132b0a commit 78e7973

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

Plugin/CppApi/source/CoordinateConversion/CoordinateConversionController.cpp

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,14 +381,13 @@ bool CoordinateConversionController::isCaptureMode() const
381381
}
382382

383383
/*!
384-
\qmlproperty bool CoordinateConversionController::captureMode
385-
\brief The tool's capture mode
384+
\brief Sets the tool's capture mode to \a captureMode.
385+
386386
\list
387387
\li \c true = convert a point set via a mouse click.
388388
\li \c false = use the app's current location as the target point.
389389
\endlist
390390
*/
391-
392391
void CoordinateConversionController::setCaptureMode(bool captureMode)
393392
{
394393
if (captureMode == m_captureMode)
@@ -403,7 +402,7 @@ void CoordinateConversionController::setCaptureMode(bool captureMode)
403402

404403
/*!
405404
\fn void CoordinateConversionController::onMouseClicked(QMouseEvent& mouseEvent);
406-
\brief Signal emitted when the mouse is clicked.
405+
\brief Handles the mouse click at \a mouseEvent .
407406
408407
If the tool is active and is in \l captureMode, the clicked location will be used
409408
as the input for conversions.
@@ -421,7 +420,7 @@ void CoordinateConversionController::onMouseClicked(QMouseEvent& mouseEvent )
421420

422421
/*!
423422
\fn void CoordinateConversionController::onLocationChanged(const Point& location);
424-
\brief Signal emitted when the \l location property changes.
423+
\brief Handles the app's location update to \a location.
425424
426425
If the tool is active and is not in \l captureMode, the location will be used
427426
as the input for conversions.
@@ -744,6 +743,17 @@ void CoordinateConversionController::setRunConversion(bool runConversion)
744743
emit runConversionChanged();
745744
}
746745

746+
// properties
747+
748+
/*!
749+
\qmlproperty bool CoordinateConversionController::captureMode
750+
\brief The tool's capture mode.
751+
\list
752+
\li \c true = convert a point set via a mouse click.
753+
\li \c false = use the app's current location as the target point.
754+
\endlist
755+
*/
756+
747757
// signals
748758

749759
/*!

0 commit comments

Comments
 (0)