diff --git a/python/gui/qgscolorbutton.sip.in b/python/gui/qgscolorbutton.sip.in index 0d74ea3d4b7..69d9f06dfaf 100644 --- a/python/gui/qgscolorbutton.sip.in +++ b/python/gui/qgscolorbutton.sip.in @@ -174,7 +174,7 @@ the "no color" option sets the color button's color to a totally transparent col .. note:: The "no color" option is only shown if the color button is set to show an alpha channel in the color - dialog (see setColorDialogOptions) + dialog %End bool showNoColor() const; @@ -191,7 +191,7 @@ the "no color" option sets the color button's color to a totally transparent col .. note:: The "no color" option is only shown if the color button is set to show an alpha channel in the color - dialog (see setColorDialogOptions) + dialog %End void setNoColorString( const QString &noColorString ); @@ -207,7 +207,7 @@ Sets the string to use for the "no color" option in the button's drop-down menu. .. note:: The "no color" option is only shown if the color button is set to show an alpha channel in the color - dialog (see setColorDialogOptions) + dialog %End void setShowNull( bool showNull ); @@ -258,7 +258,7 @@ Returns the string used for the "no color" option in the button's drop-down menu .. note:: The "no color" option is only shown if the color button is set to show an alpha channel in the color - dialog (see setColorDialogOptions) + dialog %End void setContext( const QString &context ); @@ -355,7 +355,7 @@ Sets color to a totally transparent color. .. note:: If the color button is not set to show an opacity channel in the color - dialog (see setColorDialogOptions) then the color will not be changed. + dialog then the color will not be changed. .. seealso:: :py:func:`setToNull` %End diff --git a/src/gui/qgscolorbutton.h b/src/gui/qgscolorbutton.h index cff977b0691..d555e4e37f2 100644 --- a/src/gui/qgscolorbutton.h +++ b/src/gui/qgscolorbutton.h @@ -175,7 +175,7 @@ class GUI_EXPORT QgsColorButton : public QToolButton * \see showNoColor * \see setNoColorString * \note The "no color" option is only shown if the color button is set to show an alpha channel in the color - * dialog (see setColorDialogOptions) + * dialog */ void setShowNoColor( const bool showNoColorOption ) { mShowNoColorOption = showNoColorOption; } @@ -186,7 +186,7 @@ class GUI_EXPORT QgsColorButton : public QToolButton * \see setShowNoColor * \see noColorString * \note The "no color" option is only shown if the color button is set to show an alpha channel in the color - * dialog (see setColorDialogOptions) + * dialog */ bool showNoColor() const { return mShowNoColorOption; } @@ -196,7 +196,7 @@ class GUI_EXPORT QgsColorButton : public QToolButton * \see noColorString * \see setShowNoColor * \note The "no color" option is only shown if the color button is set to show an alpha channel in the color - * dialog (see setColorDialogOptions) + * dialog */ void setNoColorString( const QString &noColorString ) { mNoColorString = noColorString; } @@ -231,7 +231,7 @@ class GUI_EXPORT QgsColorButton : public QToolButton * \see setNoColorString * \see showNoColor * \note The "no color" option is only shown if the color button is set to show an alpha channel in the color - * dialog (see setColorDialogOptions) + * dialog */ QString noColorString() const { return mNoColorString; } @@ -312,7 +312,7 @@ class GUI_EXPORT QgsColorButton : public QToolButton /** * Sets color to a totally transparent color. * \note If the color button is not set to show an opacity channel in the color - * dialog (see setColorDialogOptions) then the color will not be changed. + * dialog then the color will not be changed. * \see setToNull() */ void setToNoColor();