Skip to content
Permalink
Browse files
add missing enum dox
  • Loading branch information
3nids committed Jun 2, 2021
1 parent bc2a3fb commit 2029b9b103c68e45878e2f741b7d0ac30320de58
Showing with 18 additions and 17 deletions.
  1. +9 −9 python/core/auto_additions/qgssettingsentry.py
  2. +9 −8 src/core/settings/qgssettingsentry.h
@@ -1,12 +1,12 @@
# The following has been generated automatically from src/core/settings/qgssettingsentry.h
# monkey patching scoped based enum
QgsSettingsEntryBase.SettingsType.Variant.__doc__ = ""
QgsSettingsEntryBase.SettingsType.String.__doc__ = ""
QgsSettingsEntryBase.SettingsType.StringList.__doc__ = ""
QgsSettingsEntryBase.SettingsType.Bool.__doc__ = ""
QgsSettingsEntryBase.SettingsType.Integer.__doc__ = ""
QgsSettingsEntryBase.SettingsType.Double.__doc__ = ""
QgsSettingsEntryBase.SettingsType.EnumFlag.__doc__ = ""
QgsSettingsEntryBase.SettingsType.Color.__doc__ = ""
QgsSettingsEntryBase.SettingsType.__doc__ = '\n\n' + '* ``Variant``: ' + QgsSettingsEntryBase.SettingsType.Variant.__doc__ + '\n' + '* ``String``: ' + QgsSettingsEntryBase.SettingsType.String.__doc__ + '\n' + '* ``StringList``: ' + QgsSettingsEntryBase.SettingsType.StringList.__doc__ + '\n' + '* ``Bool``: ' + QgsSettingsEntryBase.SettingsType.Bool.__doc__ + '\n' + '* ``Integer``: ' + QgsSettingsEntryBase.SettingsType.Integer.__doc__ + '\n' + '* ``Double``: ' + QgsSettingsEntryBase.SettingsType.Double.__doc__ + '\n' + '* ``EnumFlag``: ' + QgsSettingsEntryBase.SettingsType.EnumFlag.__doc__ + '\n' + '* ``Color``: ' + QgsSettingsEntryBase.SettingsType.Color.__doc__
QgsSettingsEntryBase.SettingsType.Variant.__doc__ = "Generic variant"
QgsSettingsEntryBase.SettingsType.String.__doc__ = "String"
QgsSettingsEntryBase.SettingsType.StringList.__doc__ = "List of strings"
QgsSettingsEntryBase.SettingsType.Bool.__doc__ = "Boolean"
QgsSettingsEntryBase.SettingsType.Integer.__doc__ = "Integer"
QgsSettingsEntryBase.SettingsType.Double.__doc__ = "Double precision numer"
QgsSettingsEntryBase.SettingsType.EnumFlag.__doc__ = "Enum or Flag"
QgsSettingsEntryBase.SettingsType.Color.__doc__ = "Color"
QgsSettingsEntryBase.SettingsType.__doc__ = 'Types of settings entries\n\n' + '* ``Variant``: ' + QgsSettingsEntryBase.SettingsType.Variant.__doc__ + '\n' + '* ``String``: ' + QgsSettingsEntryBase.SettingsType.String.__doc__ + '\n' + '* ``StringList``: ' + QgsSettingsEntryBase.SettingsType.StringList.__doc__ + '\n' + '* ``Bool``: ' + QgsSettingsEntryBase.SettingsType.Bool.__doc__ + '\n' + '* ``Integer``: ' + QgsSettingsEntryBase.SettingsType.Integer.__doc__ + '\n' + '* ``Double``: ' + QgsSettingsEntryBase.SettingsType.Double.__doc__ + '\n' + '* ``EnumFlag``: ' + QgsSettingsEntryBase.SettingsType.EnumFlag.__doc__ + '\n' + '* ``Color``: ' + QgsSettingsEntryBase.SettingsType.Color.__doc__
# --
@@ -60,16 +60,17 @@ class CORE_EXPORT QgsSettingsEntryBase

public:

//! Types of settings entries
enum class SettingsType : int
{
Variant,
String,
StringList,
Bool,
Integer,
Double,
EnumFlag,
Color
Variant, //!< Generic variant
String, //!< String
StringList, //!< List of strings
Bool, //!< Boolean
Integer, //!< Integer
Double, //!< Double precision numer
EnumFlag, //!< Enum or Flag
Color //!< Color
};

#ifndef SIP_RUN

0 comments on commit 2029b9b

Please sign in to comment.