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

Informations générales

Héritage

builtins.object
    Object
        QObject
            QAbstractTextDocumentLayout

Définition

class QAbstractTextDocumentLayout(QObject):

Description [extrait de QAbstractTextDocumentLayout.__doc__]

QAbstractTextDocumentLayout(self, doc: PySide2.QtGui.QTextDocument)

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
staticMetaObject<PySide2.QtCore.QMetaObject object at 0x7efe36ab7100>

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__]
anchorAt(self, pos: PySide2.QtCore.QPointF) -> str anchorAt(self, pos: PySide2.QtCore.QPointF) -> str [extrait de anchorAt.__doc__]
blockBoundingRect(self, block: PySide2.QtGui.QTextBlock) -> PySide2.QtCore.QRectF blockBoundingRect(self, block: PySide2.QtGui.QTextBlock) -> PySide2.QtCore.QRectF [extrait de blockBoundingRect.__doc__]
blockWithMarkerAt(self, pos: PySide2.QtCore.QPointF) -> PySide2.QtGui.QTextBlock blockWithMarkerAt(self, pos: PySide2.QtCore.QPointF) -> PySide2.QtGui.QTextBlock [extrait de blockWithMarkerAt.__doc__]
destroyed
document(self) -> PySide2.QtGui.QTextDocument document(self) -> PySide2.QtGui.QTextDocument [extrait de document.__doc__]
documentChanged(self, from_: int, charsRemoved: int, charsAdded: int) documentChanged(self, from_: int, charsRemoved: int, charsAdded: int) [extrait de documentChanged.__doc__]
documentSize(self) -> PySide2.QtCore.QSizeF documentSize(self) -> PySide2.QtCore.QSizeF [extrait de documentSize.__doc__]
documentSizeChanged
draw(self, painter: PySide2.QtGui.QPainter, context: PySide2.QtGui.QAbstractTextDocumentLayout.PaintContext) draw(self, painter: PySide2.QtGui.QPainter, context: PySide2.QtGui.QAbstractTextDocumentLayout.PaintContext) [extrait de draw.__doc__]
drawInlineObject(self, painter: PySide2.QtGui.QPainter, rect: PySide2.QtCore.QRectF, object: PySide2.QtGui.QTextInlineObject, posInDocument: int, format: PySide2.QtGui.QTextFormat) drawInlineObject(self, painter: PySide2.QtGui.QPainter, rect: PySide2.QtCore.QRectF, object: PySide2.QtGui.QTextInlineObject, posInDocument: int, format: PySide2.QtGui.QTextFormat) [extrait de drawInlineObject.__doc__]
format(self, pos: int) -> PySide2.QtGui.QTextCharFormat format(self, pos: int) -> PySide2.QtGui.QTextCharFormat [extrait de format.__doc__]
formatAt(self, pos: PySide2.QtCore.QPointF) -> PySide2.QtGui.QTextFormat formatAt(self, pos: PySide2.QtCore.QPointF) -> PySide2.QtGui.QTextFormat [extrait de formatAt.__doc__]
formatIndex(self, pos: int) -> int formatIndex(self, pos: int) -> int [extrait de formatIndex.__doc__]
frameBoundingRect(self, frame: PySide2.QtGui.QTextFrame) -> PySide2.QtCore.QRectF frameBoundingRect(self, frame: PySide2.QtGui.QTextFrame) -> PySide2.QtCore.QRectF [extrait de frameBoundingRect.__doc__]
handlerForObject(self, objectType: int) -> PySide2.QtGui.QTextObjectInterface handlerForObject(self, objectType: int) -> PySide2.QtGui.QTextObjectInterface [extrait de handlerForObject.__doc__]
hitTest(self, point: PySide2.QtCore.QPointF, accuracy: PySide2.QtCore.Qt.HitTestAccuracy) -> int hitTest(self, point: PySide2.QtCore.QPointF, accuracy: PySide2.QtCore.Qt.HitTestAccuracy) -> int [extrait de hitTest.__doc__]
imageAt(self, pos: PySide2.QtCore.QPointF) -> str imageAt(self, pos: PySide2.QtCore.QPointF) -> str [extrait de imageAt.__doc__]
objectNameChanged
pageCount(self) -> int pageCount(self) -> int [extrait de pageCount.__doc__]
pageCountChanged
PaintContext PaintContext(self) [extrait de PaintContext.__doc__]
paintDevice(self) -> PySide2.QtGui.QPaintDevice paintDevice(self) -> PySide2.QtGui.QPaintDevice [extrait de paintDevice.__doc__]
positionInlineObject(self, item: PySide2.QtGui.QTextInlineObject, posInDocument: int, format: PySide2.QtGui.QTextFormat) positionInlineObject(self, item: PySide2.QtGui.QTextInlineObject, posInDocument: int, format: PySide2.QtGui.QTextFormat) [extrait de positionInlineObject.__doc__]
registerHandler(self, objectType: int, component: PySide2.QtCore.QObject) registerHandler(self, objectType: int, component: PySide2.QtCore.QObject) [extrait de registerHandler.__doc__]
resizeInlineObject(self, item: PySide2.QtGui.QTextInlineObject, posInDocument: int, format: PySide2.QtGui.QTextFormat) resizeInlineObject(self, item: PySide2.QtGui.QTextInlineObject, posInDocument: int, format: PySide2.QtGui.QTextFormat) [extrait de resizeInlineObject.__doc__]
Selection Selection(self) [extrait de Selection.__doc__]
setPaintDevice(self, device: PySide2.QtGui.QPaintDevice) setPaintDevice(self, device: PySide2.QtGui.QPaintDevice) [extrait de setPaintDevice.__doc__]
unregisterHandler(self, objectType: int, component: typing.Union[PySide2.QtCore.QObject, NoneType] = None) unregisterHandler(self, objectType: int, component: typing.Union[PySide2.QtCore.QObject, NoneType] = None) [extrait de unregisterHandler.__doc__]
update
updateBlock

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, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, registerUserData, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent, tr

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

__init_subclass__, __subclasshook__

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

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