Class: QgsProcessingParameterFolderDestination¶
A folder destination parameter, for specifying the destination path for a folder created by the algorithm or used for creating new files within the algorithm.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for all parameter definitions which represent file or layer destinations, e.g. parameters which are used for the destination for layers output by an algorithm. |
|
Base class for the definition of processing parameters. |
|
Abstract interface for classes which generate a file filter string. |
Constructor
Abstract Methods
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsProcessingParameterFolderDestination. See the FAQ for more details.
Static Methods
Creates a new parameter using the definition from a script code. |
|
Returns the type name for the parameter class. |
- class qgis.core.QgsProcessingParameterFolderDestination[source]¶
Bases:
QgsProcessingDestinationParameter- __init__(name: str | None, description: str | None = '', defaultValue: Any = None, optional: bool = False, createByDefault: bool = True)¶
Constructor for QgsProcessingParameterFolderDestination.
- Parameters:
name (str|None)
description (str|None = '')
defaultValue (Any = None)
optional (bool = False)
createByDefault (bool = True)
- __init__(a0: QgsProcessingParameterFolderDestination)
- Parameters:
- virtual clone(self) QgsProcessingParameterDefinition | None[source]¶
- Return type:
- static fromScriptCode(name: str | None, description: str | None, isOptional: bool, definition: str | None) QgsProcessingParameterFolderDestination | None¶
Creates a new parameter using the definition from a script code.
- Parameters:
name (str|None)
description (str|None)
isOptional (bool)
definition (str|None)
- Return type:
- abstract toOutputDefinition(self) QgsProcessingOutputDefinition | None[source]¶
- Return type: