Class: QgsFeatureSelectionDlg

class qgis.gui.QgsFeatureSelectionDlg(vl: QgsVectorLayer, context: QgsAttributeEditorContext, parent: QWidget = None)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsFeatureSelectionDlg

Parameters
actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent(self, evt: QKeyEvent)
Parameters

evt (QKeyEvent) –

keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
selectedFeatures(self) → object

Gets the selected features

Return type

object

Returns

The selected feature ids

sender()
senderSignalIndex()
setSelectedFeatures(self, ids: object)

Set the selected features

Parameters

ids (object) – The feature ids to select

sharedPainter()
showEvent(self, event: QShowEvent)

Make sure the dialog does not grow too much

Parameters

event (QShowEvent) –

tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()