QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Member Functions | Public Attributes | List of all members
QgsRasterLayer::LayerOptions Struct Reference

Setting options for loading raster layers. More...

#include <qgsrasterlayer.h>

Public Member Functions

 LayerOptions (bool loadDefaultStyle=true)
 Constructor for LayerOptions. More...
 

Public Attributes

bool loadDefaultStyle = true
 Sets to true if the default layer style should be loaded. More...
 

Detailed Description

Setting options for loading raster layers.

Since
QGIS 3.0

Definition at line 171 of file qgsrasterlayer.h.

Constructor & Destructor Documentation

QgsRasterLayer::LayerOptions::LayerOptions ( bool  loadDefaultStyle = true)
inlineexplicit

Constructor for LayerOptions.

Definition at line 177 of file qgsrasterlayer.h.

Member Data Documentation

bool QgsRasterLayer::LayerOptions::loadDefaultStyle = true

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

Definition at line 182 of file qgsrasterlayer.h.


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