Class: QgsKeyValueWidget

class qgis.gui.QgsKeyValueWidget(parent: QWidget = None)

Bases: QgsTableWidgetBase

Constructor.

Widget allowing to edit a QVariantMap, using a table.

New in version 3.0.

Parameters

parent

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
init()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
map(self) → Dict[str, Any]

Gets the edit value.

Return type

Dict[str, Any]

Returns

the QVariantMap

metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setMap(self, map: Dict[str, Any])

Set the initial value of the widget.

Parameters

map (Dict[str) –

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()