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 « QTextBlockFormat »

Informations générales

Héritage

builtins.object
    Object
        QTextFormat
            QTextBlockFormat

Définition

class QTextBlockFormat(QTextFormat):

Description [extrait de QTextBlockFormat.__doc__]

QTextBlockFormat(self) -> None
QTextBlockFormat(self, QTextBlockFormat: PySide6.QtGui.QTextBlockFormat) -> None
QTextBlockFormat(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
CharFormatPySide6.QtGui.QTextFormat.FormatType.CharFormat
CssFloatPySide6.QtGui.QTextFormat.Property.CssFloat
FirstFontPropertyPySide6.QtGui.QTextFormat.Property.FirstFontProperty
FixedHeightPySide6.QtGui.QTextBlockFormat.LineHeightTypes.FixedHeight
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
InvalidFormatPySide6.QtGui.QTextFormat.FormatType.InvalidFormat
IsAnchorPySide6.QtGui.QTextFormat.Property.IsAnchor
LastFontPropertyPySide6.QtGui.QTextFormat.Property.LastFontProperty
LayoutDirectionPySide6.QtGui.QTextFormat.Property.LayoutDirection
LineDistanceHeightPySide6.QtGui.QTextBlockFormat.LineHeightTypes.LineDistanceHeight
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
MinimumHeightPySide6.QtGui.QTextBlockFormat.LineHeightTypes.MinimumHeight
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
ProportionalHeightPySide6.QtGui.QTextBlockFormat.LineHeightTypes.ProportionalHeight
SingleHeightPySide6.QtGui.QTextBlockFormat.LineHeightTypes.SingleHeight
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__]
alignment(self) -> PySide6.QtCore.Qt.Alignment alignment(self) -> PySide6.QtCore.Qt.Alignment [extrait de alignment.__doc__]
bottomMargin(self) -> float bottomMargin(self) -> float [extrait de bottomMargin.__doc__]
headingLevel(self) -> int headingLevel(self) -> int [extrait de headingLevel.__doc__]
indent(self) -> int indent(self) -> int [extrait de indent.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
leftMargin(self) -> float leftMargin(self) -> float [extrait de leftMargin.__doc__]
lineHeight lineHeight(self) -> float [extrait de lineHeight.__doc__]
lineHeightType(self) -> int lineHeightType(self) -> int [extrait de lineHeightType.__doc__]
LineHeightTypes
marker(self) -> PySide6.QtGui.QTextBlockFormat.MarkerType marker(self) -> PySide6.QtGui.QTextBlockFormat.MarkerType [extrait de marker.__doc__]
MarkerType
nonBreakableLines(self) -> bool nonBreakableLines(self) -> bool [extrait de nonBreakableLines.__doc__]
pageBreakPolicy(self) -> PySide6.QtGui.QTextFormat.PageBreakFlags pageBreakPolicy(self) -> PySide6.QtGui.QTextFormat.PageBreakFlags [extrait de pageBreakPolicy.__doc__]
rightMargin(self) -> float rightMargin(self) -> float [extrait de rightMargin.__doc__]
setAlignment(self, alignment: PySide6.QtCore.Qt.Alignment) -> None setAlignment(self, alignment: PySide6.QtCore.Qt.Alignment) -> None [extrait de setAlignment.__doc__]
setBottomMargin(self, margin: float) -> None setBottomMargin(self, margin: float) -> None [extrait de setBottomMargin.__doc__]
setHeadingLevel(self, alevel: int) -> None setHeadingLevel(self, alevel: int) -> None [extrait de setHeadingLevel.__doc__]
setIndent(self, indent: int) -> None setIndent(self, indent: int) -> None [extrait de setIndent.__doc__]
setLeftMargin(self, margin: float) -> None setLeftMargin(self, margin: float) -> None [extrait de setLeftMargin.__doc__]
setLineHeight(self, height: float, heightType: int) -> None setLineHeight(self, height: float, heightType: int) -> None [extrait de setLineHeight.__doc__]
setMarker(self, marker: PySide6.QtGui.QTextBlockFormat.MarkerType) -> None setMarker(self, marker: PySide6.QtGui.QTextBlockFormat.MarkerType) -> None [extrait de setMarker.__doc__]
setNonBreakableLines(self, b: bool) -> None setNonBreakableLines(self, b: bool) -> None [extrait de setNonBreakableLines.__doc__]
setPageBreakPolicy(self, flags: PySide6.QtGui.QTextFormat.PageBreakFlags) -> None setPageBreakPolicy(self, flags: PySide6.QtGui.QTextFormat.PageBreakFlags) -> None [extrait de setPageBreakPolicy.__doc__]
setRightMargin(self, margin: float) -> None setRightMargin(self, margin: float) -> None [extrait de setRightMargin.__doc__]
setTabPositions(self, tabs: Sequence[PySide6.QtGui.QTextOption.Tab]) -> None setTabPositions(self, tabs: Sequence[PySide6.QtGui.QTextOption.Tab]) -> None [extrait de setTabPositions.__doc__]
setTextIndent(self, aindent: float) -> None setTextIndent(self, aindent: float) -> None [extrait de setTextIndent.__doc__]
setTopMargin(self, margin: float) -> None setTopMargin(self, margin: float) -> None [extrait de setTopMargin.__doc__]
tabPositions(self) -> List[PySide6.QtGui.QTextOption.Tab] tabPositions(self) -> List[PySide6.QtGui.QTextOption.Tab] [extrait de tabPositions.__doc__]
textIndent(self) -> float textIndent(self) -> float [extrait de textIndent.__doc__]
topMargin(self) -> float topMargin(self) -> float [extrait de topMargin.__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__