PythonQt.Qt.QTextDocument · declarations 001
Back to PythonQt.Qt.QTextDocument
baseUrlChanged
baseUrlChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.baseUrlChanged; argument details are not documented.
blockCountChanged
blockCountChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.blockCountChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::blockCountChanged(int newBlockCount)
This signal is emitted when the total number of text blocks in the document changes. The value passed in newBlockCount is the new total.
This function was introduced in Qt 4.3.
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#blockCountChanged
contentsChange
contentsChange(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.contentsChange; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::contentsChange(int position, int charsRemoved, int charsAdded)
This signal is emitted whenever the document's content changes; for example, when text is inserted or deleted, or when formatting is applied.
Information is provided about the position of the character in the document where the change occurred, the number of characters removed (charsRemoved), and the number of characters added (charsAdded).
The signal is emitted before the document's layout manager is notified about the change. This hook allows you to implement syntax highlighting for the document.
See also QAbstractTextDocumentLayout::documentChanged() and contentsChanged().
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#contentsChange
contentsChanged
contentsChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.contentsChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::contentsChanged()
This signal is emitted whenever the document's content changes; for example, when text is inserted or deleted, or when formatting is applied.
See also contentsChange().
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#contentsChanged
cursorPositionChanged
cursorPositionChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.cursorPositionChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::cursorPositionChanged(const QTextCursor \&cursor)
This signal is emitted whenever the position of a cursor changed due to an editing operation. The cursor that changed is passed in cursor. If the document is used with the QTextEdit class and you need a signal when the cursor is moved with the arrow keys you can use the cursorPositionChanged() signal in QTextEdit.
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#cursorPositionChanged
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.destroyed; argument details are not documented.
documentLayoutChanged
documentLayoutChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.documentLayoutChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::documentLayoutChanged()
This signal is emitted when a new document layout is set.
This function was introduced in Qt 4.4.
See also setDocumentLayout().
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#documentLayoutChanged
modificationChanged
modificationChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.modificationChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::modificationChanged(bool changed)
This signal is emitted whenever the content of the document changes in a way that affects the modification state. If changed is true, the document has been modified; otherwise it is false.
For example, calling setModified(false) on a document and then inserting text causes the signal to get emitted. If you undo that operation, causing the document to return to its original unmodified state, the signal will get emitted again.
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#modificationChanged
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.objectNameChanged; argument details are not documented.
redoAvailable
redoAvailable(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.redoAvailable; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::redoAvailable(bool available)
This signal is emitted whenever redo operations become available (available is true) or unavailable (available is false).
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#redoAvailable
undoAvailable
undoAvailable(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.undoAvailable; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::undoAvailable(bool available)
This signal is emitted whenever undo operations become available (available is true) or unavailable (available is false).
See the Qt Undo Framework documentation for details.
See also undo() and isUndoRedoEnabled().
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#undoAvailable
undoCommandAdded
undoCommandAdded(*args: Any, **kwargs: Any) -> Any
Native PythonQt.Qt.QTextDocument.undoCommandAdded; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTextDocument::undoCommandAdded()
This signal is emitted every time a new level of undo is added to the QTextDocument.
This function was introduced in Qt 4.4.
Source: https://doc.qt.io/archives/qt-5.15/qtextdocument.html#undoCommandAdded