Skip to content

Commit

Permalink
remove reference to removed setColorDialogOptions method
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Apr 18, 2018
1 parent 15bf357 commit 9627f73
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions python/gui/qgscolorbutton.sip.in
Expand Up @@ -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;
Expand All @@ -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 );
Expand All @@ -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 );
Expand Down Expand Up @@ -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 );
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/gui/qgscolorbutton.h
Expand Up @@ -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; }

Expand All @@ -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; }

Expand All @@ -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; }

Expand Down Expand Up @@ -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; }

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 9627f73

Please sign in to comment.