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 « PySide2.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)
QTextFrameFormat(self, QTextFrameFormat: PySide2.QtGui.QTextFrameFormat)
QTextFrameFormat(self, fmt: PySide2.QtGui.QTextFormat)

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__]
__init__(self, /, *args, **kwargs) Initialize self. See help(type(self)) for accurate signature. [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AnchorHrefPySide2.QtGui.QTextFormat.Property.AnchorHref
AnchorNamePySide2.QtGui.QTextFormat.Property.AnchorName
BackgroundBrushPySide2.QtGui.QTextFormat.Property.BackgroundBrush
BackgroundImageUrlPySide2.QtGui.QTextFormat.Property.BackgroundImageUrl
BlockAlignmentPySide2.QtGui.QTextFormat.Property.BlockAlignment
BlockBottomMarginPySide2.QtGui.QTextFormat.Property.BlockBottomMargin
BlockCodeFencePySide2.QtGui.QTextFormat.Property.BlockCodeFence
BlockCodeLanguagePySide2.QtGui.QTextFormat.Property.BlockCodeLanguage
BlockFormatPySide2.QtGui.QTextFormat.FormatType.BlockFormat
BlockIndentPySide2.QtGui.QTextFormat.Property.BlockIndent
BlockLeftMarginPySide2.QtGui.QTextFormat.Property.BlockLeftMargin
BlockMarkerPySide2.QtGui.QTextFormat.Property.BlockMarker
BlockNonBreakableLinesPySide2.QtGui.QTextFormat.Property.BlockNonBreakableLines
BlockQuoteLevelPySide2.QtGui.QTextFormat.Property.BlockQuoteLevel
BlockRightMarginPySide2.QtGui.QTextFormat.Property.BlockRightMargin
BlockTopMarginPySide2.QtGui.QTextFormat.Property.BlockTopMargin
BlockTrailingHorizontalRulerWidthPySide2.QtGui.QTextFormat.Property.BlockTrailingHorizontalRulerWidth
BorderStyle_DashedPySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Dashed
BorderStyle_DotDashPySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_DotDash
BorderStyle_DotDotDashPySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_DotDotDash
BorderStyle_DottedPySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Dotted
BorderStyle_DoublePySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Double
BorderStyle_GroovePySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Groove
BorderStyle_InsetPySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Inset
BorderStyle_NonePySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_None
BorderStyle_OutsetPySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Outset
BorderStyle_RidgePySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Ridge
BorderStyle_SolidPySide2.QtGui.QTextFrameFormat.BorderStyle.BorderStyle_Solid
CharFormatPySide2.QtGui.QTextFormat.FormatType.CharFormat
CssFloatPySide2.QtGui.QTextFormat.Property.CssFloat
FirstFontPropertyPySide2.QtGui.QTextFormat.Property.FirstFontProperty
FloatLeftPySide2.QtGui.QTextFrameFormat.Position.FloatLeft
FloatRightPySide2.QtGui.QTextFrameFormat.Position.FloatRight
FontCapitalizationPySide2.QtGui.QTextFormat.Property.FontCapitalization
FontFamiliesPySide2.QtGui.QTextFormat.Property.FontFamilies
FontFamilyPySide2.QtGui.QTextFormat.Property.FontFamily
FontFixedPitchPySide2.QtGui.QTextFormat.Property.FontFixedPitch
FontHintingPreferencePySide2.QtGui.QTextFormat.Property.FontHintingPreference
FontItalicPySide2.QtGui.QTextFormat.Property.FontItalic
FontKerningPySide2.QtGui.QTextFormat.Property.FontKerning
FontLetterSpacingPySide2.QtGui.QTextFormat.Property.FontLetterSpacing
FontLetterSpacingTypePySide2.QtGui.QTextFormat.Property.FontLetterSpacingType
FontOverlinePySide2.QtGui.QTextFormat.Property.FontOverline
FontPixelSizePySide2.QtGui.QTextFormat.Property.FontPixelSize
FontPointSizePySide2.QtGui.QTextFormat.Property.FontPointSize
FontSizeAdjustmentPySide2.QtGui.QTextFormat.Property.FontSizeAdjustment
FontSizeIncrementPySide2.QtGui.QTextFormat.Property.FontSizeIncrement
FontStretchPySide2.QtGui.QTextFormat.Property.FontStretch
FontStrikeOutPySide2.QtGui.QTextFormat.Property.FontStrikeOut
FontStyleHintPySide2.QtGui.QTextFormat.Property.FontStyleHint
FontStyleNamePySide2.QtGui.QTextFormat.Property.FontStyleName
FontStyleStrategyPySide2.QtGui.QTextFormat.Property.FontStyleStrategy
FontUnderlinePySide2.QtGui.QTextFormat.Property.FontUnderline
FontWeightPySide2.QtGui.QTextFormat.Property.FontWeight
FontWordSpacingPySide2.QtGui.QTextFormat.Property.FontWordSpacing
ForegroundBrushPySide2.QtGui.QTextFormat.Property.ForegroundBrush
FrameBorderPySide2.QtGui.QTextFormat.Property.FrameBorder
FrameBorderBrushPySide2.QtGui.QTextFormat.Property.FrameBorderBrush
FrameBorderStylePySide2.QtGui.QTextFormat.Property.FrameBorderStyle
FrameBottomMarginPySide2.QtGui.QTextFormat.Property.FrameBottomMargin
FrameFormatPySide2.QtGui.QTextFormat.FormatType.FrameFormat
FrameHeightPySide2.QtGui.QTextFormat.Property.FrameHeight
FrameLeftMarginPySide2.QtGui.QTextFormat.Property.FrameLeftMargin
FrameMarginPySide2.QtGui.QTextFormat.Property.FrameMargin
FramePaddingPySide2.QtGui.QTextFormat.Property.FramePadding
FrameRightMarginPySide2.QtGui.QTextFormat.Property.FrameRightMargin
FrameTopMarginPySide2.QtGui.QTextFormat.Property.FrameTopMargin
FrameWidthPySide2.QtGui.QTextFormat.Property.FrameWidth
FullWidthSelectionPySide2.QtGui.QTextFormat.Property.FullWidthSelection
HeadingLevelPySide2.QtGui.QTextFormat.Property.HeadingLevel
ImageAltTextPySide2.QtGui.QTextFormat.Property.ImageAltText
ImageHeightPySide2.QtGui.QTextFormat.Property.ImageHeight
ImageNamePySide2.QtGui.QTextFormat.Property.ImageName
ImageObjectPySide2.QtGui.QTextFormat.ObjectTypes.ImageObject
ImageQualityPySide2.QtGui.QTextFormat.Property.ImageQuality
ImageTitlePySide2.QtGui.QTextFormat.Property.ImageTitle
ImageWidthPySide2.QtGui.QTextFormat.Property.ImageWidth
InFlowPySide2.QtGui.QTextFrameFormat.Position.InFlow
InvalidFormatPySide2.QtGui.QTextFormat.FormatType.InvalidFormat
IsAnchorPySide2.QtGui.QTextFormat.Property.IsAnchor
LastFontPropertyPySide2.QtGui.QTextFormat.Property.LastFontProperty
LayoutDirectionPySide2.QtGui.QTextFormat.Property.LayoutDirection
LineHeightPySide2.QtGui.QTextFormat.Property.LineHeight
LineHeightTypePySide2.QtGui.QTextFormat.Property.LineHeightType
ListFormatPySide2.QtGui.QTextFormat.FormatType.ListFormat
ListIndentPySide2.QtGui.QTextFormat.Property.ListIndent
ListNumberPrefixPySide2.QtGui.QTextFormat.Property.ListNumberPrefix
ListNumberSuffixPySide2.QtGui.QTextFormat.Property.ListNumberSuffix
ListStylePySide2.QtGui.QTextFormat.Property.ListStyle
NoObjectPySide2.QtGui.QTextFormat.ObjectTypes.NoObject
ObjectIndexPySide2.QtGui.QTextFormat.Property.ObjectIndex
ObjectTypePySide2.QtGui.QTextFormat.Property.ObjectType
OutlinePenPySide2.QtGui.QTextFormat.Property.OutlinePen
PageBreak_AlwaysAfterPySide2.QtGui.QTextFormat.PageBreakFlag.PageBreak_AlwaysAfter
PageBreak_AlwaysBeforePySide2.QtGui.QTextFormat.PageBreakFlag.PageBreak_AlwaysBefore
PageBreak_AutoPySide2.QtGui.QTextFormat.PageBreakFlag.PageBreak_Auto
PageBreakPolicyPySide2.QtGui.QTextFormat.Property.PageBreakPolicy
TableBorderCollapsePySide2.QtGui.QTextFormat.Property.TableBorderCollapse
TableCellBottomBorderPySide2.QtGui.QTextFormat.Property.TableCellBottomBorder
TableCellBottomBorderBrushPySide2.QtGui.QTextFormat.Property.TableCellBottomBorderBrush
TableCellBottomBorderStylePySide2.QtGui.QTextFormat.Property.TableCellBottomBorderStyle
TableCellBottomPaddingPySide2.QtGui.QTextFormat.Property.TableCellBottomPadding
TableCellColumnSpanPySide2.QtGui.QTextFormat.Property.TableCellColumnSpan
TableCellLeftBorderPySide2.QtGui.QTextFormat.Property.TableCellLeftBorder
TableCellLeftBorderBrushPySide2.QtGui.QTextFormat.Property.TableCellLeftBorderBrush
TableCellLeftBorderStylePySide2.QtGui.QTextFormat.Property.TableCellLeftBorderStyle
TableCellLeftPaddingPySide2.QtGui.QTextFormat.Property.TableCellLeftPadding
TableCellObjectPySide2.QtGui.QTextFormat.ObjectTypes.TableCellObject
TableCellPaddingPySide2.QtGui.QTextFormat.Property.TableCellPadding
TableCellRightBorderPySide2.QtGui.QTextFormat.Property.TableCellRightBorder
TableCellRightBorderBrushPySide2.QtGui.QTextFormat.Property.TableCellRightBorderBrush
TableCellRightBorderStylePySide2.QtGui.QTextFormat.Property.TableCellRightBorderStyle
TableCellRightPaddingPySide2.QtGui.QTextFormat.Property.TableCellRightPadding
TableCellRowSpanPySide2.QtGui.QTextFormat.Property.TableCellRowSpan
TableCellSpacingPySide2.QtGui.QTextFormat.Property.TableCellSpacing
TableCellTopBorderPySide2.QtGui.QTextFormat.Property.TableCellTopBorder
TableCellTopBorderBrushPySide2.QtGui.QTextFormat.Property.TableCellTopBorderBrush
TableCellTopBorderStylePySide2.QtGui.QTextFormat.Property.TableCellTopBorderStyle
TableCellTopPaddingPySide2.QtGui.QTextFormat.Property.TableCellTopPadding
TableColumnsPySide2.QtGui.QTextFormat.Property.TableColumns
TableColumnWidthConstraintsPySide2.QtGui.QTextFormat.Property.TableColumnWidthConstraints
TableFormatPySide2.QtGui.QTextFormat.FormatType.TableFormat
TableHeaderRowCountPySide2.QtGui.QTextFormat.Property.TableHeaderRowCount
TableObjectPySide2.QtGui.QTextFormat.ObjectTypes.TableObject
TabPositionsPySide2.QtGui.QTextFormat.Property.TabPositions
TextIndentPySide2.QtGui.QTextFormat.Property.TextIndent
TextOutlinePySide2.QtGui.QTextFormat.Property.TextOutline
TextToolTipPySide2.QtGui.QTextFormat.Property.TextToolTip
TextUnderlineColorPySide2.QtGui.QTextFormat.Property.TextUnderlineColor
TextUnderlineStylePySide2.QtGui.QTextFormat.Property.TextUnderlineStyle
TextVerticalAlignmentPySide2.QtGui.QTextFormat.Property.TextVerticalAlignment
UserFormatPySide2.QtGui.QTextFormat.FormatType.UserFormat
UserObjectPySide2.QtGui.QTextFormat.ObjectTypes.UserObject
UserPropertyPySide2.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__(self) __copy__(self) [extrait de __copy__.__doc__]
border(self) -> float border(self) -> float [extrait de border.__doc__]
borderBrush(self) -> PySide2.QtGui.QBrush borderBrush(self) -> PySide2.QtGui.QBrush [extrait de borderBrush.__doc__]
BorderStyle
borderStyle(self) -> PySide2.QtGui.QTextFrameFormat.BorderStyle borderStyle(self) -> PySide2.QtGui.QTextFrameFormat.BorderStyle [extrait de borderStyle.__doc__]
bottomMargin(self) -> float bottomMargin(self) -> float [extrait de bottomMargin.__doc__]
height(self) -> PySide2.QtGui.QTextLength height(self) -> PySide2.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) -> PySide2.QtGui.QTextFormat.PageBreakFlags pageBreakPolicy(self) -> PySide2.QtGui.QTextFormat.PageBreakFlags [extrait de pageBreakPolicy.__doc__]
Position
position(self) -> PySide2.QtGui.QTextFrameFormat.Position position(self) -> PySide2.QtGui.QTextFrameFormat.Position [extrait de position.__doc__]
rightMargin(self) -> float rightMargin(self) -> float [extrait de rightMargin.__doc__]
setBorder(self, border: float) setBorder(self, border: float) [extrait de setBorder.__doc__]
setBorderBrush(self, brush: PySide2.QtGui.QBrush) setBorderBrush(self, brush: PySide2.QtGui.QBrush) [extrait de setBorderBrush.__doc__]
setBorderStyle(self, style: PySide2.QtGui.QTextFrameFormat.BorderStyle) setBorderStyle(self, style: PySide2.QtGui.QTextFrameFormat.BorderStyle) [extrait de setBorderStyle.__doc__]
setBottomMargin(self, margin: float) setBottomMargin(self, margin: float) [extrait de setBottomMargin.__doc__]
setHeight setHeight(self, height: PySide2.QtGui.QTextLength) [extrait de setHeight.__doc__]
setLeftMargin(self, margin: float) setLeftMargin(self, margin: float) [extrait de setLeftMargin.__doc__]
setMargin(self, margin: float) setMargin(self, margin: float) [extrait de setMargin.__doc__]
setPadding(self, padding: float) setPadding(self, padding: float) [extrait de setPadding.__doc__]
setPageBreakPolicy(self, flags: PySide2.QtGui.QTextFormat.PageBreakFlags) setPageBreakPolicy(self, flags: PySide2.QtGui.QTextFormat.PageBreakFlags) [extrait de setPageBreakPolicy.__doc__]
setPosition(self, f: PySide2.QtGui.QTextFrameFormat.Position) setPosition(self, f: PySide2.QtGui.QTextFrameFormat.Position) [extrait de setPosition.__doc__]
setRightMargin(self, margin: float) setRightMargin(self, margin: float) [extrait de setRightMargin.__doc__]
setTopMargin(self, margin: float) setTopMargin(self, margin: float) [extrait de setTopMargin.__doc__]
setWidth setWidth(self, length: PySide2.QtGui.QTextLength) [extrait de setWidth.__doc__]
topMargin(self) -> float topMargin(self) -> float [extrait de topMargin.__doc__]
width(self) -> PySide2.QtGui.QTextLength width(self) -> PySide2.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

__init_subclass__, __subclasshook__

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

__delattr__, __dir__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__