Skip to content

PythonQt.QtGui.QMargins

QMargins

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

QMargin defines a set of four margins; left, top, right and bottom, that describe the size of the borders surrounding a rectangle.

The isNull() function returns true only if all margins are set to zero.

QMargin objects can be streamed as well as compared.

Source: https://doc.qt.io/archives/qt-5.15/qmargins.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)
bottom function (self) -> int X.bottom() -> int
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (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)
isNull function (self) -> bool X.isNull() -> bool
left function (self) -> int X.left() -> int
readFrom function (self, arg__1: Any) -> Any (shared captured text)
right function (self) -> int X.right() -> int
setBottom function (self, bottom: int) -> None Sets the bottom margin to bottom.
setLeft function (self, left: int) -> None Sets the left margin to left.
setRight function (self, right: int) -> None Sets the right margin to right.
setTop function (self, top: int) -> None Sets the Top margin to Top.
top function (self) -> int X.top() -> int
writeTo function (self, arg__1: Any) -> Any (shared captured text)