QGIS API Documentation 3.41.0-Master (25ec5511245)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsProviderSublayerDetails::LayerOptions Struct Reference

Setting options for loading layers. More...

#include <qgsprovidersublayerdetails.h>

Public Member Functions

 LayerOptions (const QgsCoordinateTransformContext &transformContext)
 Constructor for LayerOptions with transformContext.
 

Public Attributes

bool loadAllStoredStyle = false
 Controls whether the stored styles will be all loaded.
 
bool loadDefaultStyle = true
 Set to true if the default layer style should be loaded.
 
QgsCoordinateTransformContext transformContext
 Coordinate transform context.
 

Detailed Description

Setting options for loading layers.

Definition at line 94 of file qgsprovidersublayerdetails.h.

Constructor & Destructor Documentation

◆ LayerOptions()

QgsProviderSublayerDetails::LayerOptions::LayerOptions ( const QgsCoordinateTransformContext transformContext)
inlineexplicit

Constructor for LayerOptions with transformContext.

Definition at line 100 of file qgsprovidersublayerdetails.h.

Member Data Documentation

◆ loadAllStoredStyle

bool QgsProviderSublayerDetails::LayerOptions::loadAllStoredStyle = false

Controls whether the stored styles will be all loaded.

If true and the layer's provider supports style stored in the data source all the available styles will be loaded in addition to the default one.

If false (the default), the layer's provider will only load the default style.

Since
QGIS 3.30

Definition at line 122 of file qgsprovidersublayerdetails.h.

◆ loadDefaultStyle

bool QgsProviderSublayerDetails::LayerOptions::loadDefaultStyle = true

Set to true if the default layer style should be loaded.

Definition at line 108 of file qgsprovidersublayerdetails.h.

◆ transformContext

QgsCoordinateTransformContext QgsProviderSublayerDetails::LayerOptions::transformContext

Coordinate transform context.

Definition at line 105 of file qgsprovidersublayerdetails.h.


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