Notation used in Ruby API documentation
Module: QtGui
Description: Binding of QTextDocument
Class hierarchy: QTextDocument » QObject
Sub-classes: FindFlag, QFlags_FindFlag, MetaInformation, QFlags_MetaInformation
new QTextDocument | new | (QObject ptr parent = 0) | Constructor QTextDocument::QTextDocument(QObject *parent) |
new QTextDocument | new | (string text, QObject ptr parent = 0) | Constructor QTextDocument::QTextDocument(const QString &text, QObject *parent) |
[const] | QTextDocument ptr | _const_cast | Returns a non-const reference to self. | |
void | _create | Ensures the C++ object is created | ||
void | _destroy | Explicitly destroys the object | ||
[const] | bool | _destroyed? | Returns a value indicating whether the object was already destroyed | |
[const] | bool | _is_const_object? | Returns a value indicating whether the reference is a const reference | |
void | _manage | Marks the object as managed by the script side. | ||
void | _unmanage | Marks the object as no longer owned by the script side. | ||
void | addResource | (int type, const QUrl name, variant resource) | Method void QTextDocument::addResource(int type, const QUrl &name, const QVariant &resource) | |
void | adjustSize | Method void QTextDocument::adjustSize() | ||
[const] | QTextFormat[] | allFormats | Method QVector<QTextFormat> QTextDocument::allFormats() | |
[const] | int | availableRedoSteps | Method int QTextDocument::availableRedoSteps() | |
[const] | int | availableUndoSteps | Method int QTextDocument::availableUndoSteps() | |
[const] | QTextBlock | begin | Method QTextBlock QTextDocument::begin() | |
[const] | int | blockCount | Method int QTextDocument::blockCount() | |
[signal] | void | blockCountChanged | (int newBlockCount) | Signal declaration for QTextDocument::blockCountChanged(int newBlockCount) |
[const] | unsigned int | characterAt | (int pos) | Method QChar QTextDocument::characterAt(int pos) |
[const] | int | characterCount | Method int QTextDocument::characterCount() | |
void | clear | Virtual method void QTextDocument::clear() | ||
[const] | QTextDocument ptr | clone | (QObject ptr parent = 0) | Method QTextDocument *QTextDocument::clone(QObject *parent) |
[signal] | void | contentsChange | (int from, int charsRemoves, int charsAdded) | Signal declaration for QTextDocument::contentsChange(int from, int charsRemoves, int charsAdded) |
[signal] | void | contentsChanged | Signal declaration for QTextDocument::contentsChanged() | |
[signal] | void | cursorPositionChanged | (const QTextCursor cursor) | Signal declaration for QTextDocument::cursorPositionChanged(const QTextCursor &cursor) |
[const] | QFont | defaultFont | Method QFont QTextDocument::defaultFont() | |
void | defaultFont= | (const QFont font) | Method void QTextDocument::setDefaultFont(const QFont &font) | |
[const] | string | defaultStyleSheet | Method QString QTextDocument::defaultStyleSheet() | |
void | defaultStyleSheet= | (string sheet) | Method void QTextDocument::setDefaultStyleSheet(const QString &sheet) | |
[const] | QTextOption | defaultTextOption | Method QTextOption QTextDocument::defaultTextOption() | |
void | defaultTextOption= | (const QTextOption option) | Method void QTextDocument::setDefaultTextOption(const QTextOption &option) | |
[signal] | void | destroyed | (QObject ptr arg1) | Signal declaration for QTextDocument::destroyed(QObject *) |
[const] | QAbstractTextDocumentLayout ptr | documentLayout | Method QAbstractTextDocumentLayout *QTextDocument::documentLayout() | |
void | documentLayout= | (QAbstractTextDocumentLayout ptr layout) | Method void QTextDocument::setDocumentLayout(QAbstractTextDocumentLayout *layout) | |
[signal] | void | documentLayoutChanged | Signal declaration for QTextDocument::documentLayoutChanged() | |
[const] | double | documentMargin | Method double QTextDocument::documentMargin() | |
void | documentMargin= | (double margin) | Method void QTextDocument::setDocumentMargin(double margin) | |
void | drawContents | (QPainter ptr painter, const QRectF rect = QRectF()) | Method void QTextDocument::drawContents(QPainter *painter, const QRectF &rect) | |
void | emit_blockCountChanged | (int newBlockCount) | Emitter for signal void QTextDocument::blockCountChanged(int newBlockCount) | |
void | emit_contentsChange | (int from, int charsRemoves, int charsAdded) | Emitter for signal void QTextDocument::contentsChange(int from, int charsRemoves, int charsAdded) | |
void | emit_contentsChanged | Emitter for signal void QTextDocument::contentsChanged() | ||
void | emit_cursorPositionChanged | (const QTextCursor cursor) | Emitter for signal void QTextDocument::cursorPositionChanged(const QTextCursor &cursor) | |
void | emit_destroyed | (QObject ptr arg1 = 0) | Emitter for signal void QTextDocument::destroyed(QObject *) | |
void | emit_documentLayoutChanged | Emitter for signal void QTextDocument::documentLayoutChanged() | ||
void | emit_modificationChanged | (bool m) | Emitter for signal void QTextDocument::modificationChanged(bool m) | |
void | emit_redoAvailable | (bool arg1) | Emitter for signal void QTextDocument::redoAvailable(bool) | |
void | emit_undoAvailable | (bool arg1) | Emitter for signal void QTextDocument::undoAvailable(bool) | |
void | emit_undoCommandAdded | Emitter for signal void QTextDocument::undoCommandAdded() | ||
[const] | QTextBlock | end | Method QTextBlock QTextDocument::end() | |
bool | event | (QEvent ptr arg1) | Virtual method bool QTextDocument::event(QEvent *) | |
bool | eventFilter | (QObject ptr arg1, QEvent ptr arg2) | Virtual method bool QTextDocument::eventFilter(QObject *, QEvent *) | |
[const] | QTextCursor | find | (string subString, int from = 0, QTextDocument_QFlags_FindFlag options = 0) | Method QTextCursor QTextDocument::find(const QString &subString, int from, QFlags<QTextDocument::FindFlag> options) |
[const] | QTextCursor | find | (string subString, const QTextCursor from, QTextDocument_QFlags_FindFlag options = 0) | Method QTextCursor QTextDocument::find(const QString &subString, const QTextCursor &from, QFlags<QTextDocument::FindFlag> options) |
[const] | QTextCursor | find | (const QRegExp expr, int from = 0, QTextDocument_QFlags_FindFlag options = 0) | Method QTextCursor QTextDocument::find(const QRegExp &expr, int from, QFlags<QTextDocument::FindFlag> options) |
[const] | QTextCursor | find | (const QRegExp expr, const QTextCursor from, QTextDocument_QFlags_FindFlag options = 0) | Method QTextCursor QTextDocument::find(const QRegExp &expr, const QTextCursor &from, QFlags<QTextDocument::FindFlag> options) |
[const] | QTextBlock | findBlock | (int pos) | Method QTextBlock QTextDocument::findBlock(int pos) |
[const] | QTextBlock | findBlockByLineNumber | (int blockNumber) | Method QTextBlock QTextDocument::findBlockByLineNumber(int blockNumber) |
[const] | QTextBlock | findBlockByNumber | (int blockNumber) | Method QTextBlock QTextDocument::findBlockByNumber(int blockNumber) |
[const] | QTextBlock | firstBlock | Method QTextBlock QTextDocument::firstBlock() | |
[const] | QTextFrame ptr | frameAt | (int pos) | Method QTextFrame *QTextDocument::frameAt(int pos) |
[const] | double | idealWidth | Method double QTextDocument::idealWidth() | |
[const] | double | indentWidth | Method double QTextDocument::indentWidth() | |
void | indentWidth= | (double width) | Method void QTextDocument::setIndentWidth(double width) | |
[const] | bool | isEmpty? | Method bool QTextDocument::isEmpty() | |
[const] | bool | isModified? | Method bool QTextDocument::isModified() | |
[const] | bool | isRedoAvailable? | Method bool QTextDocument::isRedoAvailable() | |
[const] | bool | isUndoAvailable? | Method bool QTextDocument::isUndoAvailable() | |
[const] | bool | isUndoRedoEnabled? | Method bool QTextDocument::isUndoRedoEnabled() | |
[const] | QTextBlock | lastBlock | Method QTextBlock QTextDocument::lastBlock() | |
[const] | int | lineCount | Method int QTextDocument::lineCount() | |
void | markContentsDirty | (int from, int length) | Method void QTextDocument::markContentsDirty(int from, int length) | |
[const] | int | maximumBlockCount | Method int QTextDocument::maximumBlockCount() | |
void | maximumBlockCount= | (int maximum) | Method void QTextDocument::setMaximumBlockCount(int maximum) | |
[const] | string | metaInformation | (const QTextDocument_MetaInformation info) | Method QString QTextDocument::metaInformation(QTextDocument::MetaInformation info) |
[signal] | void | modificationChanged | (bool m) | Signal declaration for QTextDocument::modificationChanged(bool m) |
[const] | bool | modified | Method bool QTextDocument::isModified() | |
void | modified= | (bool m = true) | Method void QTextDocument::setModified(bool m) | |
[const] | QTextObject ptr | object | (int objectIndex) | Method QTextObject *QTextDocument::object(int objectIndex) |
[const] | QTextObject ptr | objectForFormat | (const QTextFormat arg1) | Method QTextObject *QTextDocument::objectForFormat(const QTextFormat &) |
[const] | int | pageCount | Method int QTextDocument::pageCount() | |
[const] | QSizeF | pageSize | Method QSizeF QTextDocument::pageSize() | |
void | pageSize= | (const QSizeF size) | Method void QTextDocument::setPageSize(const QSizeF &size) | |
[const] | void | (QPrinter ptr printer) | Method void QTextDocument::print(QPrinter *printer) | |
void | redo | (QTextCursor ptr cursor) | Method void QTextDocument::redo(QTextCursor *cursor) | |
void | redo | Method void QTextDocument::redo() | ||
[signal] | void | redoAvailable | (bool arg1) | Signal declaration for QTextDocument::redoAvailable(bool) |
[const] | variant | resource | (int type, const QUrl name) | Method QVariant QTextDocument::resource(int type, const QUrl &name) |
[const] | int | revision | Method int QTextDocument::revision() | |
[const] | QTextFrame ptr | rootFrame | Method QTextFrame *QTextDocument::rootFrame() | |
void | setDefaultFont | (const QFont font) | Method void QTextDocument::setDefaultFont(const QFont &font) | |
void | setDefaultStyleSheet | (string sheet) | Method void QTextDocument::setDefaultStyleSheet(const QString &sheet) | |
void | setDefaultTextOption | (const QTextOption option) | Method void QTextDocument::setDefaultTextOption(const QTextOption &option) | |
void | setDocumentLayout | (QAbstractTextDocumentLayout ptr layout) | Method void QTextDocument::setDocumentLayout(QAbstractTextDocumentLayout *layout) | |
void | setDocumentMargin | (double margin) | Method void QTextDocument::setDocumentMargin(double margin) | |
void | setHtml | (string html) | Method void QTextDocument::setHtml(const QString &html) | |
void | setIndentWidth | (double width) | Method void QTextDocument::setIndentWidth(double width) | |
void | setMaximumBlockCount | (int maximum) | Method void QTextDocument::setMaximumBlockCount(int maximum) | |
void | setMetaInformation | (const QTextDocument_MetaInformation info, string arg2) | Method void QTextDocument::setMetaInformation(QTextDocument::MetaInformation info, const QString &) | |
void | setModified | (bool m = true) | Method void QTextDocument::setModified(bool m) | |
void | setPageSize | (const QSizeF size) | Method void QTextDocument::setPageSize(const QSizeF &size) | |
void | setPlainText | (string text) | Method void QTextDocument::setPlainText(const QString &text) | |
void | setTextWidth | (double width) | Method void QTextDocument::setTextWidth(double width) | |
void | setUndoRedoEnabled | (bool enable) | Method void QTextDocument::setUndoRedoEnabled(bool enable) | |
void | setUseDesignMetrics | (bool b) | Method void QTextDocument::setUseDesignMetrics(bool b) | |
[const] | QSizeF | size | Method QSizeF QTextDocument::size() | |
[const] | double | textWidth | Method double QTextDocument::textWidth() | |
void | textWidth= | (double width) | Method void QTextDocument::setTextWidth(double width) | |
[const] | string | toHtml | (bytes encoding = QByteArray()) | Method QString QTextDocument::toHtml(const QByteArray &encoding) |
[const] | string | toPlainText | Method QString QTextDocument::toPlainText() | |
void | undo | (QTextCursor ptr cursor) | Method void QTextDocument::undo(QTextCursor *cursor) | |
void | undo | Method void QTextDocument::undo() | ||
[signal] | void | undoAvailable | (bool arg1) | Signal declaration for QTextDocument::undoAvailable(bool) |
[signal] | void | undoCommandAdded | Signal declaration for QTextDocument::undoCommandAdded() | |
[const] | bool | undoRedoEnabled | Method bool QTextDocument::isUndoRedoEnabled() | |
void | undoRedoEnabled= | (bool enable) | Method void QTextDocument::setUndoRedoEnabled(bool enable) | |
[const] | bool | useDesignMetrics | Method bool QTextDocument::useDesignMetrics() | |
void | useDesignMetrics= | (bool b) | Method void QTextDocument::setUseDesignMetrics(bool b) |
[static,const] | QTextDocument_MetaInformation | DocumentTitle | Enum constant QTextDocument::DocumentTitle | |
[static,const] | QTextDocument_MetaInformation | DocumentUrl | Enum constant QTextDocument::DocumentUrl | |
[static,const] | QTextDocument_FindFlag | FindBackward | Enum constant QTextDocument::FindBackward | |
[static,const] | QTextDocument_FindFlag | FindCaseSensitively | Enum constant QTextDocument::FindCaseSensitively | |
[static,const] | QTextDocument_FindFlag | FindWholeWords | Enum constant QTextDocument::FindWholeWords | |
QMetaObject | staticMetaObject | Obtains the static MetaObject for this class. | ||
string | tr | (string s, string c = 0) | Static method QString QTextDocument::tr(const char *s, const char *c) | |
string | tr | (string s, string c, int n) | Static method QString QTextDocument::tr(const char *s, const char *c, int n) | |
string | trUtf8 | (string s, string c = 0) | Static method QString QTextDocument::trUtf8(const char *s, const char *c) | |
string | trUtf8 | (string s, string c, int n) | Static method QString QTextDocument::trUtf8(const char *s, const char *c, int n) |
void | childEvent | (QChildEvent ptr arg1) | Virtual method void QTextDocument::childEvent(QChildEvent *) | ||
QTextObject ptr | createObject | (const QTextFormat f) | Virtual method QTextObject *QTextDocument::createObject(const QTextFormat &f) | ||
void | customEvent | (QEvent ptr arg1) | Virtual method void QTextDocument::customEvent(QEvent *) | ||
void | disconnectNotify | (string signal) | Virtual method void QTextDocument::disconnectNotify(const char *signal) | ||
variant | loadResource | (int type, const QUrl name) | Virtual method QVariant QTextDocument::loadResource(int type, const QUrl &name) | ||
[const] | int | receivers | (string signal) | Method int QTextDocument::receivers(const char *signal) | |
[const] | QObject ptr | sender | Method QObject *QTextDocument::sender() | ||
void | timerEvent | (QTimerEvent ptr arg1) | Virtual method void QTextDocument::timerEvent(QTimerEvent *) |
void | create | Use of this method is deprecated. Use _create instead | ||
void | destroy | Use of this method is deprecated. Use _destroy instead | ||
[const] | bool | is_const_object? | Use of this method is deprecated. Use _is_const_object? instead |
DocumentTitle | Signature: [static,const] QTextDocument_MetaInformation DocumentTitle Description: Enum constant QTextDocument::DocumentTitle Python specific notes: |
DocumentUrl | Signature: [static,const] QTextDocument_MetaInformation DocumentUrl Description: Enum constant QTextDocument::DocumentUrl Python specific notes: |
FindBackward | Signature: [static,const] QTextDocument_FindFlag FindBackward Description: Enum constant QTextDocument::FindBackward Python specific notes: |
FindCaseSensitively | Signature: [static,const] QTextDocument_FindFlag FindCaseSensitively Description: Enum constant QTextDocument::FindCaseSensitively Python specific notes: |
FindWholeWords | Signature: [static,const] QTextDocument_FindFlag FindWholeWords Description: Enum constant QTextDocument::FindWholeWords Python specific notes: |
_const_cast | Signature: [const] QTextDocument ptr _const_cast Description: Returns a non-const reference to self. Basically, this method allows turning a const object reference to a non-const one. This method is provided as last resort to remove the constness from an object. Usually there is a good reason for a const object reference, so using this method may have undesired side effects. This method has been introduced in version 0.29.6. |
_create | Signature: void _create Description: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
_destroy | Signature: void _destroy Description: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
_destroyed? | Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. |
_is_const_object? | Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
_manage | Signature: void _manage Description: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. |
_unmanage | Signature: void _unmanage Description: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. |
addResource | Signature: void addResource (int type, const QUrl name, variant resource) Description: Method void QTextDocument::addResource(int type, const QUrl &name, const QVariant &resource) |
adjustSize | Signature: void adjustSize Description: Method void QTextDocument::adjustSize() |
allFormats | Signature: [const] QTextFormat[] allFormats Description: Method QVector<QTextFormat> QTextDocument::allFormats() |
availableRedoSteps | Signature: [const] int availableRedoSteps Description: Method int QTextDocument::availableRedoSteps() |
availableUndoSteps | Signature: [const] int availableUndoSteps Description: Method int QTextDocument::availableUndoSteps() |
begin | Signature: [const] QTextBlock begin Description: Method QTextBlock QTextDocument::begin() |
blockCount | Signature: [const] int blockCount Description: Method int QTextDocument::blockCount() Python specific notes: |
blockCountChanged | Signature: [signal] void blockCountChanged (int newBlockCount) Description: Signal declaration for QTextDocument::blockCountChanged(int newBlockCount) You can bind a procedure to this signal. Python specific notes: |
characterAt | Signature: [const] unsigned int characterAt (int pos) Description: Method QChar QTextDocument::characterAt(int pos) |
characterCount | Signature: [const] int characterCount Description: Method int QTextDocument::characterCount() |
childEvent | Signature: void childEvent (QChildEvent ptr arg1) Description: Virtual method void QTextDocument::childEvent(QChildEvent *) This method can be reimplemented in a derived class. |
clear | Signature: void clear Description: Virtual method void QTextDocument::clear() This method can be reimplemented in a derived class. |
clone | Signature: [const] QTextDocument ptr clone (QObject ptr parent = 0) Description: Method QTextDocument *QTextDocument::clone(QObject *parent) |
contentsChange | Signature: [signal] void contentsChange (int from, int charsRemoves, int charsAdded) Description: Signal declaration for QTextDocument::contentsChange(int from, int charsRemoves, int charsAdded) You can bind a procedure to this signal. Python specific notes: |
contentsChanged | Signature: [signal] void contentsChanged Description: Signal declaration for QTextDocument::contentsChanged() You can bind a procedure to this signal. Python specific notes: |
create | Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. |
createObject | Signature: QTextObject ptr createObject (const QTextFormat f) Description: Virtual method QTextObject *QTextDocument::createObject(const QTextFormat &f) This method can be reimplemented in a derived class. |
cursorPositionChanged | Signature: [signal] void cursorPositionChanged (const QTextCursor cursor) Description: Signal declaration for QTextDocument::cursorPositionChanged(const QTextCursor &cursor) You can bind a procedure to this signal. Python specific notes: |
customEvent | Signature: void customEvent (QEvent ptr arg1) Description: Virtual method void QTextDocument::customEvent(QEvent *) This method can be reimplemented in a derived class. |
defaultFont | Signature: [const] QFont defaultFont Description: Method QFont QTextDocument::defaultFont() Python specific notes: |
defaultFont= | Signature: void defaultFont= (const QFont font) Description: Method void QTextDocument::setDefaultFont(const QFont &font) Python specific notes: |
defaultStyleSheet | Signature: [const] string defaultStyleSheet Description: Method QString QTextDocument::defaultStyleSheet() Python specific notes: |
defaultStyleSheet= | Signature: void defaultStyleSheet= (string sheet) Description: Method void QTextDocument::setDefaultStyleSheet(const QString &sheet) Python specific notes: |
defaultTextOption | Signature: [const] QTextOption defaultTextOption Description: Method QTextOption QTextDocument::defaultTextOption() Python specific notes: |
defaultTextOption= | Signature: void defaultTextOption= (const QTextOption option) Description: Method void QTextDocument::setDefaultTextOption(const QTextOption &option) Python specific notes: |
destroy | Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. |
destroyed | Signature: [signal] void destroyed (QObject ptr arg1) Description: Signal declaration for QTextDocument::destroyed(QObject *) You can bind a procedure to this signal. Python specific notes: |
disconnectNotify | Signature: void disconnectNotify (string signal) Description: Virtual method void QTextDocument::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. |
documentLayout | Signature: [const] QAbstractTextDocumentLayout ptr documentLayout Description: Method QAbstractTextDocumentLayout *QTextDocument::documentLayout() Python specific notes: |
documentLayout= | Signature: void documentLayout= (QAbstractTextDocumentLayout ptr layout) Description: Method void QTextDocument::setDocumentLayout(QAbstractTextDocumentLayout *layout) Python specific notes: |
documentLayoutChanged | Signature: [signal] void documentLayoutChanged Description: Signal declaration for QTextDocument::documentLayoutChanged() You can bind a procedure to this signal. Python specific notes: |
documentMargin | Signature: [const] double documentMargin Description: Method double QTextDocument::documentMargin() Python specific notes: |
documentMargin= | Signature: void documentMargin= (double margin) Description: Method void QTextDocument::setDocumentMargin(double margin) Python specific notes: |
drawContents | Signature: void drawContents (QPainter ptr painter, const QRectF rect = QRectF()) Description: Method void QTextDocument::drawContents(QPainter *painter, const QRectF &rect) |
emit_blockCountChanged | Signature: void emit_blockCountChanged (int newBlockCount) Description: Emitter for signal void QTextDocument::blockCountChanged(int newBlockCount) Call this method to emit this signal. |
emit_contentsChange | Signature: void emit_contentsChange (int from, int charsRemoves, int charsAdded) Description: Emitter for signal void QTextDocument::contentsChange(int from, int charsRemoves, int charsAdded) Call this method to emit this signal. |
emit_contentsChanged | Signature: void emit_contentsChanged Description: Emitter for signal void QTextDocument::contentsChanged() Call this method to emit this signal. |
emit_cursorPositionChanged | Signature: void emit_cursorPositionChanged (const QTextCursor cursor) Description: Emitter for signal void QTextDocument::cursorPositionChanged(const QTextCursor &cursor) Call this method to emit this signal. |
emit_destroyed | Signature: void emit_destroyed (QObject ptr arg1 = 0) Description: Emitter for signal void QTextDocument::destroyed(QObject *) Call this method to emit this signal. |
emit_documentLayoutChanged | Signature: void emit_documentLayoutChanged Description: Emitter for signal void QTextDocument::documentLayoutChanged() Call this method to emit this signal. |
emit_modificationChanged | Signature: void emit_modificationChanged (bool m) Description: Emitter for signal void QTextDocument::modificationChanged(bool m) Call this method to emit this signal. |
emit_redoAvailable | Signature: void emit_redoAvailable (bool arg1) Description: Emitter for signal void QTextDocument::redoAvailable(bool) Call this method to emit this signal. |
emit_undoAvailable | Signature: void emit_undoAvailable (bool arg1) Description: Emitter for signal void QTextDocument::undoAvailable(bool) Call this method to emit this signal. |
emit_undoCommandAdded | Signature: void emit_undoCommandAdded Description: Emitter for signal void QTextDocument::undoCommandAdded() Call this method to emit this signal. |
end | Signature: [const] QTextBlock end Description: Method QTextBlock QTextDocument::end() |
event | Signature: bool event (QEvent ptr arg1) Description: Virtual method bool QTextDocument::event(QEvent *) This method can be reimplemented in a derived class. |
eventFilter | Signature: bool eventFilter (QObject ptr arg1, QEvent ptr arg2) Description: Virtual method bool QTextDocument::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. |
find | (1) Signature: [const] QTextCursor find (string subString, int from = 0, QTextDocument_QFlags_FindFlag options = 0) Description: Method QTextCursor QTextDocument::find(const QString &subString, int from, QFlags<QTextDocument::FindFlag> options) |
(2) Signature: [const] QTextCursor find (string subString, const QTextCursor from, QTextDocument_QFlags_FindFlag options = 0) Description: Method QTextCursor QTextDocument::find(const QString &subString, const QTextCursor &from, QFlags<QTextDocument::FindFlag> options) | |
(3) Signature: [const] QTextCursor find (const QRegExp expr, int from = 0, QTextDocument_QFlags_FindFlag options = 0) Description: Method QTextCursor QTextDocument::find(const QRegExp &expr, int from, QFlags<QTextDocument::FindFlag> options) | |
(4) Signature: [const] QTextCursor find (const QRegExp expr, const QTextCursor from, QTextDocument_QFlags_FindFlag options = 0) Description: Method QTextCursor QTextDocument::find(const QRegExp &expr, const QTextCursor &from, QFlags<QTextDocument::FindFlag> options) | |
findBlock | Signature: [const] QTextBlock findBlock (int pos) Description: Method QTextBlock QTextDocument::findBlock(int pos) |
findBlockByLineNumber | Signature: [const] QTextBlock findBlockByLineNumber (int blockNumber) Description: Method QTextBlock QTextDocument::findBlockByLineNumber(int blockNumber) |
findBlockByNumber | Signature: [const] QTextBlock findBlockByNumber (int blockNumber) Description: Method QTextBlock QTextDocument::findBlockByNumber(int blockNumber) |
firstBlock | Signature: [const] QTextBlock firstBlock Description: Method QTextBlock QTextDocument::firstBlock() |
frameAt | Signature: [const] QTextFrame ptr frameAt (int pos) Description: Method QTextFrame *QTextDocument::frameAt(int pos) |
idealWidth | Signature: [const] double idealWidth Description: Method double QTextDocument::idealWidth() |
indentWidth | Signature: [const] double indentWidth Description: Method double QTextDocument::indentWidth() Python specific notes: |
indentWidth= | Signature: void indentWidth= (double width) Description: Method void QTextDocument::setIndentWidth(double width) Python specific notes: |
isEmpty? | Signature: [const] bool isEmpty? Description: Method bool QTextDocument::isEmpty() |
isModified? | Signature: [const] bool isModified? Description: Method bool QTextDocument::isModified() Python specific notes: |
isRedoAvailable? | Signature: [const] bool isRedoAvailable? Description: Method bool QTextDocument::isRedoAvailable() |
isUndoAvailable? | Signature: [const] bool isUndoAvailable? Description: Method bool QTextDocument::isUndoAvailable() |
isUndoRedoEnabled? | Signature: [const] bool isUndoRedoEnabled? Description: Method bool QTextDocument::isUndoRedoEnabled() Python specific notes: |
is_const_object? | Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead This method returns true, if self is a const reference. In that case, only const methods may be called on self. |
lastBlock | Signature: [const] QTextBlock lastBlock Description: Method QTextBlock QTextDocument::lastBlock() |
lineCount | Signature: [const] int lineCount Description: Method int QTextDocument::lineCount() |
loadResource | Signature: variant loadResource (int type, const QUrl name) Description: Virtual method QVariant QTextDocument::loadResource(int type, const QUrl &name) This method can be reimplemented in a derived class. |
markContentsDirty | Signature: void markContentsDirty (int from, int length) Description: Method void QTextDocument::markContentsDirty(int from, int length) |
maximumBlockCount | Signature: [const] int maximumBlockCount Description: Method int QTextDocument::maximumBlockCount() Python specific notes: |
maximumBlockCount= | Signature: void maximumBlockCount= (int maximum) Description: Method void QTextDocument::setMaximumBlockCount(int maximum) Python specific notes: |
metaInformation | Signature: [const] string metaInformation (const QTextDocument_MetaInformation info) Description: Method QString QTextDocument::metaInformation(QTextDocument::MetaInformation info) |
modificationChanged | Signature: [signal] void modificationChanged (bool m) Description: Signal declaration for QTextDocument::modificationChanged(bool m) You can bind a procedure to this signal. Python specific notes: |
modified | Signature: [const] bool modified Description: Method bool QTextDocument::isModified() Python specific notes: |
modified= | Signature: void modified= (bool m = true) Description: Method void QTextDocument::setModified(bool m) Python specific notes: |
new | (1) Signature: [static] new QTextDocument new (QObject ptr parent = 0) Description: Constructor QTextDocument::QTextDocument(QObject *parent) This method creates an object of class QTextDocument. Python specific notes: |
(2) Signature: [static] new QTextDocument new (string text, QObject ptr parent = 0) Description: Constructor QTextDocument::QTextDocument(const QString &text, QObject *parent) This method creates an object of class QTextDocument. Python specific notes: | |
object | Signature: [const] QTextObject ptr object (int objectIndex) Description: Method QTextObject *QTextDocument::object(int objectIndex) |
objectForFormat | Signature: [const] QTextObject ptr objectForFormat (const QTextFormat arg1) Description: Method QTextObject *QTextDocument::objectForFormat(const QTextFormat &) |
pageCount | Signature: [const] int pageCount Description: Method int QTextDocument::pageCount() |
pageSize | Signature: [const] QSizeF pageSize Description: Method QSizeF QTextDocument::pageSize() Python specific notes: |
pageSize= | Signature: void pageSize= (const QSizeF size) Description: Method void QTextDocument::setPageSize(const QSizeF &size) Python specific notes: |
Signature: [const] void print (QPrinter ptr printer) Description: Method void QTextDocument::print(QPrinter *printer) Python specific notes: | |
receivers | Signature: [const] int receivers (string signal) Description: Method int QTextDocument::receivers(const char *signal) This method is protected and can only be called from inside a derived class. |
redo | (1) Signature: void redo (QTextCursor ptr cursor) Description: Method void QTextDocument::redo(QTextCursor *cursor) |
(2) Signature: void redo Description: Method void QTextDocument::redo() | |
redoAvailable | Signature: [signal] void redoAvailable (bool arg1) Description: Signal declaration for QTextDocument::redoAvailable(bool) You can bind a procedure to this signal. Python specific notes: |
resource | Signature: [const] variant resource (int type, const QUrl name) Description: Method QVariant QTextDocument::resource(int type, const QUrl &name) |
revision | Signature: [const] int revision Description: Method int QTextDocument::revision() |
rootFrame | Signature: [const] QTextFrame ptr rootFrame Description: Method QTextFrame *QTextDocument::rootFrame() |
sender | Signature: [const] QObject ptr sender Description: Method QObject *QTextDocument::sender() This method is protected and can only be called from inside a derived class. |
setDefaultFont | Signature: void setDefaultFont (const QFont font) Description: Method void QTextDocument::setDefaultFont(const QFont &font) Python specific notes: |
setDefaultStyleSheet | Signature: void setDefaultStyleSheet (string sheet) Description: Method void QTextDocument::setDefaultStyleSheet(const QString &sheet) Python specific notes: |
setDefaultTextOption | Signature: void setDefaultTextOption (const QTextOption option) Description: Method void QTextDocument::setDefaultTextOption(const QTextOption &option) Python specific notes: |
setDocumentLayout | Signature: void setDocumentLayout (QAbstractTextDocumentLayout ptr layout) Description: Method void QTextDocument::setDocumentLayout(QAbstractTextDocumentLayout *layout) Python specific notes: |
setDocumentMargin | Signature: void setDocumentMargin (double margin) Description: Method void QTextDocument::setDocumentMargin(double margin) Python specific notes: |
setHtml | Signature: void setHtml (string html) Description: Method void QTextDocument::setHtml(const QString &html) |
setIndentWidth | Signature: void setIndentWidth (double width) Description: Method void QTextDocument::setIndentWidth(double width) Python specific notes: |
setMaximumBlockCount | Signature: void setMaximumBlockCount (int maximum) Description: Method void QTextDocument::setMaximumBlockCount(int maximum) Python specific notes: |
setMetaInformation | Signature: void setMetaInformation (const QTextDocument_MetaInformation info, string arg2) Description: Method void QTextDocument::setMetaInformation(QTextDocument::MetaInformation info, const QString &) |
setModified | Signature: void setModified (bool m = true) Description: Method void QTextDocument::setModified(bool m) Python specific notes: |
setPageSize | Signature: void setPageSize (const QSizeF size) Description: Method void QTextDocument::setPageSize(const QSizeF &size) Python specific notes: |
setPlainText | Signature: void setPlainText (string text) Description: Method void QTextDocument::setPlainText(const QString &text) |
setTextWidth | Signature: void setTextWidth (double width) Description: Method void QTextDocument::setTextWidth(double width) Python specific notes: |
setUndoRedoEnabled | Signature: void setUndoRedoEnabled (bool enable) Description: Method void QTextDocument::setUndoRedoEnabled(bool enable) Python specific notes: |
setUseDesignMetrics | Signature: void setUseDesignMetrics (bool b) Description: Method void QTextDocument::setUseDesignMetrics(bool b) Python specific notes: |
size | Signature: [const] QSizeF size Description: Method QSizeF QTextDocument::size() Python specific notes: |
staticMetaObject | Signature: [static] QMetaObject staticMetaObject Description: Obtains the static MetaObject for this class. |
textWidth | Signature: [const] double textWidth Description: Method double QTextDocument::textWidth() Python specific notes: |
textWidth= | Signature: void textWidth= (double width) Description: Method void QTextDocument::setTextWidth(double width) Python specific notes: |
timerEvent | Signature: void timerEvent (QTimerEvent ptr arg1) Description: Virtual method void QTextDocument::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. |
toHtml | Signature: [const] string toHtml (bytes encoding = QByteArray()) Description: Method QString QTextDocument::toHtml(const QByteArray &encoding) |
toPlainText | Signature: [const] string toPlainText Description: Method QString QTextDocument::toPlainText() |
tr | (1) Signature: [static] string tr (string s, string c = 0) Description: Static method QString QTextDocument::tr(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string tr (string s, string c, int n) Description: Static method QString QTextDocument::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. | |
trUtf8 | (1) Signature: [static] string trUtf8 (string s, string c = 0) Description: Static method QString QTextDocument::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. |
(2) Signature: [static] string trUtf8 (string s, string c, int n) Description: Static method QString QTextDocument::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. | |
undo | (1) Signature: void undo (QTextCursor ptr cursor) Description: Method void QTextDocument::undo(QTextCursor *cursor) |
(2) Signature: void undo Description: Method void QTextDocument::undo() | |
undoAvailable | Signature: [signal] void undoAvailable (bool arg1) Description: Signal declaration for QTextDocument::undoAvailable(bool) You can bind a procedure to this signal. Python specific notes: |
undoCommandAdded | Signature: [signal] void undoCommandAdded Description: Signal declaration for QTextDocument::undoCommandAdded() You can bind a procedure to this signal. Python specific notes: |
undoRedoEnabled | Signature: [const] bool undoRedoEnabled Description: Method bool QTextDocument::isUndoRedoEnabled() Python specific notes: |
undoRedoEnabled= | Signature: void undoRedoEnabled= (bool enable) Description: Method void QTextDocument::setUndoRedoEnabled(bool enable) Python specific notes: |
useDesignMetrics | Signature: [const] bool useDesignMetrics Description: Method bool QTextDocument::useDesignMetrics() Python specific notes: |
useDesignMetrics= | Signature: void useDesignMetrics= (bool b) Description: Method void QTextDocument::setUseDesignMetrics(bool b) Python specific notes: |