Skip to content

Commit

Permalink
Add a remaining docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent 41b47a2 commit 02da420
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions python/gui/processing/qgsprocessingguiregistry.sip.in
Expand Up @@ -50,9 +50,11 @@ widgets.

QgsProcessingAlgorithmConfigurationWidget *algorithmConfigurationWidget( QgsProcessingAlgorithm *algorithm ) const;
%Docstring
algorithmConfigurationWidget
@param algorithm
@return
Get the configuration widget for an ``algorithm``. This widget will be shown
next to parameter widgets. Most algorithms do not have a configuration widget
and in this case, None will be returned.

.. versionadded:: 3.2
%End

};
Expand Down
8 changes: 5 additions & 3 deletions src/gui/processing/qgsprocessingguiregistry.h
Expand Up @@ -62,9 +62,11 @@ class GUI_EXPORT QgsProcessingGuiRegistry
void removeAlgorithmConfigurationWidgetFactory( QgsProcessingAlgorithmConfigurationWidgetFactory *factory );

/**
* @brief algorithmConfigurationWidget
* @param algorithm
* @return
* Get the configuration widget for an \a algorithm. This widget will be shown
* next to parameter widgets. Most algorithms do not have a configuration widget
* and in this case, nullptr will be returned.
*
* \since QGIS 3.2
*/
QgsProcessingAlgorithmConfigurationWidget *algorithmConfigurationWidget( QgsProcessingAlgorithm *algorithm ) const;

Expand Down

0 comments on commit 02da420

Please sign in to comment.