Class: QgsLayoutItemPropertiesWidget

class qgis.gui.QgsLayoutItemPropertiesWidget

Bases: PyQt5.QtWidgets.QWidget

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.

QgsLayoutItemPropertiesWidget(parent: QWidget, item: QgsLayoutItem) Constructs a QgsLayoutItemPropertiesWidget with a parent and for the given layout item.

Methods

actionEvent

changeEvent

childEvent

closeEvent

connectNotify

contextMenuEvent

create

customEvent

destroy

disconnectNotify

dragEnterEvent

dragLeaveEvent

dragMoveEvent

dropEvent

enterEvent

event

focusInEvent

focusNextChild

focusNextPrevChild

focusOutEvent

focusPreviousChild

hideEvent

initPainter

initializeDataDefinedButtons

Initializes data defined buttons to current atlas coverage layer

inputMethodEvent

isSignalConnected

keyPressEvent

keyReleaseEvent

leaveEvent

metric

mouseDoubleClickEvent

mouseMoveEvent

mousePressEvent

mouseReleaseEvent

moveEvent

nativeEvent

paintEvent

populateDataDefinedButtons

Sets data defined button state to match item

positionMode

Returns the position mode

receivers

resizeEvent

sender

senderSignalIndex

setItem

Sets the layout item

setMasterLayout

Sets the master layout associated with the item.

sharedPainter

showBackgroundGroup

Determines if the background of the group box shall be shown

showEvent

showFrameGroup

Determines if the frame of the group box shall be shown

tabletEvent

timerEvent

updateMicroFocus

updateVariables

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

wheelEvent

actionEvent(self, QActionEvent)
changeEvent(self, QEvent)
childEvent(self, QChildEvent)
closeEvent(self, QCloseEvent)
connectNotify(self, QMetaMethod)
contextMenuEvent(self, QContextMenuEvent)
create(self, window: sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
customEvent(self, QEvent)
destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
disconnectNotify(self, QMetaMethod)
dragEnterEvent(self, QDragEnterEvent)
dragLeaveEvent(self, QDragLeaveEvent)
dragMoveEvent(self, QDragMoveEvent)
dropEvent(self, QDropEvent)
enterEvent(self, QEvent)
event(self, QEvent)bool
focusInEvent(self, QFocusEvent)
focusNextChild(self)bool
focusNextPrevChild(self, bool)bool
focusOutEvent(self, QFocusEvent)
focusPreviousChild(self)bool
hideEvent(self, QHideEvent)
initPainter(self, QPainter)
initializeDataDefinedButtons(self)

Initializes data defined buttons to current atlas coverage layer

inputMethodEvent(self, QInputMethodEvent)
isSignalConnected(self, QMetaMethod)bool
keyPressEvent(self, QKeyEvent)
keyReleaseEvent(self, QKeyEvent)
leaveEvent(self, QEvent)
metric(self, QPaintDevice.PaintDeviceMetric)int
mouseDoubleClickEvent(self, QMouseEvent)
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
mouseReleaseEvent(self, QMouseEvent)
moveEvent(self, QMoveEvent)
nativeEvent(self, Union[QByteArray, bytes, bytearray], sip.voidptr)Tuple[bool, int]
paintEvent(self, QPaintEvent)
populateDataDefinedButtons(self)

Sets data defined button state to match item

positionMode(self)QgsLayoutItem.ReferencePoint

Returns the position mode

Return type

QgsLayoutItem.ReferencePoint

receivers(self, PYQT_SIGNAL)int
resizeEvent(self, QResizeEvent)
sender(self)QObject
senderSignalIndex(self)int
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(self)QPainter
showBackgroundGroup(self, showGroup: bool)

Determines if the background of the group box shall be shown

Parameters

showGroup (bool) –

showEvent(self, QShowEvent)
showFrameGroup(self, showGroup: bool)

Determines if the frame of the group box shall be shown

Parameters

showGroup (bool) –

tabletEvent(self, QTabletEvent)
timerEvent(self, QTimerEvent)
updateMicroFocus(self)
updateVariables(self)

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

New in version 3.10.

wheelEvent(self, QWheelEvent)