Skip to content
Permalink
Browse files
3.20 -> 3.22
  • Loading branch information
lbartoletti authored and nyalldawson committed Sep 12, 2021
1 parent 06f78b1 commit 42794288ab027f84f7d93e76448009e7c81663fd
@@ -39,7 +39,9 @@ The :py:class:`QgsCadUtils` class provides routines for CAD editing.

QgsCadUtils::AlignMapPointConstraint xConstraint;
QgsCadUtils::AlignMapPointConstraint yConstraint;

QgsCadUtils::AlignMapPointConstraint zConstraint;

QgsCadUtils::AlignMapPointConstraint mConstraint;
QgsCadUtils::AlignMapPointConstraint distanceConstraint;
QgsCadUtils::AlignMapPointConstraint angleConstraint;
@@ -218,7 +218,7 @@ determines if CAD tools are enabled or if map tools behaves "nomally"
%Docstring
Determines if Z or M will be enabled.

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

bool constructionMode() const;
@@ -252,14 +252,14 @@ Returns the ``CadConstraint`` on the Y coordinate
%Docstring
Returns the ``CadConstraint`` on the Z coordinate

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

const CadConstraint *constraintM() const;
%Docstring
Returns the ``CadConstraint`` on the M coordinate

.. versionadded:: 3.20
.. versionadded:: 3.22
%End
bool commonAngleConstraint() const;
%Docstring
@@ -407,7 +407,7 @@ Can be used to set constraints by external widgets.

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void setM( const QString &value, WidgetSetMode mode );
@@ -422,7 +422,7 @@ Can be used to set constraints by external widgets.

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void setAngle( const QString &value, WidgetSetMode mode );
@@ -538,7 +538,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void valueMChanged( const QString &value );
@@ -550,7 +550,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void valueAngleChanged( const QString &value );
@@ -610,7 +610,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void lockMChanged( bool locked );
@@ -622,7 +622,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void lockAngleChanged( bool locked );
@@ -688,7 +688,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void relativeMChanged( bool relative );
@@ -702,7 +702,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void relativeAngleChanged( bool relative );
@@ -762,7 +762,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void enabledChangedM( bool enabled );
@@ -777,7 +777,7 @@ Could be used by widgets that must reflect the current advanced digitizing state

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void enabledChangedAngle( bool enabled );
@@ -843,7 +843,7 @@ Could be used by widgets to capture the focus when a field is being edited.

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void focusOnMRequested();
@@ -855,7 +855,7 @@ Could be used by widgets to capture the focus when a field is being edited.

unstable API (will likely change)

.. versionadded:: 3.20
.. versionadded:: 3.22
%End

void focusOnAngleRequested();
@@ -62,9 +62,17 @@ class CORE_EXPORT QgsCadUtils
QgsCadUtils::AlignMapPointConstraint xConstraint;
//! Constraint for Y coordinate
QgsCadUtils::AlignMapPointConstraint yConstraint;
//! Constraint for Z coordinate

/**
* Constraint for Z coordinate
* \since QGIS 3.22
*/
QgsCadUtils::AlignMapPointConstraint zConstraint;
//! Constraint for M coordinate

/**
* Constraint for M coordinate
* \since QGIS 3.22
*/
QgsCadUtils::AlignMapPointConstraint mConstraint;
//! Constraint for distance
QgsCadUtils::AlignMapPointConstraint distanceConstraint;
@@ -252,7 +252,7 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private

/**
* Determines if Z or M will be enabled.
* \since QGIS 3.20
* \since QGIS 3.22
*/
void switchZM( );

@@ -275,13 +275,13 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private

/**
* Returns the \a CadConstraint on the Z coordinate
* \since QGIS 3.20
* \since QGIS 3.22
*/
const CadConstraint *constraintZ() const { return mZConstraint.get(); }

/**
* Returns the \a CadConstraint on the M coordinate
* \since QGIS 3.20
* \since QGIS 3.22
*/
const CadConstraint *constraintM() const { return mMConstraint.get(); }
//! Returns TRUE if a constraint on a common angle is active
@@ -404,7 +404,7 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
* \param mode What type of interaction to emulate
* \param value The value (as a QString, as it could be an expression)
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void setZ( const QString &value, WidgetSetMode mode );

@@ -414,7 +414,7 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
* \param mode What type of interaction to emulate
* \param value The value (as a QString, as it could be an expression)
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void setM( const QString &value, WidgetSetMode mode );

@@ -503,15 +503,15 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
* Emitted whenever the Z \a value changes (either the mouse moved, or the user changed the input).
* Could be used by widgets that must reflect the current advanced digitizing state.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void valueZChanged( const QString &value );

/**
* Emitted whenever the M \a value changes (either the mouse moved, or the user changed the input).
* Could be used by widgets that must reflect the current advanced digitizing state.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void valueMChanged( const QString &value );

@@ -551,15 +551,15 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
* Emitted whenever the Z parameter is \a locked.
* Could be used by widgets that must reflect the current advanced digitizing state.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void lockZChanged( bool locked );

/**
* Emitted whenever the M parameter is \a locked.
* Could be used by widgets that must reflect the current advanced digitizing state.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void lockMChanged( bool locked );

@@ -605,7 +605,7 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
*
* \param relative Whether the Z parameter is relative or not.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void relativeZChanged( bool relative );

@@ -615,7 +615,7 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
*
* \param relative Whether the M parameter is relative or not.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void relativeMChanged( bool relative );

@@ -660,7 +660,7 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
*
* \param enabled Whether the Z parameter is enabled or not.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void enabledChangedZ( bool enabled );

@@ -671,7 +671,7 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
*
* \param enabled Whether the M parameter is enabled or not.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void enabledChangedM( bool enabled );

@@ -717,15 +717,15 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
* Emitted whenever the Z field should get the focus using the shortcuts (Z).
* Could be used by widgets to capture the focus when a field is being edited.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void focusOnZRequested();

/**
* Emitted whenever the M field should get the focus using the shortcuts (M).
* Could be used by widgets to capture the focus when a field is being edited.
* \note unstable API (will likely change)
* \since QGIS 3.20
* \since QGIS 3.22
*/
void focusOnMRequested();

0 comments on commit 4279428

Please sign in to comment.