QGIS API Documentation 3.99.0-Master (e59a7c0ab9f)
|
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 | |
QgsProject * | destinationProject = nullptr |
Destination QGIS project. | |
QgsMapLayer * | layer = nullptr |
Associated map layer. | |
int | sortKey = 0 |
Sort order key for ordering output layers in the layer tree. | |
QgsLayerTreeGroup * | targetLayerTreeGroup = nullptr |
Optional target layer tree group, where the layer should be placed. | |
Contains details of a layer result from running an algorithm.
Definition at line 44 of file qgsprocessingguiutils.h.
|
inline |
Constructor for ResultLayerDetails.
Takes ownership of layer.
Definition at line 52 of file qgsprocessingguiutils.h.
QgsProject* QgsProcessingGuiUtils::ResultLayerDetails::destinationProject = nullptr |
Destination QGIS project.
Definition at line 74 of file qgsprocessingguiutils.h.
QgsMapLayer* QgsProcessingGuiUtils::ResultLayerDetails::layer = nullptr |
Associated map layer.
Definition at line 59 of file qgsprocessingguiutils.h.
int QgsProcessingGuiUtils::ResultLayerDetails::sortKey = 0 |
Sort order key for ordering output layers in the layer tree.
Definition at line 69 of file qgsprocessingguiutils.h.
QgsLayerTreeGroup* QgsProcessingGuiUtils::ResultLayerDetails::targetLayerTreeGroup = nullptr |
Optional target layer tree group, where the layer should be placed.
Definition at line 64 of file qgsprocessingguiutils.h.