Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtGui »

Classe « QTextFrameFormat »

Informations générales

Héritage

builtins.object
    Object
        QTextFormat
            QTextFrameFormat

Définition

class QTextFrameFormat(QTextFormat):

Description [extrait de QTextFrameFormat.__doc__]

QTextFrameFormat(self) -> None
QTextFrameFormat(self, QTextFrameFormat: PySide6.QtGui.QTextFrameFormat) -> None
QTextFrameFormat(self, fmt: PySide6.QtGui.QTextFormat) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AnchorHrefPySide6.QtGui.QTextFormat.Property.AnchorHref
AnchorNamePySide6.QtGui.QTextFormat.Property.AnchorName
BackgroundBrushPySide6.QtGui.QTextFormat.Property.BackgroundBrush
BackgroundImageUrlPySide6.QtGui.QTextFormat.Property.BackgroundImageUrl
BlockAlignmentPySide6.QtGui.QTextFormat.Property.BlockAlignment
BlockBottomMarginPySide6.QtGui.QTextFormat.Property.BlockBottomMargin
BlockCodeFencePySide6.QtGui.QTextFormat.Property.BlockCodeFence
BlockCodeLanguagePySide6.QtGui.QTextFormat.Property.BlockCodeLanguage
BlockFormatPySide6.QtGui.QTextFormat.FormatType.BlockFormat
BlockIndentPySide6.QtGui.QTextFormat.Property.BlockIndent
BlockLeftMarginPySide6.QtGui.QTextFormat.Property.BlockLeftMargin
BlockMarkerPySide6.QtGui.QTextFormat.Property.BlockMarker
BlockNonBreakableLinesPySide6.QtGui.QTextFormat.Property.BlockNonBreakableLines
BlockQuoteLevelPySide6.QtGui.QTextFormat.Property.BlockQuoteLevel
BlockRightMarginPySide6.QtGui.QTextFormat.Property.BlockRightMargin
BlockTopMarginPySide6.QtGui.QTextFormat.Property.BlockTopMargin
BlockTrailingHorizontalRulerWidthPySide6.QtGui.QTextFormat.Property.BlockTrailingHorizontalRulerWidth
BorderStyle_DashedPySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Dashed
BorderStyle_DotDashPySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_DotDash
BorderStyle_DotDotDashPySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_DotDotDash
BorderStyle_DottedPySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Dotted
BorderStyle_DoublePySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Double
BorderStyle_GroovePySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Groove
BorderStyle_InsetPySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Inset
BorderStyle_NonePySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_None
BorderStyle_OutsetPySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Outset
BorderStyle_RidgePySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Ridge
BorderStyle_SolidPySide6.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Solid
CharFormatPySide6.QtGui.QTextFormat.FormatType.CharFormat
CssFloatPySide6.QtGui.QTextFormat.Property.CssFloat
FirstFontPropertyPySide6.QtGui.QTextFormat.Property.FirstFontProperty
FloatLeftPySide6.QtGui.QTextFrameFormat.Position.FloatLeft
FloatRightPySide6.QtGui.QTextFrameFormat.Position.FloatRight
FontCapitalizationPySide6.QtGui.QTextFormat.Property.FontCapitalization
FontFamiliesPySide6.QtGui.QTextFormat.Property.FontFamilies
FontFamilyPySide6.QtGui.QTextFormat.Property.FontFamily
FontFixedPitchPySide6.QtGui.QTextFormat.Property.FontFixedPitch
FontHintingPreferencePySide6.QtGui.QTextFormat.Property.FontHintingPreference
FontItalicPySide6.QtGui.QTextFormat.Property.FontItalic
FontKerningPySide6.QtGui.QTextFormat.Property.FontKerning
FontLetterSpacingPySide6.QtGui.QTextFormat.Property.FontLetterSpacing
FontLetterSpacingTypePySide6.QtGui.QTextFormat.Property.FontLetterSpacingType
FontOverlinePySide6.QtGui.QTextFormat.Property.FontOverline
FontPixelSizePySide6.QtGui.QTextFormat.Property.FontPixelSize
FontPointSizePySide6.QtGui.QTextFormat.Property.FontPointSize
FontSizeAdjustmentPySide6.QtGui.QTextFormat.Property.FontSizeAdjustment
FontSizeIncrementPySide6.QtGui.QTextFormat.Property.FontSizeIncrement
FontStretchPySide6.QtGui.QTextFormat.Property.FontStretch
FontStrikeOutPySide6.QtGui.QTextFormat.Property.FontStrikeOut
FontStyleHintPySide6.QtGui.QTextFormat.Property.FontStyleHint
FontStyleNamePySide6.QtGui.QTextFormat.Property.FontStyleName
FontStyleStrategyPySide6.QtGui.QTextFormat.Property.FontStyleStrategy
FontUnderlinePySide6.QtGui.QTextFormat.Property.FontUnderline
FontWeightPySide6.QtGui.QTextFormat.Property.FontWeight
FontWordSpacingPySide6.QtGui.QTextFormat.Property.FontWordSpacing
ForegroundBrushPySide6.QtGui.QTextFormat.Property.ForegroundBrush
FrameBorderPySide6.QtGui.QTextFormat.Property.FrameBorder
FrameBorderBrushPySide6.QtGui.QTextFormat.Property.FrameBorderBrush
FrameBorderStylePySide6.QtGui.QTextFormat.Property.FrameBorderStyle
FrameBottomMarginPySide6.QtGui.QTextFormat.Property.FrameBottomMargin
FrameFormatPySide6.QtGui.QTextFormat.FormatType.FrameFormat
FrameHeightPySide6.QtGui.QTextFormat.Property.FrameHeight
FrameLeftMarginPySide6.QtGui.QTextFormat.Property.FrameLeftMargin
FrameMarginPySide6.QtGui.QTextFormat.Property.FrameMargin
FramePaddingPySide6.QtGui.QTextFormat.Property.FramePadding
FrameRightMarginPySide6.QtGui.QTextFormat.Property.FrameRightMargin
FrameTopMarginPySide6.QtGui.QTextFormat.Property.FrameTopMargin
FrameWidthPySide6.QtGui.QTextFormat.Property.FrameWidth
FullWidthSelectionPySide6.QtGui.QTextFormat.Property.FullWidthSelection
HeadingLevelPySide6.QtGui.QTextFormat.Property.HeadingLevel
ImageAltTextPySide6.QtGui.QTextFormat.Property.ImageAltText
ImageHeightPySide6.QtGui.QTextFormat.Property.ImageHeight
ImageNamePySide6.QtGui.QTextFormat.Property.ImageName
ImageObjectPySide6.QtGui.QTextFormat.ObjectTypes.ImageObject
ImageQualityPySide6.QtGui.QTextFormat.Property.ImageQuality
ImageTitlePySide6.QtGui.QTextFormat.Property.ImageTitle
ImageWidthPySide6.QtGui.QTextFormat.Property.ImageWidth
InFlowPySide6.QtGui.QTextFrameFormat.Position.InFlow
InvalidFormatPySide6.QtGui.QTextFormat.FormatType.InvalidFormat
IsAnchorPySide6.QtGui.QTextFormat.Property.IsAnchor
LastFontPropertyPySide6.QtGui.QTextFormat.Property.LastFontProperty
LayoutDirectionPySide6.QtGui.QTextFormat.Property.LayoutDirection
LineHeightPySide6.QtGui.QTextFormat.Property.LineHeight
LineHeightTypePySide6.QtGui.QTextFormat.Property.LineHeightType
ListFormatPySide6.QtGui.QTextFormat.FormatType.ListFormat
ListIndentPySide6.QtGui.QTextFormat.Property.ListIndent
ListNumberPrefixPySide6.QtGui.QTextFormat.Property.ListNumberPrefix
ListNumberSuffixPySide6.QtGui.QTextFormat.Property.ListNumberSuffix
ListStylePySide6.QtGui.QTextFormat.Property.ListStyle
NoObjectPySide6.QtGui.QTextFormat.ObjectTypes.NoObject
ObjectIndexPySide6.QtGui.QTextFormat.Property.ObjectIndex
ObjectTypePySide6.QtGui.QTextFormat.Property.ObjectType
OldFontLetterSpacingTypePySide6.QtGui.QTextFormat.Property.OldFontLetterSpacingType
OldFontStretchPySide6.QtGui.QTextFormat.Property.OldFontStretch
OldTextUnderlineColorPySide6.QtGui.QTextFormat.Property.OldTextUnderlineColor
OutlinePenPySide6.QtGui.QTextFormat.Property.OutlinePen
PageBreak_AlwaysAfterPySide6.QtGui.QTextFormat.PageBreakFlag.PageBreak_AlwaysAfter
PageBreak_AlwaysBeforePySide6.QtGui.QTextFormat.PageBreakFlag.PageBreak_AlwaysBefore
PageBreak_AutoPySide6.QtGui.QTextFormat.PageBreakFlag.PageBreak_Auto
PageBreakPolicyPySide6.QtGui.QTextFormat.Property.PageBreakPolicy
TableBorderCollapsePySide6.QtGui.QTextFormat.Property.TableBorderCollapse
TableCellBottomBorderPySide6.QtGui.QTextFormat.Property.TableCellBottomBorder
TableCellBottomBorderBrushPySide6.QtGui.QTextFormat.Property.TableCellBottomBorderBrush
TableCellBottomBorderStylePySide6.QtGui.QTextFormat.Property.TableCellBottomBorderStyle
TableCellBottomPaddingPySide6.QtGui.QTextFormat.Property.TableCellBottomPadding
TableCellColumnSpanPySide6.QtGui.QTextFormat.Property.TableCellColumnSpan
TableCellLeftBorderPySide6.QtGui.QTextFormat.Property.TableCellLeftBorder
TableCellLeftBorderBrushPySide6.QtGui.QTextFormat.Property.TableCellLeftBorderBrush
TableCellLeftBorderStylePySide6.QtGui.QTextFormat.Property.TableCellLeftBorderStyle
TableCellLeftPaddingPySide6.QtGui.QTextFormat.Property.TableCellLeftPadding
TableCellObjectPySide6.QtGui.QTextFormat.ObjectTypes.TableCellObject
TableCellPaddingPySide6.QtGui.QTextFormat.Property.TableCellPadding
TableCellRightBorderPySide6.QtGui.QTextFormat.Property.TableCellRightBorder
TableCellRightBorderBrushPySide6.QtGui.QTextFormat.Property.TableCellRightBorderBrush
TableCellRightBorderStylePySide6.QtGui.QTextFormat.Property.TableCellRightBorderStyle
TableCellRightPaddingPySide6.QtGui.QTextFormat.Property.TableCellRightPadding
TableCellRowSpanPySide6.QtGui.QTextFormat.Property.TableCellRowSpan
TableCellSpacingPySide6.QtGui.QTextFormat.Property.TableCellSpacing
TableCellTopBorderPySide6.QtGui.QTextFormat.Property.TableCellTopBorder
TableCellTopBorderBrushPySide6.QtGui.QTextFormat.Property.TableCellTopBorderBrush
TableCellTopBorderStylePySide6.QtGui.QTextFormat.Property.TableCellTopBorderStyle
TableCellTopPaddingPySide6.QtGui.QTextFormat.Property.TableCellTopPadding
TableColumnsPySide6.QtGui.QTextFormat.Property.TableColumns
TableColumnWidthConstraintsPySide6.QtGui.QTextFormat.Property.TableColumnWidthConstraints
TableHeaderRowCountPySide6.QtGui.QTextFormat.Property.TableHeaderRowCount
TableObjectPySide6.QtGui.QTextFormat.ObjectTypes.TableObject
TabPositionsPySide6.QtGui.QTextFormat.Property.TabPositions
TextBaselineOffsetPySide6.QtGui.QTextFormat.Property.TextBaselineOffset
TextIndentPySide6.QtGui.QTextFormat.Property.TextIndent
TextOutlinePySide6.QtGui.QTextFormat.Property.TextOutline
TextSubScriptBaselinePySide6.QtGui.QTextFormat.Property.TextSubScriptBaseline
TextSuperScriptBaselinePySide6.QtGui.QTextFormat.Property.TextSuperScriptBaseline
TextToolTipPySide6.QtGui.QTextFormat.Property.TextToolTip
TextUnderlineColorPySide6.QtGui.QTextFormat.Property.TextUnderlineColor
TextUnderlineStylePySide6.QtGui.QTextFormat.Property.TextUnderlineStyle
TextVerticalAlignmentPySide6.QtGui.QTextFormat.Property.TextVerticalAlignment
UserFormatPySide6.QtGui.QTextFormat.FormatType.UserFormat
UserObjectPySide6.QtGui.QTextFormat.ObjectTypes.UserObject
UserPropertyPySide6.QtGui.QTextFormat.Property.UserProperty

Liste des opérateurs

Opérateurs hérités de la classe QTextFormat

__eq__, __ge__, __gt__, __le__, __lshift__, __lt__, __ne__, __rlshift__, __rrshift__, __rshift__

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__copy__() -> None __copy__() -> None [extrait de __copy__.__doc__]
border(self) -> float border(self) -> float [extrait de border.__doc__]
borderBrush(self) -> PySide6.QtGui.QBrush borderBrush(self) -> PySide6.QtGui.QBrush [extrait de borderBrush.__doc__]
BorderStyle
borderStyle(self) -> PySide6.QtGui.QTextFrameFormat.BorderStyle borderStyle(self) -> PySide6.QtGui.QTextFrameFormat.BorderStyle [extrait de borderStyle.__doc__]
bottomMargin(self) -> float bottomMargin(self) -> float [extrait de bottomMargin.__doc__]
height(self) -> PySide6.QtGui.QTextLength height(self) -> PySide6.QtGui.QTextLength [extrait de height.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
leftMargin(self) -> float leftMargin(self) -> float [extrait de leftMargin.__doc__]
margin(self) -> float margin(self) -> float [extrait de margin.__doc__]
padding(self) -> float padding(self) -> float [extrait de padding.__doc__]
pageBreakPolicy(self) -> PySide6.QtGui.QTextFormat.PageBreakFlags pageBreakPolicy(self) -> PySide6.QtGui.QTextFormat.PageBreakFlags [extrait de pageBreakPolicy.__doc__]
Position
position(self) -> PySide6.QtGui.QTextFrameFormat.Position position(self) -> PySide6.QtGui.QTextFrameFormat.Position [extrait de position.__doc__]
rightMargin(self) -> float rightMargin(self) -> float [extrait de rightMargin.__doc__]
setBorder(self, border: float) -> None setBorder(self, border: float) -> None [extrait de setBorder.__doc__]
setBorderBrush(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None setBorderBrush(self, brush: Union[PySide6.QtGui.QBrush, PySide6.QtCore.Qt.BrushStyle, PySide6.QtCore.Qt.GlobalColor, PySide6.QtGui.QColor, PySide6.QtGui.QGradient, PySide6.QtGui.QImage, PySide6.QtGui.QPixmap]) -> None [extrait de setBorderBrush.__doc__]
setBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle) -> None setBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle) -> None [extrait de setBorderStyle.__doc__]
setBottomMargin(self, margin: float) -> None setBottomMargin(self, margin: float) -> None [extrait de setBottomMargin.__doc__]
setHeight setHeight(self, height: PySide6.QtGui.QTextLength) -> None [extrait de setHeight.__doc__]
setLeftMargin(self, margin: float) -> None setLeftMargin(self, margin: float) -> None [extrait de setLeftMargin.__doc__]
setMargin(self, margin: float) -> None setMargin(self, margin: float) -> None [extrait de setMargin.__doc__]
setPadding(self, padding: float) -> None setPadding(self, padding: float) -> None [extrait de setPadding.__doc__]
setPageBreakPolicy(self, flags: PySide6.QtGui.QTextFormat.PageBreakFlags) -> None setPageBreakPolicy(self, flags: PySide6.QtGui.QTextFormat.PageBreakFlags) -> None [extrait de setPageBreakPolicy.__doc__]
setPosition(self, f: PySide6.QtGui.QTextFrameFormat.Position) -> None setPosition(self, f: PySide6.QtGui.QTextFrameFormat.Position) -> None [extrait de setPosition.__doc__]
setRightMargin(self, margin: float) -> None setRightMargin(self, margin: float) -> None [extrait de setRightMargin.__doc__]
setTopMargin(self, margin: float) -> None setTopMargin(self, margin: float) -> None [extrait de setTopMargin.__doc__]
setWidth setWidth(self, length: PySide6.QtGui.QTextLength) -> None [extrait de setWidth.__doc__]
topMargin(self) -> float topMargin(self) -> float [extrait de topMargin.__doc__]
width(self) -> PySide6.QtGui.QTextLength width(self) -> PySide6.QtGui.QTextLength [extrait de width.__doc__]

Méthodes héritées de la classe QTextFormat

__init_subclass__, __repr__, __subclasshook__, background, boolProperty, brushProperty, clearBackground, clearForeground, clearProperty, colorProperty, doubleProperty, foreground, FormatType, hasProperty, intProperty, isBlockFormat, isCharFormat, isEmpty, isFrameFormat, isImageFormat, isListFormat, isTableCellFormat, isTableFormat, layoutDirection, lengthProperty, lengthVectorProperty, merge, objectIndex, objectType, ObjectTypes, PageBreakFlag, PageBreakFlags, penProperty, properties, Property, property, propertyCount, setBackground, setForeground, setLayoutDirection, setObjectIndex, setObjectType, setProperty, stringProperty, swap, toBlockFormat, toCharFormat, toFrameFormat, toImageFormat, toListFormat, toTableCellFormat, toTableFormat, type

Méthodes héritées de la classe Object

__delattr__, __getattribute__, __init_subclass__, __setattr__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__