Qt 4.8
Classes | Namespaces | Enumerations | Functions
qtextdocument.h File Reference
#include <QtCore/qobject.h>
#include <QtCore/qsize.h>
#include <QtCore/qrect.h>
#include <QtGui/qfont.h>

Go to the source code of this file.

Classes

class  QAbstractUndoItem
 
class  QTextDocument
 The QTextDocument class holds formatted text that can be viewed and edited using a QTextEdit. More...
 
class  QVector< T >
 The QVector class is a template class that provides a dynamic array. More...
 

Namespaces

 Qt
 

Enumerations

enum  Qt::HitTestAccuracy { Qt::ExactHit, Qt::FuzzyHit }
 
enum  Qt::WhiteSpaceMode { Qt::WhiteSpaceNormal, Qt::WhiteSpacePre, Qt::WhiteSpaceNoWrap, Qt::WhiteSpaceModeUndefined = -1 }
 

Functions

Q_GUI_EXPORT QTextCodecQt::codecForHtml (const QByteArray &ba)
 This function is defined in the <QTextDocument> header file. More...
 
Q_GUI_EXPORT QString Qt::convertFromPlainText (const QString &plain, WhiteSpaceMode mode=WhiteSpacePre)
 Converts the plain text string plain to an HTML-formatted paragraph while preserving most of its look. More...
 
Q_GUI_EXPORT QString Qt::escape (const QString &plain)
 Converts the plain text string plain to a HTML string with HTML metacharacters <, >, &, and " replaced by HTML entities. More...
 
Q_GUI_EXPORT bool Qt::mightBeRichText (const QString &)
 Returns true if the string text is likely to be rich text; otherwise returns false. More...