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

Informations générales

Héritage

builtins.object
    Object
        QTextFormat
            QTextCharFormat
                QTextImageFormat

Définition

class QTextImageFormat(QTextCharFormat):

Description [extrait de QTextImageFormat.__doc__]

QTextImageFormat(self)
QTextImageFormat(self, QTextImageFormat: PySide2.QtGui.QTextImageFormat)
QTextImageFormat(self, format: 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
AlignBaselinePySide2.QtGui.QTextCharFormat.VerticalAlignment.AlignBaseline
AlignBottomPySide2.QtGui.QTextCharFormat.VerticalAlignment.AlignBottom
AlignMiddlePySide2.QtGui.QTextCharFormat.VerticalAlignment.AlignMiddle
AlignNormalPySide2.QtGui.QTextCharFormat.VerticalAlignment.AlignNormal
AlignSubScriptPySide2.QtGui.QTextCharFormat.VerticalAlignment.AlignSubScript
AlignSuperScriptPySide2.QtGui.QTextCharFormat.VerticalAlignment.AlignSuperScript
AlignTopPySide2.QtGui.QTextCharFormat.VerticalAlignment.AlignTop
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
CharFormatPySide2.QtGui.QTextFormat.FormatType.CharFormat
CssFloatPySide2.QtGui.QTextFormat.Property.CssFloat
DashDotDotLinePySide2.QtGui.QTextCharFormat.UnderlineStyle.DashDotDotLine
DashDotLinePySide2.QtGui.QTextCharFormat.UnderlineStyle.DashDotLine
DashUnderlinePySide2.QtGui.QTextCharFormat.UnderlineStyle.DashUnderline
DotLinePySide2.QtGui.QTextCharFormat.UnderlineStyle.DotLine
FirstFontPropertyPySide2.QtGui.QTextFormat.Property.FirstFontProperty
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
FontPropertiesAllPySide2.QtGui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesAll
FontPropertiesSpecifiedOnlyPySide2.QtGui.QTextCharFormat.FontPropertiesInheritanceBehavior.FontPropertiesSpecifiedOnly
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
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
NoUnderlinePySide2.QtGui.QTextCharFormat.UnderlineStyle.NoUnderline
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
SingleUnderlinePySide2.QtGui.QTextCharFormat.UnderlineStyle.SingleUnderline
SpellCheckUnderlinePySide2.QtGui.QTextCharFormat.UnderlineStyle.SpellCheckUnderline
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
WaveUnderlinePySide2.QtGui.QTextCharFormat.UnderlineStyle.WaveUnderline

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__]
height(self) -> float height(self) -> float [extrait de height.__doc__]
isValid(self) -> bool isValid(self) -> bool [extrait de isValid.__doc__]
name(self) -> str name(self) -> str [extrait de name.__doc__]
quality(self) -> int quality(self) -> int [extrait de quality.__doc__]
setHeight(self, height: float) setHeight(self, height: float) [extrait de setHeight.__doc__]
setName(self, name: str) setName(self, name: str) [extrait de setName.__doc__]
setQuality(self, quality: int = 100) setQuality(self, quality: int = 100) [extrait de setQuality.__doc__]
setWidth(self, width: float) setWidth(self, width: float) [extrait de setWidth.__doc__]
width(self) -> float width(self) -> float [extrait de width.__doc__]

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

__init_subclass__, __subclasshook__, anchorHref, anchorName, anchorNames, font, fontCapitalization, fontFamilies, fontFamily, fontFixedPitch, fontHintingPreference, fontItalic, fontKerning, fontLetterSpacing, fontLetterSpacingType, fontOverline, fontPointSize, FontPropertiesInheritanceBehavior, fontStretch, fontStrikeOut, fontStyleHint, fontStyleName, fontStyleStrategy, fontUnderline, fontWeight, fontWordSpacing, isAnchor, setAnchor, setAnchorHref, setAnchorName, setAnchorNames, setFont, setFontCapitalization, setFontFamilies, setFontFamily, setFontFixedPitch, setFontHintingPreference, setFontItalic, setFontKerning, setFontLetterSpacing, setFontLetterSpacingType, setFontOverline, setFontPointSize, setFontStretch, setFontStrikeOut, setFontStyleHint, setFontStyleName, setFontStyleStrategy, setFontUnderline, setFontWeight, setFontWordSpacing, setTableCellColumnSpan, setTableCellRowSpan, setTextOutline, setToolTip, setUnderlineColor, setUnderlineStyle, setVerticalAlignment, tableCellColumnSpan, tableCellRowSpan, textOutline, toolTip, underlineColor, UnderlineStyle, underlineStyle, VerticalAlignment, verticalAlignment

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__