QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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. | |
Setting options for loading layers.
Definition at line 94 of file qgsprovidersublayerdetails.h.
|
inlineexplicit |
Constructor for LayerOptions with transformContext.
Definition at line 100 of file qgsprovidersublayerdetails.h.
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.
Definition at line 122 of file qgsprovidersublayerdetails.h.
bool QgsProviderSublayerDetails::LayerOptions::loadDefaultStyle = true |
Set to true
if the default layer style should be loaded.
Definition at line 108 of file qgsprovidersublayerdetails.h.
QgsCoordinateTransformContext QgsProviderSublayerDetails::LayerOptions::transformContext |
Coordinate transform context.
Definition at line 105 of file qgsprovidersublayerdetails.h.