PythonQt.QtGui.QTextFrameFormat · declarations 001
Back to PythonQt.QtGui.QTextFrameFormat
BorderStyle
instance-attribute
BorderStyle: type
int([x]) -> integer int(x, base=10) -> integer
Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating point numbers, this truncates towards zero.
If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by '+' or '-' and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer literal.
int('0b100', base=0) 4
BorderStyle_Dashed
instance-attribute
BorderStyle_Dashed: Any
BorderStyle_DotDash
instance-attribute
BorderStyle_DotDash: Any
BorderStyle_DotDotDash
instance-attribute
BorderStyle_DotDotDash: Any
BorderStyle_Dotted
instance-attribute
BorderStyle_Dotted: Any
BorderStyle_Double
instance-attribute
BorderStyle_Double: Any
BorderStyle_Groove
instance-attribute
BorderStyle_Groove: Any
BorderStyle_Inset
instance-attribute
BorderStyle_Inset: Any
BorderStyle_None
instance-attribute
BorderStyle_None: Any
BorderStyle_Outset
instance-attribute
BorderStyle_Outset: Any
BorderStyle_Ridge
instance-attribute
BorderStyle_Ridge: Any
BorderStyle_Solid
instance-attribute
BorderStyle_Solid: Any
FloatLeft
instance-attribute
FloatLeft: Any
FloatRight
instance-attribute
FloatRight: Any
InFlow
instance-attribute
InFlow: Any
border
border() -> float
X.border() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextFrameFormat::border() const
Returns the width of the border in pixels.
See also setBorder().
Upstream PySide2 reference signatures (binding differences may apply):
border(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#border
borderBrush
borderBrush() -> Any
X.borderBrush() -> PythonQt.QtGui.QBrush
Supplemental documentation: Qt 5 reference:
QBrush QTextFrameFormat::borderBrush() const
Returns the brush used for the frame's border.
This function was introduced in Qt 4.3.
See also setBorderBrush().
Upstream PySide2 reference signatures (binding differences may apply):
borderBrush(self) -> PySide2.QtGui.QBrush
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#borderBrush
borderStyle
borderStyle() -> Any
X.borderStyle()
Supplemental documentation: Qt 5 reference:
QTextFrameFormat::BorderStyle QTextFrameFormat::borderStyle() const
Returns the style of the frame's border.
This function was introduced in Qt 4.3.
See also setBorderStyle().
Upstream PySide2 reference signatures (binding differences may apply):
borderStyle(self) -> PySide2.QtGui.QTextFrameFormat.BorderStyle
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#borderStyle
bottomMargin
bottomMargin() -> float
X.bottomMargin() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextFrameFormat::bottomMargin() const
Returns the width of the frame's bottom margin in pixels.
This function was introduced in Qt 4.3.
See also setBottomMargin().
Upstream PySide2 reference signatures (binding differences may apply):
bottomMargin(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#bottomMargin
height
height() -> Any
X.height() -> PythonQt.QtGui.QTextLength
Supplemental documentation: Qt 5 reference:
QTextLength QTextFrameFormat::height() const
Returns the height of the frame's border rectangle.
See also setHeight().
Upstream PySide2 reference signatures (binding differences may apply):
height(self) -> PySide2.QtGui.QTextLength
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#height
isValid
isValid() -> bool
X.isValid() -> bool
Supplemental documentation: Qt 5 reference:
bool QTextFrameFormat::isValid() const
Returns true if the format description 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/qtextframeformat.html#isValid
leftMargin
leftMargin() -> float
X.leftMargin() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextFrameFormat::leftMargin() const
Returns the width of the frame's left margin in pixels.
This function was introduced in Qt 4.3.
See also setLeftMargin().
Upstream PySide2 reference signatures (binding differences may apply):
leftMargin(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#leftMargin
margin
margin() -> float
X.margin() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextFrameFormat::margin() const
Returns the width of the frame's external margin in pixels.
See also setMargin().
Upstream PySide2 reference signatures (binding differences may apply):
margin(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#margin
padding
padding() -> float
X.padding() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextFrameFormat::padding() const
Returns the width of the frame's internal padding in pixels.
See also setPadding().
Upstream PySide2 reference signatures (binding differences may apply):
padding(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#padding
pageBreakPolicy
pageBreakPolicy() -> Any
X.pageBreakPolicy()
Supplemental documentation: Qt 5 reference:
QTextFormat::PageBreakFlags QTextFrameFormat::pageBreakPolicy() const
Returns the currently set page break policy for the frame/table. The default is QTextFormat::PageBreak_Auto.
This function was introduced in Qt 4.2.
See also setPageBreakPolicy().
Upstream PySide2 reference signatures (binding differences may apply):
pageBreakPolicy(self) -> PySide2.QtGui.QTextFormat.PageBreakFlags
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#pageBreakPolicy
position
position() -> Any
X.position()
Supplemental documentation: Qt 5 reference:
QTextFrameFormat::Position QTextFrameFormat::position() const
Returns the positioning policy for frames with this frame format.
See also setPosition().
Upstream PySide2 reference signatures (binding differences may apply):
position(self) -> PySide2.QtGui.QTextFrameFormat.Position
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#position
rightMargin
rightMargin() -> float
X.rightMargin() -> float
Supplemental documentation: Qt 5 reference:
qreal QTextFrameFormat::rightMargin() const
Returns the width of the frame's right margin in pixels.
This function was introduced in Qt 4.3.
See also setRightMargin().
Upstream PySide2 reference signatures (binding differences may apply):
rightMargin(self) -> float
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#rightMargin
setBorder
setBorder(border: float) -> None
X.setBorder(border)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setBorder(qreal width)
Sets the width (in pixels) of the frame's border.
See also border().
Upstream PySide2 reference signatures (binding differences may apply):
setBorder(self, border: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setBorder
setBorderBrush
setBorderBrush(brush: Any) -> None
X.setBorderBrush(brush)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setBorderBrush(const QBrush \&brush)
Sets the brush used for the frame's border.
This function was introduced in Qt 4.3.
See also borderBrush().
Upstream PySide2 reference signatures (binding differences may apply):
setBorderBrush(self, brush: PySide2.QtGui.QBrush) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setBorderBrush
setBorderStyle
setBorderStyle(style: Any) -> None
X.setBorderStyle(style)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setBorderStyle(QTextFrameFormat::BorderStyle style)
Sets the style of the frame's border.
This function was introduced in Qt 4.3.
See also borderStyle().
Upstream PySide2 reference signatures (binding differences may apply):
setBorderStyle(self, style: PySide2.QtGui.QTextFrameFormat.BorderStyle) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setBorderStyle
setBottomMargin
setBottomMargin(margin: float) -> None
X.setBottomMargin(margin)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setBottomMargin(qreal margin)
Sets the frame's bottom margin in pixels.
This function was introduced in Qt 4.3.
See also bottomMargin().
Upstream PySide2 reference signatures (binding differences may apply):
setBottomMargin(self, margin: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setBottomMargin
setHeight
setHeight(height: Any) -> None
X.setHeight(height)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setHeight(const QTextLength \&height)
Sets the frame's height.
See also height().
void QTextFrameFormat::setHeight(qreal height)
This is an overloaded function.
Sets the frame's height.
Upstream PySide2 reference signatures (binding differences may apply):
setHeight(self, height: PySide2.QtGui.QTextLength) -> None
setHeight(self, height: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setHeight
setLeftMargin
setLeftMargin(margin: float) -> None
X.setLeftMargin(margin)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setLeftMargin(qreal margin)
Sets the frame's left margin in pixels.
This function was introduced in Qt 4.3.
See also leftMargin().
Upstream PySide2 reference signatures (binding differences may apply):
setLeftMargin(self, margin: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setLeftMargin
setMargin
setMargin(margin: float) -> None
X.setMargin(margin)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setMargin(qreal margin)
Sets the frame's margin in pixels. This method also sets the left, right, top and bottom margins of the frame to the same value. The individual margins override the general margin.
See also margin().
Upstream PySide2 reference signatures (binding differences may apply):
setMargin(self, margin: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setMargin
setPadding
setPadding(padding: float) -> None
X.setPadding(padding)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setPadding(qreal width)
Sets the width of the frame's internal padding in pixels.
See also padding().
Upstream PySide2 reference signatures (binding differences may apply):
setPadding(self, padding: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setPadding
setPageBreakPolicy
setPageBreakPolicy(arg0: flags) -> None
X.setPageBreakPolicy(flags)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setPageBreakPolicy(QTextFormat::PageBreakFlags policy)
Sets the page break policy for the frame/table to policy.
This function was introduced in Qt 4.2.
See also pageBreakPolicy().
Upstream PySide2 reference signatures (binding differences may apply):
setPageBreakPolicy(self, flags: PySide2.QtGui.QTextFormat.PageBreakFlags) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setPageBreakPolicy
setPosition
setPosition(f: Any) -> None
X.setPosition(f)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setPosition(QTextFrameFormat::Position policy)
Sets the policy for positioning frames with this frame format.
See also position().
Upstream PySide2 reference signatures (binding differences may apply):
setPosition(self, f: PySide2.QtGui.QTextFrameFormat.Position) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setPosition
setRightMargin
setRightMargin(margin: float) -> None
X.setRightMargin(margin)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setRightMargin(qreal margin)
Sets the frame's right margin in pixels.
This function was introduced in Qt 4.3.
See also rightMargin().
Upstream PySide2 reference signatures (binding differences may apply):
setRightMargin(self, margin: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setRightMargin
setTopMargin
setTopMargin(margin: float) -> None
X.setTopMargin(margin)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setTopMargin(qreal margin)
Sets the frame's top margin in pixels.
This function was introduced in Qt 4.3.
See also topMargin().
Upstream PySide2 reference signatures (binding differences may apply):
setTopMargin(self, margin: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setTopMargin
setWidth
setWidth(length: Any) -> None
X.setWidth(length)
Supplemental documentation: Qt 5 reference:
void QTextFrameFormat::setWidth(const QTextLength \&width)
Sets the frame's border rectangle's width.
See also width() and QTextLength.
void QTextFrameFormat::setWidth(qreal width)
This is an overloaded function.
Convenience method that sets the width of the frame's border rectangle's width to the specified fixed width.
Upstream PySide2 reference signatures (binding differences may apply):
setWidth(self, length: PySide2.QtGui.QTextLength) -> None
setWidth(self, width: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtextframeformat.html#setWidth