QGIS API Documentation
3.2.0-Bonn (bc43194)
|
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 389 of file qgsvectorlayer.h.
|
inlineexplicit |
Constructor for LayerOptions.
Definition at line 395 of file qgsvectorlayer.h.
bool QgsVectorLayer::LayerOptions::loadDefaultStyle = true |
Sets to true if the default layer style should be loaded.
Definition at line 401 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 407 of file qgsvectorlayer.h.