Definition at line 109 of file qtextdocument.h.
|
| | QTextDocument (QObject *parent=0) |
| |
| | QTextDocument (const QString &text, QObject *parent=0) |
| |
| | ~QTextDocument () |
| |
| QTextDocument * | clone (QObject *parent=0) const |
| |
| bool | isEmpty () const |
| |
| virtual void | clear () |
| |
| void | setUndoRedoEnabled (bool enable) |
| |
| bool | isUndoRedoEnabled () const |
| |
| bool | isUndoAvailable () const |
| |
| bool | isRedoAvailable () const |
| |
| int | availableUndoSteps () const |
| |
| int | availableRedoSteps () const |
| |
| int | revision () const |
| |
| void | setDocumentLayout (QAbstractTextDocumentLayout *layout) |
| |
| QAbstractTextDocumentLayout * | documentLayout () const |
| |
| void | setMetaInformation (MetaInformation info, const QString &) |
| |
| QString | metaInformation (MetaInformation info) const |
| |
| QString | toHtml (const QByteArray &encoding=QByteArray()) const |
| |
| void | setHtml (const QString &html) |
| |
| QString | toPlainText () const |
| |
| void | setPlainText (const QString &text) |
| |
| QChar | characterAt (int pos) const |
| |
| QTextCursor | find (const QString &subString, int from=0, FindFlags options=0) const |
| |
| QTextCursor | find (const QString &subString, const QTextCursor &from, FindFlags options=0) const |
| |
| QTextCursor | find (const QRegExp &expr, int from=0, FindFlags options=0) const |
| |
| QTextCursor | find (const QRegExp &expr, const QTextCursor &from, FindFlags options=0) const |
| |
| QTextFrame * | frameAt (int pos) const |
| |
| QTextFrame * | rootFrame () const |
| |
| QTextObject * | object (int objectIndex) const |
| |
| QTextObject * | objectForFormat (const QTextFormat &) const |
| |
| QTextBlock | findBlock (int pos) const |
| |
| QTextBlock | findBlockByNumber (int blockNumber) const |
| |
| QTextBlock | findBlockByLineNumber (int blockNumber) const |
| |
| QTextBlock | begin () const |
| |
| QTextBlock | end () const |
| |
| QTextBlock | firstBlock () const |
| |
| QTextBlock | lastBlock () const |
| |
| void | setPageSize (const QSizeF &size) |
| |
| QSizeF | pageSize () const |
| |
| void | setDefaultFont (const QFont &font) |
| |
| QFont | defaultFont () const |
| |
| int | pageCount () const |
| |
| bool | isModified () const |
| |
| void | print (QPrinter *printer) const |
| |
| QVariant | resource (int type, const QUrl &name) const |
| |
| void | addResource (int type, const QUrl &name, const QVariant &resource) |
| |
| QVector< QTextFormat > | allFormats () const |
| |
| void | markContentsDirty (int from, int length) |
| |
| void | setUseDesignMetrics (bool b) |
| |
| bool | useDesignMetrics () const |
| |
| void | drawContents (QPainter *painter, const QRectF &rect=QRectF()) |
| |
| void | setTextWidth (qreal width) |
| |
| qreal | textWidth () const |
| |
| qreal | idealWidth () const |
| |
| qreal | indentWidth () const |
| |
| void | setIndentWidth (qreal width) |
| |
| qreal | documentMargin () const |
| |
| void | setDocumentMargin (qreal margin) |
| |
| void | adjustSize () |
| |
| QSizeF | size () const |
| |
| int | blockCount () const |
| |
| int | lineCount () const |
| |
| int | characterCount () const |
| |
| void | setDefaultStyleSheet (const QString &sheet) |
| |
| QString | defaultStyleSheet () const |
| |
| void | undo (QTextCursor *cursor) |
| |
| void | redo (QTextCursor *cursor) |
| |
| void | clearUndoRedoStacks (Stacks historyToClear=UndoAndRedoStacks) |
| |
| int | maximumBlockCount () const |
| |
| void | setMaximumBlockCount (int maximum) |
| |
| QTextOption | defaultTextOption () const |
| |
| void | setDefaultTextOption (const QTextOption &option) |
| |
| Qt::CursorMoveStyle | defaultCursorMoveStyle () const |
| |
| void | setDefaultCursorMoveStyle (Qt::CursorMoveStyle style) |
| |
| QTextDocumentPrivate * | docHandle () const |
| |
| Q_INVOKABLE | QObject (QObject *parent=0) |
| |
| virtual | ~QObject () |
| |
| virtual bool | event (QEvent *) |
| |
| virtual bool | eventFilter (QObject *, QEvent *) |
| |
| QString | objectName () const |
| |
| void | setObjectName (const QString &name) |
| |
| bool | isWidgetType () const |
| |
| bool | signalsBlocked () const |
| |
| bool | blockSignals (bool b) |
| |
| QThread * | thread () const |
| |
| void | moveToThread (QThread *thread) |
| |
| int | startTimer (int interval) |
| |
| void | killTimer (int id) |
| |
| template<typename T > |
| T | findChild (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QString &aName=QString()) const |
| |
| template<typename T > |
| QList< T > | findChildren (const QRegExp &re) const |
| |
| const QObjectList & | children () const |
| |
| void | setParent (QObject *) |
| |
| void | installEventFilter (QObject *) |
| |
| void | removeEventFilter (QObject *) |
| |
| bool | connect (const QObject *sender, const char *signal, const char *member, Qt::ConnectionType type=Qt::AutoConnection) const |
| |
| bool | disconnect (const char *signal=0, const QObject *receiver=0, const char *member=0) |
| |
| bool | disconnect (const QObject *receiver, const char *member=0) |
| |
| void | dumpObjectTree () |
| |
| void | dumpObjectInfo () |
| |
| bool | setProperty (const char *name, const QVariant &value) |
| |
| QVariant | property (const char *name) const |
| |
| QList< QByteArray > | dynamicPropertyNames () const |
| |
| void | setUserData (uint id, QObjectUserData *data) |
| |
| QObjectUserData * | userData (uint id) const |
| |
| QObject * | parent () const |
| |
| bool | inherits (const char *classname) const |
| |