Class: QgsLayoutItemPropertiesDialog¶
-
class
qgis.gui.
QgsLayoutItemPropertiesDialog
(parent: QWidget = None, flags: Union[Qt.WindowFlags, Qt.WindowType] = 0)¶ Bases:
PyQt5.QtWidgets.QDialog
Constructor for
QgsLayoutNewItemPropertiesDialog
.A dialog for configuring properties like the size and position of layout items.
This is usually used only when constructing new layout items, allowing users to precisely enter their sizes and positions.
New in version 3.0: Enums
Methods
Returns the current item position defined by the dialog.
Returns the item size defined by the dialog.
Returns the page number for the new item.
Returns the item reference point defined by the dialog.
Sets the item
position
to show in the dialog.Sets the item
size
to show in the dialog.Sets the
layout
associated with the dialog.Sets the item reference
point
defined to show in the dialog.Signals
Attributes
-
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
()¶
-
itemPosition
(self) → QgsLayoutPoint¶ Returns the current item position defined by the dialog.
See also
-
itemSize
(self) → QgsLayoutSize¶ Returns the item size defined by the dialog.
See also
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
page
(self) → int¶ Returns the page number for the new item.
-
paintEvent
()¶
-
receivers
()¶
-
referencePoint
(self) → QgsLayoutItem.ReferencePoint¶ Returns the item reference point defined by the dialog.
See also
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setItemPosition
(self, position: QgsLayoutPoint)¶ Sets the item
position
to show in the dialog.See also
-
setItemSize
(self, size: QgsLayoutSize)¶ Sets the item
size
to show in the dialog.See also
-
setLayout
(self, layout: QgsLayout)¶ Sets the
layout
associated with the dialog. This allows the dialog to retrieve properties from the layout and perform tasks like automatic conversion of units.
-
setReferencePoint
(self, point: QgsLayoutItem.ReferencePoint)¶ Sets the item reference
point
defined to show in the dialog.See also
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-