PythonQt.QtCore.QMarginsF · declarations 001
Back to PythonQt.QtCore.QMarginsF
bottom
bottom() -> float
X.bottom() -> float
Supplemental documentation: Qt 5 reference:
qreal QMarginsF::bottom() const
Returns the bottom margin.
See also setBottom().
Upstream PySide2 reference signatures (binding differences may apply):
bottom(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qmarginsf.html#bottom
isNull
isNull() -> bool
X.isNull() -> bool
Supplemental documentation: Qt 5 reference:
bool QMarginsF::isNull() const
Returns true if all margins are very close to 0; otherwise returns false.
See also qFuzzyIsNull.
Upstream PySide2 reference signatures (binding differences may apply):
isNull(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qmarginsf.html#isNull
left
left() -> float
right
right() -> float
setBottom
setBottom(bottom: float) -> None
X.setBottom(bottom)
Supplemental documentation: Qt 5 reference:
void QMarginsF::setBottom(qreal bottom)
Sets the bottom margin to bottom.
See also bottom().
Upstream PySide2 reference signatures (binding differences may apply):
setBottom(self, bottom: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qmarginsf.html#setBottom
setLeft
setLeft(left: float) -> None
X.setLeft(left)
Supplemental documentation: Qt 5 reference:
void QMarginsF::setLeft(qreal left)
Sets the left margin to left.
See also left().
Upstream PySide2 reference signatures (binding differences may apply):
setLeft(self, left: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qmarginsf.html#setLeft
setRight
setRight(right: float) -> None
X.setRight(right)
Supplemental documentation: Qt 5 reference:
void QMarginsF::setRight(qreal right)
Sets the right margin to right.
See also right().
Upstream PySide2 reference signatures (binding differences may apply):
setRight(self, right: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qmarginsf.html#setRight
setTop
setTop(top: float) -> None
X.setTop(top)
Supplemental documentation: Qt 5 reference:
void QMarginsF::setTop(qreal Top)
Sets the Top margin to Top.
See also top().
Upstream PySide2 reference signatures (binding differences may apply):
setTop(self, top: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qmarginsf.html#setTop
toMargins
toMargins() -> Any
X.toMargins() -> PythonQt.QtGui.QMargins
Supplemental documentation: Qt 5 reference:
QMargins QMarginsF::toMargins() const
Returns an integer based copy of this margins object.
Note that the components in the returned margins will be rounded to the nearest integer.
See also QMarginsF().
Upstream PySide2 reference signatures (binding differences may apply):
toMargins(self) -> PySide2.QtCore.QMargins
Source: https://doc.qt.io/archives/qt-5.15/qmarginsf.html#toMargins
top
top() -> float