mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-19 00:07:15 -04:00
21 lines
766 B
Python
21 lines
766 B
Python
# The following has been generated automatically from src/core/qgsdatabaseschemamodel.h
|
|
QgsDatabaseSchemaModel.Role = QgsDatabaseSchemaModel.CustomRole
|
|
# monkey patching scoped based enum
|
|
QgsDatabaseSchemaModel.RoleEmpty = QgsDatabaseSchemaModel.CustomRole.Empty
|
|
QgsDatabaseSchemaModel.Role.RoleEmpty = QgsDatabaseSchemaModel.CustomRole.Empty
|
|
QgsDatabaseSchemaModel.RoleEmpty.is_monkey_patched = True
|
|
QgsDatabaseSchemaModel.RoleEmpty.__doc__ = "Entry is an empty entry"
|
|
QgsDatabaseSchemaModel.CustomRole.__doc__ = """Custom model roles.
|
|
|
|
.. note::
|
|
|
|
Prior to QGIS 3.36 this was available as QgsDatabaseSchemaModel.Role
|
|
|
|
.. versionadded:: 3.36
|
|
|
|
* ``RoleEmpty``: Entry is an empty entry
|
|
|
|
"""
|
|
# --
|
|
QgsDatabaseSchemaModel.CustomRole.baseClass = QgsDatabaseSchemaModel
|