QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
QgsSettingsRegistryCore is used for settings introspection and collects all QgsSettingsEntry instances of core. More...
#include <qgssettingsregistrycore.h>
Public Member Functions | |
QgsSettingsRegistryCore () | |
Constructor for QgsSettingsRegistryCore. More... | |
virtual | ~QgsSettingsRegistryCore () |
Destructor for QgsSettingsRegistryCore. More... | |
Public Member Functions inherited from QgsSettingsRegistry | |
QgsSettingsRegistry () | |
Constructor for QgsSettingsRegistry. More... | |
virtual | ~QgsSettingsRegistry () |
Destructor for QgsSettingsRegistry. More... | |
void | addSubRegistry (const QgsSettingsRegistry *settingsRegistry) |
Append a child settingsRegistry to the register. More... | |
void | removeSubRegistry (const QgsSettingsRegistry *settingsRegistry) |
Remove a child settingsRegistry from the register. More... | |
QList< const QgsSettingsEntryBase * > | settingEntries () const |
Returns the list of registered QgsSettingsEntryBase. More... | |
const QgsSettingsEntryBase * | settingsEntry (const QString &key, bool searchChildRegistries=true) const |
Returns the QgsSettingsEntry with the given key or nullptr if not found. More... | |
QList< const QgsSettingsRegistry * > | subRegistries () const |
Returns the list of registered child QgsSettingsRegistry. More... | |
Static Public Attributes | |
static const QgsSettingsEntryBool | settingsDigitizingConvertToCurve = QgsSettingsEntryBool( QStringLiteral( "convert_to_curve" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing convert to curve. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingConvertToCurveAngleTolerance = QgsSettingsEntryDouble( QStringLiteral( "convert_to_curve_angle_tolerance" ), QgsSettings::Prefix::QGIS_DIGITIZING, 1e-6 ) |
Settings entry digitizing convert to curve angle tolerance. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingConvertToCurveDistanceTolerance = QgsSettingsEntryDouble( QStringLiteral( "convert_to_curve_distance_tolerance" ), QgsSettings::Prefix::QGIS_DIGITIZING, 1e-6 ) |
Settings entry digitizing convert to curve distance tolerance. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingDefaultMValue = QgsSettingsEntryDouble( QStringLiteral( "default_m_value" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::DEFAULT_M_COORDINATE ) |
Settings entry digitizing default m value. More... | |
static const QgsSettingsEntryBool | settingsDigitizingDefaultSnapEnabled = QgsSettingsEntryBool( QStringLiteral( "default_snap_enabled" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing default snap enabled. More... | |
static const QgsSettingsEntryEnumFlag< Qgis::SnappingMode > | settingsDigitizingDefaultSnapMode = QgsSettingsEntryEnumFlag<Qgis::SnappingMode>( QStringLiteral( "default_snap_mode" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::SnappingMode::AllLayers ) |
Settings entry digitizing default snap type. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingDefaultSnappingTolerance = QgsSettingsEntryDouble( QStringLiteral( "default_snapping_tolerance" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::DEFAULT_SNAP_TOLERANCE ) |
Settings entry digitizing default snapping tolerance. More... | |
static const QgsSettingsEntryEnumFlag< QgsTolerance::UnitType > | settingsDigitizingDefaultSnappingToleranceUnit = QgsSettingsEntryEnumFlag<QgsTolerance::UnitType>( QStringLiteral( "default_snapping_tolerance_unit" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::DEFAULT_SNAP_UNITS ) |
Settings entry digitizing default snapping tolerance unit. More... | |
static const QgsSettingsEntryEnumFlag< Qgis::SnappingType > | settingsDigitizingDefaultSnapType = QgsSettingsEntryEnumFlag<Qgis::SnappingType>( QStringLiteral( "default_snap_type" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::SnappingType::Vertex ) |
Settings entry digitizing default snap type. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingDefaultZValue = QgsSettingsEntryDouble( QStringLiteral( "default_z_value" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::DEFAULT_Z_COORDINATE ) |
Settings entry digitizing default z value. More... | |
static const QgsSettingsEntryBool | settingsDigitizingDisableEnterAttributeValuesDialog = QgsSettingsEntryBool( QStringLiteral( "disable_enter_attribute_values_dialog" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing disable enter attribute values dialog. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingFillColorAlpha = QgsSettingsEntryInteger( QStringLiteral( "fill_color_alpha" ), QgsSettings::Prefix::QGIS_DIGITIZING, 30 ) |
Settings entry digitizing fill color alpha. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingFillColorBlue = QgsSettingsEntryInteger( QStringLiteral( "fill_color_blue" ), QgsSettings::Prefix::QGIS_DIGITIZING, 0 ) |
Settings entry digitizing fill color blue. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingFillColorGreen = QgsSettingsEntryInteger( QStringLiteral( "fill_color_green" ), QgsSettings::Prefix::QGIS_DIGITIZING, 0 ) |
Settings entry digitizing fill color green. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingFillColorRed = QgsSettingsEntryInteger( QStringLiteral( "fill_color_red" ), QgsSettings::Prefix::QGIS_DIGITIZING, 255 ) |
Settings entry digitizing fill color red. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingLineColorAlpha = QgsSettingsEntryInteger( QStringLiteral( "line_color_alpha" ), QgsSettings::Prefix::QGIS_DIGITIZING, 200 ) |
Settings entry digitizing line color alpha. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingLineColorAlphaScale = QgsSettingsEntryDouble( QStringLiteral( "line_color_alpha_scale" ), QgsSettings::Prefix::QGIS_DIGITIZING, 0.75 ) |
Settings entry digitizing line color alpha scale. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingLineColorBlue = QgsSettingsEntryInteger( QStringLiteral( "line_color_blue" ), QgsSettings::Prefix::QGIS_DIGITIZING, 0 ) |
Settings entry digitizing line color blue. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingLineColorGreen = QgsSettingsEntryInteger( QStringLiteral( "line_color_green" ), QgsSettings::Prefix::QGIS_DIGITIZING, 0 ) |
Settings entry digitizing line color green. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingLineColorRed = QgsSettingsEntryInteger( QStringLiteral( "line_color_red" ), QgsSettings::Prefix::QGIS_DIGITIZING, 255 ) |
Settings entry digitizing line color red. More... | |
static const QgsSettingsEntryBool | settingsDigitizingLineGhost = QgsSettingsEntryBool( QStringLiteral( "line_ghost" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing line ghost. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingLineWidth = QgsSettingsEntryInteger( QStringLiteral( "line_width" ), QgsSettings::Prefix::QGIS_DIGITIZING, 1 ) |
Settings entry digitizing line width. More... | |
static const QgsSettingsEntryBool | settingsDigitizingMarkerOnlyForSelected = QgsSettingsEntryBool( QStringLiteral( "marker_only_for_selected" ), QgsSettings::Prefix::QGIS_DIGITIZING, true ) |
Settings entry digitizing marker only for selected. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingMarkerSizeMm = QgsSettingsEntryDouble( QStringLiteral( "marker_size_mm" ), QgsSettings::Prefix::QGIS_DIGITIZING, 2.0 ) |
Settings entry digitizing marker size mm. More... | |
static const QgsSettingsEntryString | settingsDigitizingMarkerStyle = QgsSettingsEntryString( QStringLiteral( "marker_style" ), QgsSettings::Prefix::QGIS_DIGITIZING, "Cross" ) |
Settings entry digitizing marker style. More... | |
static const QgsSettingsEntryEnumFlag< Qgis::EndCapStyle > | settingsDigitizingOffsetCapStyle = QgsSettingsEntryEnumFlag<Qgis::EndCapStyle>( QStringLiteral( "offset_cap_style" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::EndCapStyle::Round ) |
Settings entry digitizing offset cap style. More... | |
static const QgsSettingsEntryEnumFlag< Qgis::JoinStyle > | settingsDigitizingOffsetJoinStyle = QgsSettingsEntryEnumFlag<Qgis::JoinStyle>( QStringLiteral( "offset_join_style" ), QgsSettings::Prefix::QGIS_DIGITIZING, Qgis::JoinStyle::Round ) |
Settings entry digitizing offset join style. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingOffsetMiterLimit = QgsSettingsEntryDouble( QStringLiteral( "offset_miter_limit" ), QgsSettings::Prefix::QGIS_DIGITIZING, 5.0 ) |
Settings entry digitizing offset miter limit. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingOffsetQuadSeg = QgsSettingsEntryInteger( QStringLiteral( "offset_quad_seg" ), QgsSettings::Prefix::QGIS_DIGITIZING, 8 ) |
Settings entry digitizing offset quad seg. More... | |
static const QgsSettingsEntryBool | settingsDigitizingOffsetShowAdvanced = QgsSettingsEntryBool( QStringLiteral( "offset_show_advanced" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing offset show advanced. More... | |
static const QgsSettingsEntryBool | settingsDigitizingReuseLastValues = QgsSettingsEntryBool( QStringLiteral( "reuseLastValues" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing reuseLastValues. More... | |
static const QgsSettingsEntryDouble | settingsDigitizingSearchRadiusVertexEdit = QgsSettingsEntryDouble( QStringLiteral( "search_radius_vertex_edit" ), QgsSettings::Prefix::QGIS_DIGITIZING, 10 ) |
Settings entry digitizing search radius vertex edit. More... | |
static const QgsSettingsEntryEnumFlag< QgsTolerance::UnitType > | settingsDigitizingSearchRadiusVertexEditUnit = QgsSettingsEntryEnumFlag<QgsTolerance::UnitType>( QStringLiteral( "search_radius_vertex_edit_unit" ), QgsSettings::Prefix::QGIS_DIGITIZING, QgsTolerance::Pixels ) |
Settings entry digitizing search radius vertex edit unit. More... | |
static const QgsSettingsEntryColor | settingsDigitizingSnapColor = QgsSettingsEntryColor( QStringLiteral( "snap_color" ), QgsSettings::Prefix::QGIS_DIGITIZING, QColor( Qt::magenta ) ) |
Settings entry digitizing snap color. More... | |
static const QgsSettingsEntryBool | settingsDigitizingSnapInvisibleFeature = QgsSettingsEntryBool( QStringLiteral( "snap_invisible_feature" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing snap invisible feature. More... | |
static const QgsSettingsEntryBool | settingsDigitizingSnapTooltip = QgsSettingsEntryBool( QStringLiteral( "snap_tooltip" ), QgsSettings::Prefix::QGIS_DIGITIZING, false ) |
Settings entry digitizing snap tooltip. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingStreamTolerance = QgsSettingsEntryInteger( QStringLiteral( "stream_tolerance" ), QgsSettings::Prefix::QGIS_DIGITIZING, 2 ) |
Settings entry digitizing stream tolerance. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingTracingMaxFeatureCount = QgsSettingsEntryInteger( QStringLiteral( "tracing_max_feature_count" ), QgsSettings::Prefix::QGIS_DIGITIZING, 10000 ) |
Settings entry digitizing tracing max feature count. More... | |
static const QgsSettingsEntryInteger | settingsDigitizingValidateGeometries = QgsSettingsEntryInteger( QStringLiteral( "validate_geometries" ), QgsSettings::Prefix::QGIS_DIGITIZING, 1 ) |
Settings entry digitizing validate geometries. More... | |
static const QgsSettingsEntryString | settingsGpsBabelPath = QgsSettingsEntryString( QStringLiteral( "gpsbabelPath" ), QgsSettings::Prefix::GPS, QStringLiteral( "gpsbabel" ) ) |
Settings entry path to GPSBabel executable. More... | |
static const QgsSettingsEntryBool | settingsLayerTreeShowFeatureCountForNewLayers = QgsSettingsEntryBool( QStringLiteral( "show_feature_count_for_new_layers" ), QgsSettings::Prefix::CORE_LAYERTREE, false, QStringLiteral( "If true, feature counts will be shown in the layer tree for all newly added layers." ) ) |
Settings entry show feature counts for newly added layers by default. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QgsSettingsRegistry | |
bool | addSettingsEntry (const QgsSettingsEntryBase *settingsEntry) |
Adds settingsEntry to the registry. More... | |
void | addSettingsEntryGroup (const QgsSettingsEntryGroup *settingsGroup) |
Adds a group of setting to the registry. More... | |
QgsSettingsRegistryCore is used for settings introspection and collects all QgsSettingsEntry instances of core.
Definition at line 39 of file qgssettingsregistrycore.h.
QgsSettingsRegistryCore::QgsSettingsRegistryCore | ( | ) |
Constructor for QgsSettingsRegistryCore.
Definition at line 31 of file qgssettingsregistrycore.cpp.
|
virtual |
Destructor for QgsSettingsRegistryCore.
Definition at line 114 of file qgssettingsregistrycore.cpp.
|
inlinestatic |
Settings entry digitizing convert to curve.
Definition at line 154 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing convert to curve angle tolerance.
Definition at line 157 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing convert to curve distance tolerance.
Definition at line 160 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing default m value.
Definition at line 94 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing default snap enabled.
Definition at line 97 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing default snap type.
Definition at line 100 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing default snapping tolerance.
Definition at line 106 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing default snapping tolerance unit.
Definition at line 109 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing default snap type.
Definition at line 103 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing default z value.
Definition at line 91 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing disable enter attribute values dialog.
Definition at line 139 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing fill color alpha.
Definition at line 85 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing fill color blue.
Definition at line 82 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing fill color green.
Definition at line 79 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing fill color red.
Definition at line 76 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing line color alpha.
Definition at line 70 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing line color alpha scale.
Definition at line 73 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing line color blue.
Definition at line 67 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing line color green.
Definition at line 64 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing line color red.
Definition at line 61 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing line ghost.
Definition at line 88 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing line width.
Definition at line 58 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing marker only for selected.
Definition at line 127 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing marker size mm.
Definition at line 133 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing marker style.
Definition at line 130 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing offset cap style.
Definition at line 163 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing offset join style.
Definition at line 145 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing offset miter limit.
Definition at line 151 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing offset quad seg.
Definition at line 148 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing offset show advanced.
Definition at line 166 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing reuseLastValues.
Definition at line 136 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing search radius vertex edit.
Definition at line 112 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing search radius vertex edit unit.
Definition at line 115 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing snap color.
Definition at line 118 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing snap invisible feature.
Definition at line 124 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing snap tooltip.
Definition at line 121 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing stream tolerance.
Definition at line 55 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing tracing max feature count.
Definition at line 169 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry digitizing validate geometries.
Definition at line 142 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry path to GPSBabel executable.
Definition at line 172 of file qgssettingsregistrycore.h.
|
inlinestatic |
Settings entry show feature counts for newly added layers by default.
Definition at line 175 of file qgssettingsregistrycore.h.