Skip to content

PythonQt.QtGui.QMargins · declarations 001

Back to PythonQt.QtGui.QMargins

bottom

bottom() -> int

X.bottom() -> int

Supplemental documentation: Qt 5 reference:

int QMargins::bottom() const

Returns the bottom margin.

See also setBottom().

Upstream PySide2 reference signatures (binding differences may apply):

bottom(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#bottom

isNull

isNull() -> bool

X.isNull() -> bool

Supplemental documentation: Qt 5 reference:

bool QMargins::isNull() const

Returns true if all margins are is 0; otherwise returns false.

Upstream PySide2 reference signatures (binding differences may apply):

isNull(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#isNull

left

left() -> int

X.left() -> int

Supplemental documentation: Qt 5 reference:

int QMargins::left() const

Returns the left margin.

See also setLeft().

Upstream PySide2 reference signatures (binding differences may apply):

left(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#left

right

right() -> int

X.right() -> int

Supplemental documentation: Qt 5 reference:

int QMargins::right() const

Returns the right margin.

See also setRight().

Upstream PySide2 reference signatures (binding differences may apply):

right(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#right

setBottom

setBottom(bottom: int) -> None

X.setBottom(bottom)

Supplemental documentation: Qt 5 reference:

void QMargins::setBottom(int bottom)

Sets the bottom margin to bottom.

See also bottom().

Upstream PySide2 reference signatures (binding differences may apply):

setBottom(self, bottom: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#setBottom

setLeft

setLeft(left: int) -> None

X.setLeft(left)

Supplemental documentation: Qt 5 reference:

void QMargins::setLeft(int left)

Sets the left margin to left.

See also left().

Upstream PySide2 reference signatures (binding differences may apply):

setLeft(self, left: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#setLeft

setRight

setRight(right: int) -> None

X.setRight(right)

Supplemental documentation: Qt 5 reference:

void QMargins::setRight(int right)

Sets the right margin to right.

See also right().

Upstream PySide2 reference signatures (binding differences may apply):

setRight(self, right: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#setRight

setTop

setTop(top: int) -> None

X.setTop(top)

Supplemental documentation: Qt 5 reference:

void QMargins::setTop(int Top)

Sets the Top margin to Top.

See also top().

Upstream PySide2 reference signatures (binding differences may apply):

setTop(self, top: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#setTop

top

top() -> int

X.top() -> int

Supplemental documentation: Qt 5 reference:

int QMargins::top() const

Returns the top margin.

See also setTop().

Upstream PySide2 reference signatures (binding differences may apply):

top(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qmargins.html#top