QGIS API Documentation 3.99.0-Master (e59a7c0ab9f)
Public Member Functions | Public Attributes | List of all members
QgsProcessingGuiUtils::ResultLayerDetails Class Reference

Contains details of a layer result from running an algorithm. More...

#include <qgsprocessingguiutils.h>

Public Member Functions

 ResultLayerDetails (QgsMapLayer *layer)
 Constructor for ResultLayerDetails.
 

Public Attributes

QgsProjectdestinationProject = nullptr
 Destination QGIS project.
 
QgsMapLayerlayer = nullptr
 Associated map layer.
 
int sortKey = 0
 Sort order key for ordering output layers in the layer tree.
 
QgsLayerTreeGrouptargetLayerTreeGroup = nullptr
 Optional target layer tree group, where the layer should be placed.
 

Detailed Description

Contains details of a layer result from running an algorithm.

Since
QGIS 3.44

Definition at line 44 of file qgsprocessingguiutils.h.

Constructor & Destructor Documentation

◆ ResultLayerDetails()

QgsProcessingGuiUtils::ResultLayerDetails::ResultLayerDetails ( QgsMapLayer layer)
inline

Constructor for ResultLayerDetails.

Takes ownership of layer.

Definition at line 52 of file qgsprocessingguiutils.h.

Member Data Documentation

◆ destinationProject

QgsProject* QgsProcessingGuiUtils::ResultLayerDetails::destinationProject = nullptr

Destination QGIS project.

Definition at line 74 of file qgsprocessingguiutils.h.

◆ layer

QgsMapLayer* QgsProcessingGuiUtils::ResultLayerDetails::layer = nullptr

Associated map layer.

Definition at line 59 of file qgsprocessingguiutils.h.

◆ sortKey

int QgsProcessingGuiUtils::ResultLayerDetails::sortKey = 0

Sort order key for ordering output layers in the layer tree.

Definition at line 69 of file qgsprocessingguiutils.h.

◆ targetLayerTreeGroup

QgsLayerTreeGroup* QgsProcessingGuiUtils::ResultLayerDetails::targetLayerTreeGroup = nullptr

Optional target layer tree group, where the layer should be placed.

Definition at line 64 of file qgsprocessingguiutils.h.


The documentation for this class was generated from the following file: