# The following has been generated automatically from src/gui/maptools/qgsmaptoolidentify.h QgsMapToolIdentify.DefaultQgsSetting = QgsMapToolIdentify.IdentifyMode.DefaultQgsSetting QgsMapToolIdentify.ActiveLayer = QgsMapToolIdentify.IdentifyMode.ActiveLayer QgsMapToolIdentify.TopDownStopAtFirst = QgsMapToolIdentify.IdentifyMode.TopDownStopAtFirst QgsMapToolIdentify.TopDownAll = QgsMapToolIdentify.IdentifyMode.TopDownAll QgsMapToolIdentify.LayerSelection = QgsMapToolIdentify.IdentifyMode.LayerSelection QgsMapToolIdentify.IdentifyMode.baseClass = QgsMapToolIdentify QgsMapToolIdentify.VectorLayer = QgsMapToolIdentify.Type.VectorLayer QgsMapToolIdentify.RasterLayer = QgsMapToolIdentify.Type.RasterLayer QgsMapToolIdentify.MeshLayer = QgsMapToolIdentify.Type.MeshLayer QgsMapToolIdentify.VectorTileLayer = QgsMapToolIdentify.Type.VectorTileLayer QgsMapToolIdentify.PointCloudLayer = QgsMapToolIdentify.Type.PointCloudLayer QgsMapToolIdentify.AllLayers = QgsMapToolIdentify.Type.AllLayers QgsMapToolIdentify.LayerType = lambda flags=0: QgsMapToolIdentify.Type(flags) QgsMapToolIdentify.LayerType.baseClass = QgsMapToolIdentify LayerType = QgsMapToolIdentify # dirty hack since SIP seems to introduce the flags in module from enum import Enum def _force_int(v): return int(v.value) if isinstance(v, Enum) else v QgsMapToolIdentify.Type.__bool__ = lambda flag: bool(_force_int(flag)) QgsMapToolIdentify.Type.__eq__ = lambda flag1, flag2: _force_int(flag1) == _force_int(flag2) QgsMapToolIdentify.Type.__and__ = lambda flag1, flag2: _force_int(flag1) & _force_int(flag2) QgsMapToolIdentify.Type.__or__ = lambda flag1, flag2: QgsMapToolIdentify.Type(_force_int(flag1) | _force_int(flag2)) try: QgsMapToolIdentify.IdentifyProperties.__attribute_docs__ = {'searchRadiusMapUnits': 'Identify search radius is map units. Use negative value to ignore', 'skip3DLayers': 'Skip identify results from layers that have a 3d renderer set'} QgsMapToolIdentify.IdentifyProperties.__annotations__ = {'searchRadiusMapUnits': float, 'skip3DLayers': bool} QgsMapToolIdentify.IdentifyProperties.__group__ = ['maptools'] except (NameError, AttributeError): pass try: QgsMapToolIdentify.__attribute_docs__ = {'identifyProgress': 'Emitted when the identify action progresses.\n\n:param processed: number of objects processed so far\n:param total: total number of objects to process\n', 'identifyMessage': 'Emitted when the identify operation needs to show a user-facing message\n\n:param message: Message to show to the user\n', 'changedRasterResults': 'Emitted when the format of raster ``results`` is changed and need to be\nupdated in user-facing displays.\n'} QgsMapToolIdentify.__overridden_methods__ = ['flags', 'canvasMoveEvent', 'canvasPressEvent', 'canvasReleaseEvent', 'activate', 'deactivate'] QgsMapToolIdentify.__signal_arguments__ = {'identifyProgress': ['processed: int', 'total: int'], 'identifyMessage': ['message: str'], 'changedRasterResults': ['results: List[QgsMapToolIdentify.IdentifyResult]']} QgsMapToolIdentify.__group__ = ['maptools'] except (NameError, AttributeError): pass try: QgsMapToolIdentify.IdentifyResult.__group__ = ['maptools'] except (NameError, AttributeError): pass