PythonQt.QtGui.QGraphicsAnchorLayout · declarations 002
Back to PythonQt.QtGui.QGraphicsAnchorLayout
setOwnedByLayout
setOwnedByLayout(ownedByLayout: Any) -> Any
X.setOwnedByLayout(ownedByLayout)
setParentLayoutItem
setParentLayoutItem(parent: Any) -> Any
X.setParentLayoutItem(parent)
setPreferredHeight
setPreferredHeight(height: Any) -> Any
X.setPreferredHeight(height)
setPreferredSize
setPreferredSize(w: Any, h: Any) -> Any
X.setPreferredSize(w, h)
setPreferredWidth
setPreferredWidth(width: Any) -> Any
X.setPreferredWidth(width)
setSizePolicy
setSizePolicy(hPolicy: Any, vPolicy: Any, controlType: Any) -> Any
X.setSizePolicy(hPolicy, vPolicy, controlType)
setSpacing
setSpacing(spacing: float) -> None
X.setSpacing(spacing)
Supplemental documentation: Qt 5 reference:
void QGraphicsAnchorLayout::setSpacing(qreal spacing)
Sets the default horizontal and the default vertical spacing for the anchor layout to spacing.
If an item is anchored with no spacing associated with the anchor, it will use the default spacing.
QGraphicsAnchorLayout does not support negative spacings. Setting a negative value will unset the previous spacing and make the layout use the spacing provided by the current widget style.
See also setHorizontalSpacing() and setVerticalSpacing().
Upstream PySide2 reference signatures (binding differences may apply):
setSpacing(self, spacing: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsanchorlayout.html#setSpacing
setVerticalSpacing
setVerticalSpacing(spacing: float) -> None
X.setVerticalSpacing(spacing)
Supplemental documentation: Qt 5 reference:
void QGraphicsAnchorLayout::setVerticalSpacing(qreal spacing)
Sets the default vertical spacing for the anchor layout to spacing.
See also verticalSpacing(), setHorizontalSpacing(), and setSpacing().
Upstream PySide2 reference signatures (binding differences may apply):
setVerticalSpacing(self, spacing: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsanchorlayout.html#setVerticalSpacing
sizeHint
sizeHint(which: Any, constraint: Any) -> Any
X.sizeHint(which, constraint) -> PythonQt.QtCore.QSizeF
Supplemental documentation: Qt 5 reference:
[override virtual protected] QSizeF QGraphicsAnchorLayout::sizeHint(Qt::SizeHint which, const QSizeF \&constraint \= QSizeF()) const
Reimplements: QGraphicsLayoutItem::sizeHint(Qt::SizeHint which, const QSizeF \&constraint) const.
Upstream PySide2 reference signatures (binding differences may apply):
sizeHint(self, which: PySide2.QtCore.Qt.SizeHint, constraint: PySide2.QtCore.QSizeF=...) -> PySide2.QtCore.QSizeF
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsanchorlayout.html#sizeHint
sizePolicy
sizePolicy() -> Any
X.sizePolicy() -> PythonQt.QtGui.QSizePolicy
verticalSpacing
verticalSpacing() -> float
X.verticalSpacing() -> float
Supplemental documentation: Qt 5 reference:
qreal QGraphicsAnchorLayout::verticalSpacing() const
Returns the default vertical spacing for the anchor layout.
See also horizontalSpacing() and setVerticalSpacing().
Upstream PySide2 reference signatures (binding differences may apply):
verticalSpacing(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qgraphicsanchorlayout.html#verticalSpacing
widgetEvent
widgetEvent(e: Any) -> Any
X.widgetEvent(e)