QGIS API Documentation
3.6.0-Noosa (5873452)
|
Setting options for loading vector layers. More...
#include <qgsvectorlayer.h>
Public Member Functions | |
LayerOptions (bool loadDefaultStyle=true, bool readExtentFromXml=false) | |
Constructor for LayerOptions. More... | |
Public Attributes | |
bool | loadDefaultStyle = true |
Sets to true if the default layer style should be loaded. More... | |
bool | readExtentFromXml = false |
If true, the layer extent will be read from XML (i.e. More... | |
Setting options for loading vector layers.
Definition at line 398 of file qgsvectorlayer.h.
|
inlineexplicit |
Constructor for LayerOptions.
Definition at line 404 of file qgsvectorlayer.h.
bool QgsVectorLayer::LayerOptions::loadDefaultStyle = true |
Sets to true if the default layer style should be loaded.
Definition at line 410 of file qgsvectorlayer.h.
bool QgsVectorLayer::LayerOptions::readExtentFromXml = false |
If true, the layer extent will be read from XML (i.e.
stored in the project file). If false, the extent will be determined by the provider on layer load.
Definition at line 416 of file qgsvectorlayer.h.