QGIS API Documentation 4.1.0-Master (009143bf4b4)
Loading...
Searching...
No Matches
QgsSettingsRegistryCore Class Reference

Used for settings introspection and collects all QgsSettingsEntry instances of core. More...

#include <qgssettingsregistrycore.h>

Inheritance diagram for QgsSettingsRegistryCore:

Public Member Functions

 QgsSettingsRegistryCore ()
 ~QgsSettingsRegistryCore () override
Public Member Functions inherited from QgsSettingsRegistry
 QgsSettingsRegistry ()
virtual ~QgsSettingsRegistry ()
void addSubRegistry (const QgsSettingsRegistry *settingsRegistry)
 Append a child settingsRegistry to the register.
void removeSubRegistry (const QgsSettingsRegistry *settingsRegistry)
 Remove a child settingsRegistry from the register.
QList< const QgsSettingsEntryBase * > settingEntries () const
 Returns the list of registered QgsSettingsEntryBase.
const QgsSettingsEntryBasesettingsEntry (const QString &key, bool searchChildRegistries=true) const
 Returns the QgsSettingsEntry with the given key or nullptr if not found.
QList< const QgsSettingsRegistry * > subRegistries () const
 Returns the list of registered child QgsSettingsRegistry.

Static Public Attributes

static const QgsSettingsEntryEnumFlag< Qgis::EmbeddedScriptMode > * settingsCodeExecutionBehaviorUndeterminedProjects
 Settings entry for behavior handling embedded scripts within projects.
static const QgsSettingsEntryStringListsettingsCodeExecutionTrustedProjectsFolders = new QgsSettingsEntryStringList( u"code-execution-trusted-projects-folders"_s, QgsSettingsTree::sTreeCore, QStringList(), u"Projects and folders that are trusted and allowed execution of embedded scripts"_s )
 Settings entry for projects and folders that are allowed execution of embedded scripts across sessions.
static const QgsSettingsEntryStringListsettingsCodeExecutionUntrustedProjectsFolders = new QgsSettingsEntryStringList( u"code-execution-denied-projects-folders"_s, QgsSettingsTree::sTreeCore, QStringList(), u"Projects and folders that are untrusted and denied execution of embedded scripts"_s )
 Settings entry for projects and folders that are denied execution of embedded scripts across sessions.
static const QgsSettingsEntryColorsettingsDefaultCanvasColor = new QgsSettingsEntryColor( u"default-canvas-color"_s, QgsSettingsTree::sTreeQgis, QColor( 255, 255, 255 ), u"Default canvas background color"_s )
 Settings entry for default canvas background color.
static const QgsSettingsEntryColorsettingsDefaultSelectionColor = new QgsSettingsEntryColor( u"default-selection-color"_s, QgsSettingsTree::sTreeQgis, QColor( 255, 255, 0, 255 ), u"Default selection color"_s )
 Settings entry for default selection color.
static const QgsSettingsEntryBoolsettingsDigitizingConvertToCurve = new QgsSettingsEntryBool( u"convert-to-curve"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing convert to curve.
static const QgsSettingsEntryDoublesettingsDigitizingConvertToCurveAngleTolerance = new QgsSettingsEntryDouble( u"convert-to-curve-angle-tolerance"_s, QgsSettingsTree::sTreeDigitizing, 1e-6 )
 Settings entry digitizing convert to curve angle tolerance.
static const QgsSettingsEntryDoublesettingsDigitizingConvertToCurveDistanceTolerance = new QgsSettingsEntryDouble( u"convert-to-curve-distance-tolerance"_s, QgsSettingsTree::sTreeDigitizing, 1e-6 )
 Settings entry digitizing convert to curve distance tolerance.
static const QgsSettingsEntryDoublesettingsDigitizingDefaultMValue = new QgsSettingsEntryDouble( u"default-m-value"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_M_COORDINATE )
 Settings entry digitizing default m value.
static const QgsSettingsEntryBoolsettingsDigitizingDefaultSnapEnabled = new QgsSettingsEntryBool( u"default-snap-enabled"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing default snap enabled.
static const QgsSettingsEntryEnumFlag< Qgis::SnappingMode > * settingsDigitizingDefaultSnapMode = new QgsSettingsEntryEnumFlag<Qgis::SnappingMode>( u"default-snap-mode"_s, QgsSettingsTree::sTreeDigitizing, Qgis::SnappingMode::AllLayers )
 Settings entry digitizing default snap type.
static const QgsSettingsEntryDoublesettingsDigitizingDefaultSnappingTolerance = new QgsSettingsEntryDouble( u"default-snapping-tolerance"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_SNAP_TOLERANCE )
 Settings entry digitizing default snapping tolerance.
static const QgsSettingsEntryEnumFlag< Qgis::MapToolUnit > * settingsDigitizingDefaultSnappingToleranceUnit = new QgsSettingsEntryEnumFlag<Qgis::MapToolUnit>( u"default-snapping-tolerance-unit"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_SNAP_UNITS )
 Settings entry digitizing default snapping tolerance unit.
static const QgsSettingsEntryEnumFlag< Qgis::SnappingType > * settingsDigitizingDefaultSnapType = new QgsSettingsEntryEnumFlag<Qgis::SnappingType>( u"default-snap-type"_s, QgsSettingsTree::sTreeDigitizing, Qgis::SnappingType::Vertex )
 Settings entry digitizing default snap type.
static const QgsSettingsEntryDoublesettingsDigitizingDefaultZValue = new QgsSettingsEntryDouble( u"default-z-value"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_Z_COORDINATE )
 Settings entry digitizing default z value.
static const QgsSettingsEntryBoolsettingsDigitizingDisableEnterAttributeValuesDialog = new QgsSettingsEntryBool( u"disable-enter-attribute-values-dialog"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing disable enter attribute values dialog.
static const QgsSettingsEntryColorsettingsDigitizingFillColor = new QgsSettingsEntryColor( u"fill-color"_s, QgsSettingsTree::sTreeDigitizing, QColor( 255, 0, 0, 30 ) )
 Settings entry digitizing fill color.
static const QgsSettingsEntryColorsettingsDigitizingLineColor = new QgsSettingsEntryColor( u"line-color"_s, QgsSettingsTree::sTreeDigitizing, QColor( 255, 0, 0, 200 ) )
 Settings entry digitizing line color.
static const QgsSettingsEntryDoublesettingsDigitizingLineColorAlphaScale = new QgsSettingsEntryDouble( u"line-color-alpha-scale"_s, QgsSettingsTree::sTreeDigitizing, 0.75 )
 Settings entry digitizing line color alpha scale.
static const QgsSettingsEntryBoolsettingsDigitizingLineGhost = new QgsSettingsEntryBool( u"line-ghost"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing line ghost.
static const QgsSettingsEntryIntegersettingsDigitizingLineWidth = new QgsSettingsEntryInteger( u"line-width"_s, QgsSettingsTree::sTreeDigitizing, 1 )
 Settings entry digitizing line width.
static const QgsSettingsEntryBoolsettingsDigitizingMarkerOnlyForSelected = new QgsSettingsEntryBool( u"marker-only-for-selected"_s, QgsSettingsTree::sTreeDigitizing, true )
 Settings entry digitizing marker only for selected.
static const QgsSettingsEntryDoublesettingsDigitizingMarkerSizeMm = new QgsSettingsEntryDouble( u"marker-size-mm"_s, QgsSettingsTree::sTreeDigitizing, 2.0 )
 Settings entry digitizing marker size mm.
static const QgsSettingsEntryStringsettingsDigitizingMarkerStyle = new QgsSettingsEntryString( u"marker-style"_s, QgsSettingsTree::sTreeDigitizing, "Cross" )
 Settings entry digitizing marker style.
static const QgsSettingsEntryIntegersettingsDigitizingNurbsDegree = new QgsSettingsEntryInteger( u"nurbs-degree"_s, QgsSettingsTree::sTreeDigitizing, 3 )
 Settings entry digitizing NURBS curve degree.
static const QgsSettingsEntryEnumFlag< Qgis::EndCapStyle > * settingsDigitizingOffsetCapStyle = new QgsSettingsEntryEnumFlag<Qgis::EndCapStyle>( u"offset-cap-style"_s, QgsSettingsTree::sTreeDigitizing, Qgis::EndCapStyle::Round )
 Settings entry digitizing offset cap style.
static const QgsSettingsEntryEnumFlag< Qgis::JoinStyle > * settingsDigitizingOffsetJoinStyle = new QgsSettingsEntryEnumFlag<Qgis::JoinStyle>( u"offset-join-style"_s, QgsSettingsTree::sTreeDigitizing, Qgis::JoinStyle::Round )
 Settings entry digitizing offset join style.
static const QgsSettingsEntryDoublesettingsDigitizingOffsetMiterLimit = new QgsSettingsEntryDouble( u"offset-miter-limit"_s, QgsSettingsTree::sTreeDigitizing, 5.0 )
 Settings entry digitizing offset miter limit.
static const QgsSettingsEntryIntegersettingsDigitizingOffsetQuadSeg = new QgsSettingsEntryInteger( u"offset-quad-seg"_s, QgsSettingsTree::sTreeDigitizing, 8 )
 Settings entry digitizing offset quad seg.
static const QgsSettingsEntryBoolsettingsDigitizingOffsetShowAdvanced = new QgsSettingsEntryBool( u"offset-show-advanced"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing offset show advanced.
static const QgsSettingsEntryBoolsettingsDigitizingReuseLastValues = new QgsSettingsEntryBool( u"reuse-last-values"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing reuseLastValues.
static const QgsSettingsEntryDoublesettingsDigitizingSearchRadiusVertexEdit = new QgsSettingsEntryDouble( u"search-radius-vertex-edit"_s, QgsSettingsTree::sTreeDigitizing, 10 )
 Settings entry digitizing search radius vertex edit.
static const QgsSettingsEntryEnumFlag< Qgis::MapToolUnit > * settingsDigitizingSearchRadiusVertexEditUnit = new QgsSettingsEntryEnumFlag<Qgis::MapToolUnit>( u"search-radius-vertex-edit-unit"_s, QgsSettingsTree::sTreeDigitizing, Qgis::MapToolUnit::Pixels )
 Settings entry digitizing search radius vertex edit unit.
static const QgsSettingsEntryColorsettingsDigitizingSnapColor = new QgsSettingsEntryColor( u"snap-color"_s, QgsSettingsTree::sTreeDigitizing, QColor( Qt::magenta ) )
 Settings entry digitizing snap color.
static const QgsSettingsEntryBoolsettingsDigitizingSnapInvisibleFeature = new QgsSettingsEntryBool( u"snap-invisible-feature"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing snap invisible feature.
static const QgsSettingsEntryBoolsettingsDigitizingSnapTooltip = new QgsSettingsEntryBool( u"snap-tooltip"_s, QgsSettingsTree::sTreeDigitizing, false )
 Settings entry digitizing snap tooltip.
static const QgsSettingsEntryEnumFlag< Qgis::CadMeasurementDisplayType > * settingsDigitizingStatusBarAreaDisplay
 Settings entry digitizing status bar area display.
static const QgsSettingsEntryEnumFlag< Qgis::CadMeasurementDisplayType > * settingsDigitizingStatusBarTotalLengthDisplay
 Settings entry digitizing status bar perimeter/total length display.
static const QgsSettingsEntryIntegersettingsDigitizingStreamTolerance = new QgsSettingsEntryInteger( u"stream-tolerance"_s, QgsSettingsTree::sTreeDigitizing, 2 )
 Settings entry digitizing stream tolerance.
static const QgsSettingsEntryIntegersettingsDigitizingTracingMaxFeatureCount = new QgsSettingsEntryInteger( u"tracing-max-feature-count"_s, QgsSettingsTree::sTreeDigitizing, 10000 )
 Settings entry digitizing tracing max feature count.
static const QgsSettingsEntryIntegersettingsDigitizingValidateGeometries = new QgsSettingsEntryInteger( u"validate-geometries"_s, QgsSettingsTree::sTreeDigitizing, 1 )
 Settings entry digitizing validate geometries.
static const QgsSettingsEntryBoolsettingsEnableWMSTilePrefetching = new QgsSettingsEntryBool( u"enable_wms_tile_prefetch"_s, QgsSettingsTree::sTreeWms, false, u"Whether to include WMS layers when rendering tiles adjacent to the visible map area"_s )
 Settings entry enable WMS tile prefetching.
static const QgsSettingsEntryStringsettingsGpsBabelPath = new QgsSettingsEntryString( u"gpsbabelPath"_s, QgsSettingsTree::sTreeGps, u"gpsbabel"_s )
 Settings entry path to GPSBabel executable.
static const QgsSettingsEntryBoolsettingsLayerParallelLoading = new QgsSettingsEntryBool( u"provider-parallel-loading"_s, QgsSettingsTree::sTreeCore, true, u"Load layers in parallel (only available for some providers (GDAL and PostgreSQL)"_s, Qgis::SettingsOption() )
 Settings entry whether layer are loading in parallel.
static const QgsSettingsEntryIntegersettingsLayerParallelLoadingMaxCount = new QgsSettingsEntryInteger( u"provider-parallel-loading-max-count"_s, QgsSettingsTree::sTreeCore, QThread::idealThreadCount(), u"Maximum thread used to load layers in parallel"_s, Qgis::SettingsOption(), 1 )
 Settings entry maximum thread count used to load layer in parallel.
static const QgsSettingsEntryEnumFlag< Qgis::LayerTreeInsertionMethod > * settingsLayerTreeInsertionMethod
 Settings entry for layer tree insertion method.
static const QgsSettingsEntryBoolsettingsLayerTreeShowFeatureCountForNewLayers = new QgsSettingsEntryBool( u"show-feature-count-for-new-layers"_s, QgsSettingsTree::sTreeLayerTree, false, u"If true, feature counts will be shown in the layer tree for all newly added layers."_s )
 Settings entry show feature counts for newly added layers by default.
static const QgsSettingsEntryBoolsettingsLayerTreeShowIdInLayerTooltips = new QgsSettingsEntryBool( u"show-id-in-layer-tooltips"_s, QgsSettingsTree::sTreeLayerTree, false, u"If true, layer IDs will be shown in the layer tooltips."_s )
 Settings entry for hidden ID in layer tooltips.
static const QgsSettingsEntryBoolsettingsLayerTreeShowLegendClassifiers = new QgsSettingsEntryBool( u"show-legend-classifiers"_s, QgsSettingsTree::sTreeLayerTree, false, u"If true, classification attribute name is shown in the legend."_s )
 Settings entry for showing legend classifiers (classification attribute name) in layer tree.
static const QgsSettingsEntryStringListsettingsMapScales = new QgsSettingsEntryStringList( u"default_scales"_s, QgsSettingsTree::sTreeMap, Qgis::defaultProjectScales().split( ',' ) )
static const QgsSettingsEntryIntegersettingsMeasureDecimalPlaces = new QgsSettingsEntryInteger( u"decimal-places"_s, QgsSettingsTree::sTreeMeasure, 3, u"Number of decimal places for measurements"_s )
 Settings entry for number of decimal places for measurements.
static const QgsSettingsEntryStringsettingsMeasureDisplayUnits = new QgsSettingsEntryString( u"display-units"_s, QgsSettingsTree::sTreeMeasure, QString(), u"Distance display units (encoded unit string)"_s )
 Settings entry for distance display units.
static const QgsSettingsEntryBoolsettingsMeasureKeepBaseUnit = new QgsSettingsEntryBool( u"keep-base-unit"_s, QgsSettingsTree::sTreeMeasure, true, u"Whether to keep base measurement units instead of converting to larger units"_s )
 Settings entry for whether to keep base measurement units.
static const QgsSettingsEntryBoolsettingsMeasurePlanimetric = new QgsSettingsEntryBool( u"planimetric"_s, QgsSettingsTree::sTreeMeasure, true, u"Whether measurements should be planimetric (ellipsoid off) or use the ellipsoid"_s )
 Settings entry for whether measurements should be planimetric (ellipsoid off) or use the ellipsoid.
static const QgsSettingsEntryStringsettingsNetworkCacheDirectory = new QgsSettingsEntryString( u"directory"_s, QgsSettingsTree::sTreeNetworkCache, QString(), u"Network disk cache directory"_s )
 Settings entry network cache directory.
static const QgsSettingsEntryInteger64settingsNetworkCacheSize = new QgsSettingsEntryInteger64( u"size-bytes"_s, QgsSettingsTree::sTreeNetworkCache, 0, u"Network disk cache size in bytes (0 = automatic size)"_s )
 Settings entry network cache directory.
static const QgsSettingsEntryStringListsettingsScanItemsFastScanUris = new QgsSettingsEntryStringList( u"scan-items-fast-scan-uris"_s, QgsSettingsTree::sTreeQgis, QStringList(), u"URIs for fast scanning in browser"_s )
 Settings entry for fast scan URIs in browser.
static const QgsSettingsEntryStringsettingsScanZipInBrowser = new QgsSettingsEntryString( u"scan-zip-in-browser"_s, QgsSettingsTree::sTreeQgis, u"basic"_s, u"Zip scanning behavior in browser (no, basic, full)"_s )
 Settings entry for zip scanning behavior in browser.
static const QgsSettingsEntryIntegersettingsSymbolsListGroupsIndex = new QgsSettingsEntryInteger( u"symbols-list-groups-index"_s, QgsSettingsTree::sTreeQgis, 0, u"Currently selected group index in symbols list"_s )
 Settings entry for symbols list groups index.

Friends

class QgsApplication

Additional Inherited Members

Protected Member Functions inherited from QgsSettingsRegistry
bool addSettingsEntry (const QgsSettingsEntryBase *settingsEntry)
 Adds settingsEntry to the registry.
Q_DECL_DEPRECATED void addSettingsEntryGroup (const QgsSettingsEntryGroup *settingsGroup)
 Adds a group of setting to the registry.

Detailed Description

Used for settings introspection and collects all QgsSettingsEntry instances of core.

Since
QGIS 3.20

Definition at line 42 of file qgssettingsregistrycore.h.

Constructor & Destructor Documentation

◆ QgsSettingsRegistryCore()

QgsSettingsRegistryCore::QgsSettingsRegistryCore ( )

Definition at line 211 of file qgssettingsregistrycore.cpp.

◆ ~QgsSettingsRegistryCore()

QgsSettingsRegistryCore::~QgsSettingsRegistryCore ( )
override

Definition at line 215 of file qgssettingsregistrycore.cpp.

◆ QgsApplication

friend class QgsApplication
friend

Definition at line 237 of file qgssettingsregistrycore.h.

Member Data Documentation

◆ settingsCodeExecutionBehaviorUndeterminedProjects

const QgsSettingsEntryEnumFlag< Qgis::EmbeddedScriptMode > * QgsSettingsRegistryCore::settingsCodeExecutionBehaviorUndeterminedProjects
static
Initial value:
Qgis::EmbeddedScriptMode>( u"code-execution-behavior-undetermined-projects"_s, QgsSettingsTree::sTreeCore, Qgis::EmbeddedScriptMode::Ask, u"Behavior for embedded scripts within projects of undetermined trust"_s )
EmbeddedScriptMode
Authorisation to run script embedded in projects.
Definition qgis.h:448
@ Ask
User is prompted before running scripts.
Definition qgis.h:450
A template class for enum and flag settings entry.
static QgsSettingsTreeNode * sTreeCore

Settings entry for behavior handling embedded scripts within projects.

Definition at line 198 of file qgssettingsregistrycore.h.

◆ settingsCodeExecutionTrustedProjectsFolders

const QgsSettingsEntryStringList * QgsSettingsRegistryCore::settingsCodeExecutionTrustedProjectsFolders = new QgsSettingsEntryStringList( u"code-execution-trusted-projects-folders"_s, QgsSettingsTree::sTreeCore, QStringList(), u"Projects and folders that are trusted and allowed execution of embedded scripts"_s )
static

Settings entry for projects and folders that are allowed execution of embedded scripts across sessions.

Definition at line 201 of file qgssettingsregistrycore.h.

◆ settingsCodeExecutionUntrustedProjectsFolders

const QgsSettingsEntryStringList * QgsSettingsRegistryCore::settingsCodeExecutionUntrustedProjectsFolders = new QgsSettingsEntryStringList( u"code-execution-denied-projects-folders"_s, QgsSettingsTree::sTreeCore, QStringList(), u"Projects and folders that are untrusted and denied execution of embedded scripts"_s )
static

Settings entry for projects and folders that are denied execution of embedded scripts across sessions.

Definition at line 204 of file qgssettingsregistrycore.h.

◆ settingsDefaultCanvasColor

const QgsSettingsEntryColor * QgsSettingsRegistryCore::settingsDefaultCanvasColor = new QgsSettingsEntryColor( u"default-canvas-color"_s, QgsSettingsTree::sTreeQgis, QColor( 255, 255, 255 ), u"Default canvas background color"_s )
static

Settings entry for default canvas background color.

Definition at line 231 of file qgssettingsregistrycore.h.

◆ settingsDefaultSelectionColor

const QgsSettingsEntryColor * QgsSettingsRegistryCore::settingsDefaultSelectionColor = new QgsSettingsEntryColor( u"default-selection-color"_s, QgsSettingsTree::sTreeQgis, QColor( 255, 255, 0, 255 ), u"Default selection color"_s )
static

Settings entry for default selection color.

Definition at line 234 of file qgssettingsregistrycore.h.

◆ settingsDigitizingConvertToCurve

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingConvertToCurve = new QgsSettingsEntryBool( u"convert-to-curve"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing convert to curve.

Definition at line 139 of file qgssettingsregistrycore.h.

◆ settingsDigitizingConvertToCurveAngleTolerance

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingConvertToCurveAngleTolerance = new QgsSettingsEntryDouble( u"convert-to-curve-angle-tolerance"_s, QgsSettingsTree::sTreeDigitizing, 1e-6 )
static

Settings entry digitizing convert to curve angle tolerance.

Definition at line 142 of file qgssettingsregistrycore.h.

◆ settingsDigitizingConvertToCurveDistanceTolerance

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingConvertToCurveDistanceTolerance = new QgsSettingsEntryDouble( u"convert-to-curve-distance-tolerance"_s, QgsSettingsTree::sTreeDigitizing, 1e-6 )
static

Settings entry digitizing convert to curve distance tolerance.

Definition at line 145 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDefaultMValue

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingDefaultMValue = new QgsSettingsEntryDouble( u"default-m-value"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_M_COORDINATE )
static

Settings entry digitizing default m value.

Definition at line 79 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDefaultSnapEnabled

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingDefaultSnapEnabled = new QgsSettingsEntryBool( u"default-snap-enabled"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing default snap enabled.

Definition at line 82 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDefaultSnapMode

const QgsSettingsEntryEnumFlag< Qgis::SnappingMode > * QgsSettingsRegistryCore::settingsDigitizingDefaultSnapMode = new QgsSettingsEntryEnumFlag<Qgis::SnappingMode>( u"default-snap-mode"_s, QgsSettingsTree::sTreeDigitizing, Qgis::SnappingMode::AllLayers )
static

Settings entry digitizing default snap type.

Definition at line 85 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDefaultSnappingTolerance

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingDefaultSnappingTolerance = new QgsSettingsEntryDouble( u"default-snapping-tolerance"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_SNAP_TOLERANCE )
static

Settings entry digitizing default snapping tolerance.

Definition at line 91 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDefaultSnappingToleranceUnit

const QgsSettingsEntryEnumFlag< Qgis::MapToolUnit > * QgsSettingsRegistryCore::settingsDigitizingDefaultSnappingToleranceUnit = new QgsSettingsEntryEnumFlag<Qgis::MapToolUnit>( u"default-snapping-tolerance-unit"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_SNAP_UNITS )
static

Settings entry digitizing default snapping tolerance unit.

Definition at line 94 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDefaultSnapType

const QgsSettingsEntryEnumFlag< Qgis::SnappingType > * QgsSettingsRegistryCore::settingsDigitizingDefaultSnapType = new QgsSettingsEntryEnumFlag<Qgis::SnappingType>( u"default-snap-type"_s, QgsSettingsTree::sTreeDigitizing, Qgis::SnappingType::Vertex )
static

Settings entry digitizing default snap type.

Definition at line 88 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDefaultZValue

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingDefaultZValue = new QgsSettingsEntryDouble( u"default-z-value"_s, QgsSettingsTree::sTreeDigitizing, Qgis::DEFAULT_Z_COORDINATE )
static

Settings entry digitizing default z value.

Definition at line 76 of file qgssettingsregistrycore.h.

◆ settingsDigitizingDisableEnterAttributeValuesDialog

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingDisableEnterAttributeValuesDialog = new QgsSettingsEntryBool( u"disable-enter-attribute-values-dialog"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing disable enter attribute values dialog.

Definition at line 124 of file qgssettingsregistrycore.h.

◆ settingsDigitizingFillColor

const QgsSettingsEntryColor * QgsSettingsRegistryCore::settingsDigitizingFillColor = new QgsSettingsEntryColor( u"fill-color"_s, QgsSettingsTree::sTreeDigitizing, QColor( 255, 0, 0, 30 ) )
static

Settings entry digitizing fill color.

Definition at line 70 of file qgssettingsregistrycore.h.

◆ settingsDigitizingLineColor

const QgsSettingsEntryColor * QgsSettingsRegistryCore::settingsDigitizingLineColor = new QgsSettingsEntryColor( u"line-color"_s, QgsSettingsTree::sTreeDigitizing, QColor( 255, 0, 0, 200 ) )
static

Settings entry digitizing line color.

Definition at line 64 of file qgssettingsregistrycore.h.

◆ settingsDigitizingLineColorAlphaScale

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingLineColorAlphaScale = new QgsSettingsEntryDouble( u"line-color-alpha-scale"_s, QgsSettingsTree::sTreeDigitizing, 0.75 )
static

Settings entry digitizing line color alpha scale.

Definition at line 67 of file qgssettingsregistrycore.h.

◆ settingsDigitizingLineGhost

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingLineGhost = new QgsSettingsEntryBool( u"line-ghost"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing line ghost.

Definition at line 73 of file qgssettingsregistrycore.h.

◆ settingsDigitizingLineWidth

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsDigitizingLineWidth = new QgsSettingsEntryInteger( u"line-width"_s, QgsSettingsTree::sTreeDigitizing, 1 )
static

Settings entry digitizing line width.

Definition at line 61 of file qgssettingsregistrycore.h.

◆ settingsDigitizingMarkerOnlyForSelected

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingMarkerOnlyForSelected = new QgsSettingsEntryBool( u"marker-only-for-selected"_s, QgsSettingsTree::sTreeDigitizing, true )
static

Settings entry digitizing marker only for selected.

Definition at line 112 of file qgssettingsregistrycore.h.

◆ settingsDigitizingMarkerSizeMm

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingMarkerSizeMm = new QgsSettingsEntryDouble( u"marker-size-mm"_s, QgsSettingsTree::sTreeDigitizing, 2.0 )
static

Settings entry digitizing marker size mm.

Definition at line 118 of file qgssettingsregistrycore.h.

◆ settingsDigitizingMarkerStyle

const QgsSettingsEntryString * QgsSettingsRegistryCore::settingsDigitizingMarkerStyle = new QgsSettingsEntryString( u"marker-style"_s, QgsSettingsTree::sTreeDigitizing, "Cross" )
static

Settings entry digitizing marker style.

Definition at line 115 of file qgssettingsregistrycore.h.

◆ settingsDigitizingNurbsDegree

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsDigitizingNurbsDegree = new QgsSettingsEntryInteger( u"nurbs-degree"_s, QgsSettingsTree::sTreeDigitizing, 3 )
static

Settings entry digitizing NURBS curve degree.

Since
QGIS 4.0

Definition at line 58 of file qgssettingsregistrycore.h.

◆ settingsDigitizingOffsetCapStyle

const QgsSettingsEntryEnumFlag< Qgis::EndCapStyle > * QgsSettingsRegistryCore::settingsDigitizingOffsetCapStyle = new QgsSettingsEntryEnumFlag<Qgis::EndCapStyle>( u"offset-cap-style"_s, QgsSettingsTree::sTreeDigitizing, Qgis::EndCapStyle::Round )
static

Settings entry digitizing offset cap style.

Definition at line 148 of file qgssettingsregistrycore.h.

◆ settingsDigitizingOffsetJoinStyle

const QgsSettingsEntryEnumFlag< Qgis::JoinStyle > * QgsSettingsRegistryCore::settingsDigitizingOffsetJoinStyle = new QgsSettingsEntryEnumFlag<Qgis::JoinStyle>( u"offset-join-style"_s, QgsSettingsTree::sTreeDigitizing, Qgis::JoinStyle::Round )
static

Settings entry digitizing offset join style.

Definition at line 130 of file qgssettingsregistrycore.h.

◆ settingsDigitizingOffsetMiterLimit

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingOffsetMiterLimit = new QgsSettingsEntryDouble( u"offset-miter-limit"_s, QgsSettingsTree::sTreeDigitizing, 5.0 )
static

Settings entry digitizing offset miter limit.

Definition at line 136 of file qgssettingsregistrycore.h.

◆ settingsDigitizingOffsetQuadSeg

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsDigitizingOffsetQuadSeg = new QgsSettingsEntryInteger( u"offset-quad-seg"_s, QgsSettingsTree::sTreeDigitizing, 8 )
static

Settings entry digitizing offset quad seg.

Definition at line 133 of file qgssettingsregistrycore.h.

◆ settingsDigitizingOffsetShowAdvanced

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingOffsetShowAdvanced = new QgsSettingsEntryBool( u"offset-show-advanced"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing offset show advanced.

Definition at line 151 of file qgssettingsregistrycore.h.

◆ settingsDigitizingReuseLastValues

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingReuseLastValues = new QgsSettingsEntryBool( u"reuse-last-values"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing reuseLastValues.

Definition at line 121 of file qgssettingsregistrycore.h.

◆ settingsDigitizingSearchRadiusVertexEdit

const QgsSettingsEntryDouble * QgsSettingsRegistryCore::settingsDigitizingSearchRadiusVertexEdit = new QgsSettingsEntryDouble( u"search-radius-vertex-edit"_s, QgsSettingsTree::sTreeDigitizing, 10 )
static

Settings entry digitizing search radius vertex edit.

Definition at line 97 of file qgssettingsregistrycore.h.

◆ settingsDigitizingSearchRadiusVertexEditUnit

const QgsSettingsEntryEnumFlag< Qgis::MapToolUnit > * QgsSettingsRegistryCore::settingsDigitizingSearchRadiusVertexEditUnit = new QgsSettingsEntryEnumFlag<Qgis::MapToolUnit>( u"search-radius-vertex-edit-unit"_s, QgsSettingsTree::sTreeDigitizing, Qgis::MapToolUnit::Pixels )
static

Settings entry digitizing search radius vertex edit unit.

Definition at line 100 of file qgssettingsregistrycore.h.

◆ settingsDigitizingSnapColor

const QgsSettingsEntryColor * QgsSettingsRegistryCore::settingsDigitizingSnapColor = new QgsSettingsEntryColor( u"snap-color"_s, QgsSettingsTree::sTreeDigitizing, QColor( Qt::magenta ) )
static

Settings entry digitizing snap color.

Definition at line 103 of file qgssettingsregistrycore.h.

◆ settingsDigitizingSnapInvisibleFeature

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingSnapInvisibleFeature = new QgsSettingsEntryBool( u"snap-invisible-feature"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing snap invisible feature.

Definition at line 109 of file qgssettingsregistrycore.h.

◆ settingsDigitizingSnapTooltip

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsDigitizingSnapTooltip = new QgsSettingsEntryBool( u"snap-tooltip"_s, QgsSettingsTree::sTreeDigitizing, false )
static

Settings entry digitizing snap tooltip.

Definition at line 106 of file qgssettingsregistrycore.h.

◆ settingsDigitizingStatusBarAreaDisplay

const QgsSettingsEntryEnumFlag< Qgis::CadMeasurementDisplayType > * QgsSettingsRegistryCore::settingsDigitizingStatusBarAreaDisplay
static
Initial value:
Qgis::CadMeasurementDisplayType>( u"status-bar-area-display"_s, QgsSettingsTree::sTreeDigitizing, Qgis::CadMeasurementDisplayType::Hidden, u"Area measurement to show in status bar while digitizing"_s )
CadMeasurementDisplayType
Advanced digitizing measurement display types.
Definition qgis.h:4260
@ Hidden
Hide measurement.
Definition qgis.h:4261
static QgsSettingsTreeNode * sTreeDigitizing

Settings entry digitizing status bar area display.

Definition at line 157 of file qgssettingsregistrycore.h.

◆ settingsDigitizingStatusBarTotalLengthDisplay

const QgsSettingsEntryEnumFlag< Qgis::CadMeasurementDisplayType > * QgsSettingsRegistryCore::settingsDigitizingStatusBarTotalLengthDisplay
static
Initial value:
Qgis::CadMeasurementDisplayType>( u"status-bar-total-length-display"_s, QgsSettingsTree::sTreeDigitizing, Qgis::CadMeasurementDisplayType::Hidden, u"Total length/perimeter measurement to show in status bar while digitizing"_s )

Settings entry digitizing status bar perimeter/total length display.

Definition at line 160 of file qgssettingsregistrycore.h.

◆ settingsDigitizingStreamTolerance

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsDigitizingStreamTolerance = new QgsSettingsEntryInteger( u"stream-tolerance"_s, QgsSettingsTree::sTreeDigitizing, 2 )
static

Settings entry digitizing stream tolerance.

Definition at line 52 of file qgssettingsregistrycore.h.

◆ settingsDigitizingTracingMaxFeatureCount

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsDigitizingTracingMaxFeatureCount = new QgsSettingsEntryInteger( u"tracing-max-feature-count"_s, QgsSettingsTree::sTreeDigitizing, 10000 )
static

Settings entry digitizing tracing max feature count.

Definition at line 154 of file qgssettingsregistrycore.h.

◆ settingsDigitizingValidateGeometries

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsDigitizingValidateGeometries = new QgsSettingsEntryInteger( u"validate-geometries"_s, QgsSettingsTree::sTreeDigitizing, 1 )
static

Settings entry digitizing validate geometries.

Definition at line 127 of file qgssettingsregistrycore.h.

◆ settingsEnableWMSTilePrefetching

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsEnableWMSTilePrefetching = new QgsSettingsEntryBool( u"enable_wms_tile_prefetch"_s, QgsSettingsTree::sTreeWms, false, u"Whether to include WMS layers when rendering tiles adjacent to the visible map area"_s )
static

Settings entry enable WMS tile prefetching.

Definition at line 181 of file qgssettingsregistrycore.h.

◆ settingsGpsBabelPath

const QgsSettingsEntryString * QgsSettingsRegistryCore::settingsGpsBabelPath = new QgsSettingsEntryString( u"gpsbabelPath"_s, QgsSettingsTree::sTreeGps, u"gpsbabel"_s )
static

Settings entry path to GPSBabel executable.

Definition at line 163 of file qgssettingsregistrycore.h.

◆ settingsLayerParallelLoading

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsLayerParallelLoading = new QgsSettingsEntryBool( u"provider-parallel-loading"_s, QgsSettingsTree::sTreeCore, true, u"Load layers in parallel (only available for some providers (GDAL and PostgreSQL)"_s, Qgis::SettingsOption() )
static

Settings entry whether layer are loading in parallel.

Definition at line 189 of file qgssettingsregistrycore.h.

◆ settingsLayerParallelLoadingMaxCount

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsLayerParallelLoadingMaxCount = new QgsSettingsEntryInteger( u"provider-parallel-loading-max-count"_s, QgsSettingsTree::sTreeCore, QThread::idealThreadCount(), u"Maximum thread used to load layers in parallel"_s, Qgis::SettingsOption(), 1 )
static

Settings entry maximum thread count used to load layer in parallel.

Definition at line 186 of file qgssettingsregistrycore.h.

◆ settingsLayerTreeInsertionMethod

const QgsSettingsEntryEnumFlag< Qgis::LayerTreeInsertionMethod > * QgsSettingsRegistryCore::settingsLayerTreeInsertionMethod
static
Initial value:
Qgis::LayerTreeInsertionMethod>( u"insertion-method"_s, QgsSettingsTree::sTreeLayerTree, Qgis::LayerTreeInsertionMethod::AboveInsertionPoint, u"Method for inserting layers into the layer tree"_s )
LayerTreeInsertionMethod
Layer tree insertion methods.
Definition qgis.h:4796
@ AboveInsertionPoint
Layers are added in the tree above the insertion point.
Definition qgis.h:4797
static QgsSettingsTreeNode * sTreeLayerTree

Settings entry for layer tree insertion method.

Definition at line 219 of file qgssettingsregistrycore.h.

◆ settingsLayerTreeShowFeatureCountForNewLayers

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsLayerTreeShowFeatureCountForNewLayers = new QgsSettingsEntryBool( u"show-feature-count-for-new-layers"_s, QgsSettingsTree::sTreeLayerTree, false, u"If true, feature counts will be shown in the layer tree for all newly added layers."_s )
static

Settings entry show feature counts for newly added layers by default.

Definition at line 166 of file qgssettingsregistrycore.h.

◆ settingsLayerTreeShowIdInLayerTooltips

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsLayerTreeShowIdInLayerTooltips = new QgsSettingsEntryBool( u"show-id-in-layer-tooltips"_s, QgsSettingsTree::sTreeLayerTree, false, u"If true, layer IDs will be shown in the layer tooltips."_s )
static

Settings entry for hidden ID in layer tooltips.

Since
QGIS 4.2

Definition at line 178 of file qgssettingsregistrycore.h.

◆ settingsLayerTreeShowLegendClassifiers

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsLayerTreeShowLegendClassifiers = new QgsSettingsEntryBool( u"show-legend-classifiers"_s, QgsSettingsTree::sTreeLayerTree, false, u"If true, classification attribute name is shown in the legend."_s )
static

Settings entry for showing legend classifiers (classification attribute name) in layer tree.

Since
QGIS 4.0.1

Definition at line 172 of file qgssettingsregistrycore.h.

◆ settingsMapScales

const QgsSettingsEntryStringList * QgsSettingsRegistryCore::settingsMapScales = new QgsSettingsEntryStringList( u"default_scales"_s, QgsSettingsTree::sTreeMap, Qgis::defaultProjectScales().split( ',' ) )
static

Definition at line 183 of file qgssettingsregistrycore.h.

◆ settingsMeasureDecimalPlaces

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsMeasureDecimalPlaces = new QgsSettingsEntryInteger( u"decimal-places"_s, QgsSettingsTree::sTreeMeasure, 3, u"Number of decimal places for measurements"_s )
static

Settings entry for number of decimal places for measurements.

Definition at line 213 of file qgssettingsregistrycore.h.

◆ settingsMeasureDisplayUnits

const QgsSettingsEntryString * QgsSettingsRegistryCore::settingsMeasureDisplayUnits = new QgsSettingsEntryString( u"display-units"_s, QgsSettingsTree::sTreeMeasure, QString(), u"Distance display units (encoded unit string)"_s )
static

Settings entry for distance display units.

Definition at line 216 of file qgssettingsregistrycore.h.

◆ settingsMeasureKeepBaseUnit

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsMeasureKeepBaseUnit = new QgsSettingsEntryBool( u"keep-base-unit"_s, QgsSettingsTree::sTreeMeasure, true, u"Whether to keep base measurement units instead of converting to larger units"_s )
static

Settings entry for whether to keep base measurement units.

Definition at line 210 of file qgssettingsregistrycore.h.

◆ settingsMeasurePlanimetric

const QgsSettingsEntryBool * QgsSettingsRegistryCore::settingsMeasurePlanimetric = new QgsSettingsEntryBool( u"planimetric"_s, QgsSettingsTree::sTreeMeasure, true, u"Whether measurements should be planimetric (ellipsoid off) or use the ellipsoid"_s )
static

Settings entry for whether measurements should be planimetric (ellipsoid off) or use the ellipsoid.

Definition at line 207 of file qgssettingsregistrycore.h.

◆ settingsNetworkCacheDirectory

const QgsSettingsEntryString * QgsSettingsRegistryCore::settingsNetworkCacheDirectory = new QgsSettingsEntryString( u"directory"_s, QgsSettingsTree::sTreeNetworkCache, QString(), u"Network disk cache directory"_s )
static

Settings entry network cache directory.

Definition at line 192 of file qgssettingsregistrycore.h.

◆ settingsNetworkCacheSize

const QgsSettingsEntryInteger64 * QgsSettingsRegistryCore::settingsNetworkCacheSize = new QgsSettingsEntryInteger64( u"size-bytes"_s, QgsSettingsTree::sTreeNetworkCache, 0, u"Network disk cache size in bytes (0 = automatic size)"_s )
static

Settings entry network cache directory.

Definition at line 195 of file qgssettingsregistrycore.h.

◆ settingsScanItemsFastScanUris

const QgsSettingsEntryStringList * QgsSettingsRegistryCore::settingsScanItemsFastScanUris = new QgsSettingsEntryStringList( u"scan-items-fast-scan-uris"_s, QgsSettingsTree::sTreeQgis, QStringList(), u"URIs for fast scanning in browser"_s )
static

Settings entry for fast scan URIs in browser.

Definition at line 225 of file qgssettingsregistrycore.h.

◆ settingsScanZipInBrowser

const QgsSettingsEntryString * QgsSettingsRegistryCore::settingsScanZipInBrowser = new QgsSettingsEntryString( u"scan-zip-in-browser"_s, QgsSettingsTree::sTreeQgis, u"basic"_s, u"Zip scanning behavior in browser (no, basic, full)"_s )
static

Settings entry for zip scanning behavior in browser.

Definition at line 222 of file qgssettingsregistrycore.h.

◆ settingsSymbolsListGroupsIndex

const QgsSettingsEntryInteger * QgsSettingsRegistryCore::settingsSymbolsListGroupsIndex = new QgsSettingsEntryInteger( u"symbols-list-groups-index"_s, QgsSettingsTree::sTreeQgis, 0, u"Currently selected group index in symbols list"_s )
static

Settings entry for symbols list groups index.

Definition at line 228 of file qgssettingsregistrycore.h.


The documentation for this class was generated from the following files: