QGIS API Documentation 3.29.0-Master (8c80f25a4f)
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. More...

Public Attributes

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

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)

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.

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: