QGIS API Documentation
3.0.2-Girona (307d082)
|
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 |
Set 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 388 of file qgsvectorlayer.h.
|
inlineexplicit |
Constructor for LayerOptions.
Definition at line 394 of file qgsvectorlayer.h.
bool QgsVectorLayer::LayerOptions::loadDefaultStyle = true |
Set to true if the default layer style should be loaded.
Definition at line 400 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 406 of file qgsvectorlayer.h.