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.QtWidgets »

Classe « QTextBrowser »

Informations générales

Héritage

builtins.object
    Object
        QPaintDevice
builtins.object
    Object
        QObject
            QWidget
                QFrame
                    QAbstractScrollArea
                        QTextEdit
                            QTextBrowser

Définition

class QTextBrowser(QTextEdit):

Description [extrait de QTextBrowser.__doc__]

QTextBrowser(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> 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__]
__init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None __init__(self, parent: Optional[PySide6.QtWidgets.QWidget] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AdjustIgnoredPySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustIgnored
AdjustToContentsPySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContents
AdjustToContentsOnFirstShowPySide6.QtWidgets.QAbstractScrollArea.SizeAdjustPolicy.AdjustToContentsOnFirstShow
AutoAllPySide6.QtWidgets.QTextEdit.AutoFormattingFlag.AutoAll
AutoBulletListPySide6.QtWidgets.QTextEdit.AutoFormattingFlag.AutoBulletList
AutoNonePySide6.QtWidgets.QTextEdit.AutoFormattingFlag.AutoNone
BoxPySide6.QtWidgets.QFrame.Shape.Box
DrawChildrenPySide6.QtWidgets.QWidget.RenderFlag.DrawChildren
DrawWindowBackgroundPySide6.QtWidgets.QWidget.RenderFlag.DrawWindowBackground
FixedColumnWidthPySide6.QtWidgets.QTextEdit.LineWrapMode.FixedColumnWidth
FixedPixelWidthPySide6.QtWidgets.QTextEdit.LineWrapMode.FixedPixelWidth
HLinePySide6.QtWidgets.QFrame.Shape.HLine
IgnoreMaskPySide6.QtWidgets.QWidget.RenderFlag.IgnoreMask
NoFramePySide6.QtWidgets.QFrame.Shape.NoFrame
NoWrapPySide6.QtWidgets.QTextEdit.LineWrapMode.NoWrap
PanelPySide6.QtWidgets.QFrame.Shape.Panel
PdmDepthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDepth
PdmDevicePixelRatioPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatio
PdmDevicePixelRatioScaledPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDevicePixelRatioScaled
PdmDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiX
PdmDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmDpiY
PdmHeightPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeight
PdmHeightMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmHeightMM
PdmNumColorsPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmNumColors
PdmPhysicalDpiXPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiX
PdmPhysicalDpiYPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmPhysicalDpiY
PdmWidthPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidth
PdmWidthMMPySide6.QtGui.QPaintDevice.PaintDeviceMetric.PdmWidthMM
PlainPySide6.QtWidgets.QFrame.Shadow.Plain
RaisedPySide6.QtWidgets.QFrame.Shadow.Raised
Shadow_MaskPySide6.QtWidgets.QFrame.StyleMask.Shadow_Mask
Shape_MaskPySide6.QtWidgets.QFrame.StyleMask.Shape_Mask
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40e25ea880>
StyledPanelPySide6.QtWidgets.QFrame.Shape.StyledPanel
SunkenPySide6.QtWidgets.QFrame.Shadow.Sunken
VLinePySide6.QtWidgets.QFrame.Shape.VLine
WidgetWidthPySide6.QtWidgets.QTextEdit.LineWrapMode.WidgetWidth
WinPanelPySide6.QtWidgets.QFrame.Shape.WinPanel

Attributs statiques hérités de la classe QPaintDevice

painters

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
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
anchorClicked
backward(self) -> None backward(self) -> None [extrait de backward.__doc__]
backwardAvailable
backwardHistoryCount(self) -> int backwardHistoryCount(self) -> int [extrait de backwardHistoryCount.__doc__]
clearHistory(self) -> None clearHistory(self) -> None [extrait de clearHistory.__doc__]
copyAvailable
currentCharFormatChanged
cursorPositionChanged
customContextMenuRequested
destroyed
doSetSource(self, name: Union[PySide6.QtCore.QUrl, str], type: PySide6.QtGui.QTextDocument.ResourceType = PySide6.QtGui.QTextDocument.ResourceType.UnknownResource) -> None doSetSource(self, name: Union[PySide6.QtCore.QUrl, str], type: PySide6.QtGui.QTextDocument.ResourceType = PySide6.QtGui.QTextDocument.ResourceType.UnknownResource) -> None [extrait de doSetSource.__doc__]
event(self, e: PySide6.QtCore.QEvent) -> bool event(self, e: PySide6.QtCore.QEvent) -> bool [extrait de event.__doc__]
focusNextPrevChild(self, next: bool) -> bool focusNextPrevChild(self, next: bool) -> bool [extrait de focusNextPrevChild.__doc__]
focusOutEvent(self, ev: PySide6.QtGui.QFocusEvent) -> None focusOutEvent(self, ev: PySide6.QtGui.QFocusEvent) -> None [extrait de focusOutEvent.__doc__]
forward(self) -> None forward(self) -> None [extrait de forward.__doc__]
forwardAvailable
forwardHistoryCount(self) -> int forwardHistoryCount(self) -> int [extrait de forwardHistoryCount.__doc__]
highlighted
historyChanged
historyTitle(self, arg__1: int) -> str historyTitle(self, arg__1: int) -> str [extrait de historyTitle.__doc__]
historyUrl(self, arg__1: int) -> PySide6.QtCore.QUrl historyUrl(self, arg__1: int) -> PySide6.QtCore.QUrl [extrait de historyUrl.__doc__]
home(self) -> None home(self) -> None [extrait de home.__doc__]
isBackwardAvailable(self) -> bool isBackwardAvailable(self) -> bool [extrait de isBackwardAvailable.__doc__]
isForwardAvailable(self) -> bool isForwardAvailable(self) -> bool [extrait de isForwardAvailable.__doc__]
keyPressEvent(self, ev: PySide6.QtGui.QKeyEvent) -> None keyPressEvent(self, ev: PySide6.QtGui.QKeyEvent) -> None [extrait de keyPressEvent.__doc__]
loadResource(self, type: int, name: Union[PySide6.QtCore.QUrl, str]) -> Any loadResource(self, type: int, name: Union[PySide6.QtCore.QUrl, str]) -> Any [extrait de loadResource.__doc__]
mouseMoveEvent(self, ev: PySide6.QtGui.QMouseEvent) -> None mouseMoveEvent(self, ev: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseMoveEvent.__doc__]
mousePressEvent(self, ev: PySide6.QtGui.QMouseEvent) -> None mousePressEvent(self, ev: PySide6.QtGui.QMouseEvent) -> None [extrait de mousePressEvent.__doc__]
mouseReleaseEvent(self, ev: PySide6.QtGui.QMouseEvent) -> None mouseReleaseEvent(self, ev: PySide6.QtGui.QMouseEvent) -> None [extrait de mouseReleaseEvent.__doc__]
objectNameChanged
openExternalLinks(self) -> bool openExternalLinks(self) -> bool [extrait de openExternalLinks.__doc__]
openLinks(self) -> bool openLinks(self) -> bool [extrait de openLinks.__doc__]
paintEvent(self, e: PySide6.QtGui.QPaintEvent) -> None paintEvent(self, e: PySide6.QtGui.QPaintEvent) -> None [extrait de paintEvent.__doc__]
redoAvailable
reload(self) -> None reload(self) -> None [extrait de reload.__doc__]
searchPaths(self) -> List[str] searchPaths(self) -> List[str] [extrait de searchPaths.__doc__]
selectionChanged
setOpenExternalLinks(self, open: bool) -> None setOpenExternalLinks(self, open: bool) -> None [extrait de setOpenExternalLinks.__doc__]
setOpenLinks(self, open: bool) -> None setOpenLinks(self, open: bool) -> None [extrait de setOpenLinks.__doc__]
setSearchPaths(self, paths: Sequence[str]) -> None setSearchPaths(self, paths: Sequence[str]) -> None [extrait de setSearchPaths.__doc__]
setSource(self, name: Union[PySide6.QtCore.QUrl, str], type: PySide6.QtGui.QTextDocument.ResourceType = PySide6.QtGui.QTextDocument.ResourceType.UnknownResource) -> None setSource(self, name: Union[PySide6.QtCore.QUrl, str], type: PySide6.QtGui.QTextDocument.ResourceType = PySide6.QtGui.QTextDocument.ResourceType.UnknownResource) -> None [extrait de setSource.__doc__]
source(self) -> PySide6.QtCore.QUrl source(self) -> PySide6.QtCore.QUrl [extrait de source.__doc__]
sourceChanged
sourceType(self) -> PySide6.QtGui.QTextDocument.ResourceType sourceType(self) -> PySide6.QtGui.QTextDocument.ResourceType [extrait de sourceType.__doc__]
textChanged
tr
undoAvailable
windowIconChanged
windowIconTextChanged
windowTitleChanged

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

__init_subclass__, __subclasshook__, acceptRichText, alignment, anchorAt, append, AutoFormatting, autoFormatting, AutoFormattingFlag, canInsertFromMimeData, canPaste, changeEvent, clear, contextMenuEvent, copy, createMimeDataFromSelection, createStandardContextMenu, currentCharFormat, currentFont, cursorForPosition, cursorRect, cursorWidth, cut, document, documentTitle, doSetTextCursor, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, ensureCursorVisible, ExtraSelection, extraSelections, find, focusInEvent, fontFamily, fontItalic, fontPointSize, fontUnderline, fontWeight, inputMethodEvent, inputMethodQuery, insertFromMimeData, insertHtml, insertPlainText, isReadOnly, isUndoRedoEnabled, keyReleaseEvent, lineWrapColumnOrWidth, LineWrapMode, lineWrapMode, mergeCurrentCharFormat, mouseDoubleClickEvent, moveCursor, overwriteMode, paste, placeholderText, print_, redo, resizeEvent, scrollContentsBy, scrollToAnchor, selectAll, setAcceptRichText, setAlignment, setAutoFormatting, setCurrentCharFormat, setCurrentFont, setCursorWidth, setDocument, setDocumentTitle, setExtraSelections, setFontFamily, setFontItalic, setFontPointSize, setFontUnderline, setFontWeight, setHtml, setLineWrapColumnOrWidth, setLineWrapMode, setMarkdown, setOverwriteMode, setPlaceholderText, setPlainText, setReadOnly, setTabChangesFocus, setTabStopDistance, setText, setTextBackgroundColor, setTextColor, setTextCursor, setTextInteractionFlags, setUndoRedoEnabled, setWordWrapMode, showEvent, tabChangesFocus, tabStopDistance, textBackgroundColor, textColor, textCursor, textInteractionFlags, timerEvent, toHtml, toMarkdown, toPlainText, undo, wheelEvent, wordWrapMode, zoomIn, zoomInF, zoomOut

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

__init_subclass__, __subclasshook__, addScrollBarWidget, contextMenuEvent, cornerWidget, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, eventFilter, horizontalScrollBar, horizontalScrollBarPolicy, maximumViewportSize, minimumSizeHint, mouseDoubleClickEvent, resizeEvent, scrollBarWidgets, scrollContentsBy, setCornerWidget, setHorizontalScrollBar, setHorizontalScrollBarPolicy, setSizeAdjustPolicy, setupViewport, setVerticalScrollBar, setVerticalScrollBarPolicy, setViewport, setViewportMargins, SizeAdjustPolicy, sizeAdjustPolicy, sizeHint, verticalScrollBar, verticalScrollBarPolicy, viewport, viewportEvent, viewportMargins, viewportSizeHint, wheelEvent

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

__init_subclass__, __subclasshook__, changeEvent, drawFrame, frameRect, frameShadow, frameShape, frameStyle, frameWidth, initStyleOption, lineWidth, midLineWidth, setFrameRect, setFrameShadow, setFrameShape, setFrameStyle, setLineWidth, setMidLineWidth, Shadow, Shape, sizeHint, StyleMask

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

__init_subclass__, __repr__, __subclasshook__, acceptDrops, accessibleDescription, accessibleName, actionEvent, actions, activateWindow, addAction, addActions, adjustSize, autoFillBackground, backgroundRole, backingStore, baseSize, changeEvent, childAt, childrenRect, childrenRegion, clearFocus, clearMask, close, closeEvent, contentsMargins, contentsRect, contextMenuEvent, contextMenuPolicy, create, createWindowContainer, createWinId, cursor, destroy, devType, dragEnterEvent, dragLeaveEvent, dragMoveEvent, dropEvent, effectiveWinId, ensurePolished, enterEvent, find, focusInEvent, focusNextChild, focusPolicy, focusPreviousChild, focusProxy, focusWidget, font, fontInfo, fontMetrics, foregroundRole, frameGeometry, frameSize, geometry, grab, grabGesture, grabKeyboard, grabMouse, grabShortcut, graphicsEffect, graphicsProxyWidget, hasFocus, hasHeightForWidth, hasMouseTracking, hasTabletTracking, height, heightForWidth, hide, hideEvent, initPainter, inputMethodEvent, inputMethodHints, inputMethodQuery, insertAction, insertActions, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, keyReleaseEvent, layout, layoutDirection, leaveEvent, locale, lower, mapFrom, mapFromGlobal, mapFromParent, mapTo, mapToGlobal, mapToParent, mask, maximumHeight, maximumSize, maximumWidth, metric, minimumHeight, minimumSize, minimumSizeHint, minimumWidth, mouseDoubleClickEvent, mouseGrabber, move, moveEvent, nativeEvent, nativeParentWidget, nextInFocusChain, normalGeometry, overrideWindowFlags, overrideWindowState, paintEngine, palette, parentWidget, pos, previousInFocusChain, raise_, rect, redirected, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, RenderFlag, RenderFlags, repaint, resize, resizeEvent, restoreGeometry, saveGeometry, screen, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAutoFillBackground, setBackgroundRole, setBaseSize, setContentsMargins, setContextMenuPolicy, setCursor, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedWidth, setFocus, setFocusPolicy, setFocusProxy, setFont, setForegroundRole, setGeometry, setGraphicsEffect, setHidden, setInputMethodHints, setLayout, setLayoutDirection, setLocale, setMask, setMaximumHeight, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumWidth, setMouseTracking, setPalette, setParent, setScreen, setShortcutAutoRepeat, setShortcutEnabled, setSizeIncrement, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setVisible, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowState, setWindowTitle, sharedPainter, show, showEvent, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeHint, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, tabletEvent, testAttribute, toolTip, toolTipDuration, topLevelWidget, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, updateGeometry, updateMicroFocus, updatesEnabled, visibleRegion, whatsThis, wheelEvent, width, window, windowFilePath, windowFlags, windowHandle, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowState, windowTitle, windowType, winId, x, y

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

__init_subclass__, __subclasshook__, colorCount, depth, devicePixelRatio, devicePixelRatioF, devicePixelRatioFScale, devType, height, heightMM, initPainter, logicalDpiX, logicalDpiY, metric, PaintDeviceMetric, paintEngine, paintingActive, physicalDpiX, physicalDpiY, redirected, sharedPainter, width, widthMM

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

__getattribute__, __init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

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

__getattribute__, __init_subclass__, __subclasshook__

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

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