Skip to content

PythonQt.QtGui.QSpacerItem

QSpacerItem

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

Normally, you don't need to use this class directly. Qt's built-in layout managers provide the following functions for manipulating empty space in layouts:

Class Functions
QHBoxLayout addSpacing(), addStretch(), insertSpacing(), insertStretch()
QGridLayout setRowMinimumHeight(), setRowStretch(), setColumnMinimumWidth(), setColumnStretch()

Source: https://doc.qt.io/archives/qt-5.15/qspaceritem.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
alignment function (self) -> Any (shared captured text)
changeSize function (self, w: int, h: int, hData: Any, vData: Any) -> None X.changeSize(w, h, hData, vData)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
controlTypes function (self) -> Any (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
expandingDirections function (self) -> Any Reimplements: [QLayoutItem::expandingDirections](https://doc.qt.io/archives/qt-5.15/qlayoutitem.html#expandingDirections)() const.
geometry function (self) -> Any X.geometry() -> PythonQt.QtCore.QRect
hasHeightForWidth function (self) -> bool X.hasHeightForWidth() -> bool (shared captured text)
heightForWidth function (self, arg__1: Any) -> int X.heightForWidth(arg__1) -> int (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
invalidate function (self) -> Any (shared captured text)
isEmpty function (self) -> bool X.isEmpty() -> bool
layout function (self) -> Any X.layout() -> PythonQt.QtGui.QLayout (shared captured text)
maximumSize function (self) -> Any X.maximumSize() -> PythonQt.QtCore.QSize
minimumHeightForWidth function (self, arg__1: Any) -> int X.minimumHeightForWidth(arg__1) -> int (shared captured text)
minimumSize function (self) -> Any X.minimumSize() -> PythonQt.QtCore.QSize
setAlignment function (self, a: Any) -> Any
setGeometry function (self, arg__1: Any) -> None Reimplements: [QLayoutItem::setGeometry](https://doc.qt.io/archives/qt-5.15/qlayoutitem.html#setGeometry)(const QRect \&r).
sizeHint function (self) -> Any X.sizeHint() -> PythonQt.QtCore.QSize
sizePolicy function (self) -> Any X.sizePolicy() -> PythonQt.QtGui.QSizePolicy
spacerItem function (self) -> Any X.spacerItem() -> PythonQt.QtGui.QSpacerItem
widget function (self) -> Any X.widget() -> PythonQt.QtGui.QWidget (shared captured text)