PythonQt.QtGui.QTextInlineObject · declarations 001
Back to PythonQt.QtGui.QTextInlineObject
ascent
ascent() -> float
X.ascent() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextInlineObject::ascent() const
Returns the inline object's ascent.
See also setAscent(), descent(), width(), and rect().
Upstream PySide2 reference signatures (binding differences may apply):
ascent(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#ascent
descent
descent() -> float
X.descent() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextInlineObject::descent() const
Returns the inline object's descent.
See also setDescent(), ascent(), width(), and rect().
Upstream PySide2 reference signatures (binding differences may apply):
descent(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#descent
format
format() -> Any
X.format() -> PythonQt.QtGui.QTextFormat
Supplemental documentation: Qt 5 reference:
QTextFormat QTextInlineObject::format() const
Returns format of the inline object within the text layout.
Upstream PySide2 reference signatures (binding differences may apply):
format(self) -> PySide2.QtGui.QTextFormat
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#format
formatIndex
formatIndex() -> int
X.formatIndex() -> int
Supplemental documentation: Qt 5 reference:
int QTextInlineObject::formatIndex() const
Returns an integer describing the format of the inline object within the text layout.
Upstream PySide2 reference signatures (binding differences may apply):
formatIndex(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#formatIndex
height
height() -> float
X.height() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextInlineObject::height() const
Returns the inline object's total height. This is equal to ascent() + descent() + 1.
See also ascent(), descent(), width(), and rect().
Upstream PySide2 reference signatures (binding differences may apply):
height(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#height
isValid
isValid() -> bool
X.isValid() -> bool
Supplemental documentation: Qt 5 reference:
bool QTextInlineObject::isValid() const
Returns true if this inline object is valid; otherwise returns false.
Upstream PySide2 reference signatures (binding differences may apply):
isValid(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#isValid
rect
rect() -> Any
X.rect() -> PythonQt.QtCore.QRectF
Supplemental documentation: Qt 5 reference:
QRectF QTextInlineObject::rect() const
Returns the inline object's rectangle.
See also ascent(), descent(), and width().
Upstream PySide2 reference signatures (binding differences may apply):
rect(self) -> PySide2.QtCore.QRectF
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#rect
setAscent
setAscent(a: float) -> None
X.setAscent(a)
Supplemental documentation: Qt 5 reference:
void QTextInlineObject::setAscent(qreal a)
Sets the inline object's ascent to a.
See also ascent(), setDescent(), width(), and rect().
Upstream PySide2 reference signatures (binding differences may apply):
setAscent(self, a: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#setAscent
setDescent
setDescent(d: float) -> None
X.setDescent(d)
Supplemental documentation: Qt 5 reference:
void QTextInlineObject::setDescent(qreal d)
Sets the inline object's descent to d.
See also descent(), setAscent(), width(), and rect().
Upstream PySide2 reference signatures (binding differences may apply):
setDescent(self, d: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#setDescent
setWidth
setWidth(w: float) -> None
X.setWidth(w)
Supplemental documentation: Qt 5 reference:
void QTextInlineObject::setWidth(qreal w)
Sets the inline object's width to w.
See also width(), ascent(), descent(), and rect().
Upstream PySide2 reference signatures (binding differences may apply):
setWidth(self, w: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#setWidth
textDirection
textDirection() -> Any
X.textDirection()
Supplemental documentation: Qt 5 reference:
Qt::LayoutDirection QTextInlineObject::textDirection() const
Returns if the object should be laid out right-to-left or left-to-right.
Upstream PySide2 reference signatures (binding differences may apply):
textDirection(self) -> PySide2.QtCore.Qt.LayoutDirection
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#textDirection
textPosition
textPosition() -> int
X.textPosition() -> int
Supplemental documentation: Qt 5 reference:
int QTextInlineObject::textPosition() const
The position of the inline object within the text layout.
Upstream PySide2 reference signatures (binding differences may apply):
textPosition(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#textPosition
width
width() -> float
X.width() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextInlineObject::width() const
Returns the inline object's width.
See also setWidth(), ascent(), descent(), and rect().
Upstream PySide2 reference signatures (binding differences may apply):
width(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextinlineobject.html#width