Class: QgsLayoutItemPropertiesWidget

class qgis.gui.QgsLayoutItemPropertiesWidget(parent: QWidget, item: QgsLayoutItem)

Bases: PyQt5.QtWidgets.QWidget

Constructs a QgsLayoutItemPropertiesWidget with a parent and for the given layout item.

A widget for controlling the common properties of layout items (e.g. position and size, background, stroke, frame). This widget can be embedded into other layout item widgets.

New in version 3.0.

Parameters
  • parent (QWidget) –

  • item

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
initializeDataDefinedButtons(self)

Initializes data defined buttons to current atlas coverage layer

inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
populateDataDefinedButtons(self)

Sets data defined button state to match item

positionMode(self) → QgsLayoutItem.ReferencePoint

Returns the position mode

Return type

QgsLayoutItem.ReferencePoint

receivers()
resizeEvent()
sender()
senderSignalIndex()
setItem(self, item: QgsLayoutItem)

Sets the layout item

Parameters

item (QgsLayoutItem) –

setMasterLayout(self, masterLayout: QgsMasterLayoutInterface)

Sets the master layout associated with the item.

New in version 3.10.

Parameters

masterLayout (QgsMasterLayoutInterface) –

sharedPainter()
showBackgroundGroup(self, showGroup: bool)

Determines if the background of the group box shall be shown

Parameters

showGroup (bool) –

showEvent()
showFrameGroup(self, showGroup: bool)

Determines if the frame of the group box shall be shown

Parameters

showGroup (bool) –

tabletEvent()
timerEvent()
updateMicroFocus()
updateVariables(self)

Updates the variables widget, refreshing the values of variables shown.

New in version 3.10.

wheelEvent()