NAME

Qt::Gui::QTextEdit

PUBLIC METHODS

QTextEdit(QWidget * parent)
QTextEdit(QWidget * parent = 0)
QTextEdit(const QString & text, QWidget * parent)
QTextEdit(const QString & text, QWidget * parent = 0)
~QTextEdit()
bool acceptRichText()
QFlags<Qt::AlignmentFlag> alignment()
QString anchorAt(const QPoint & pos)
void append(const QString & text)
QFlags<QTextEdit::AutoFormattingFlag> autoFormatting()
bool canPaste()
void clear()
QMenu * createStandardContextMenu()
QMenu * createStandardContextMenu(const QPoint & position)
QTextCharFormat currentCharFormat()
QFont currentFont()
QTextCursor cursorForPosition(const QPoint & pos)
QRect cursorRect()
QRect cursorRect(const QTextCursor & cursor)
int cursorWidth()
QTextDocument * document()
QString documentTitle()
void ensureCursorVisible()
QList<QTextEdit::ExtraSelection> extraSelections()
bool find(const QString & exp, QFlags<QTextDocument::FindFlag> options)
bool find(const QString & exp, QFlags<QTextDocument::FindFlag> options = 0)
QString fontFamily()
bool fontItalic()
qreal fontPointSize()
bool fontUnderline()
int fontWeight()
void insertHtml(const QString & text)
void insertPlainText(const QString & text)
bool isReadOnly()
bool isUndoRedoEnabled()
int lineWrapColumnOrWidth()
QTextEdit::LineWrapMode lineWrapMode()
QVariant loadResource(int type, const QUrl & name)
void mergeCurrentCharFormat(const QTextCharFormat & modifier)
void moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode)
void moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode = QTextCursor::MoveAnchor)
bool overwriteMode()
void print(QPrinter * printer)
void redo()
void scrollToAnchor(const QString & name)
void selectAll()
void setAcceptRichText(bool accept)
void setAlignment(QFlags<Qt::AlignmentFlag> a)
void setAutoFormatting(QFlags<QTextEdit::AutoFormattingFlag> features)
void setCurrentCharFormat(const QTextCharFormat & format)
void setCurrentFont(const QFont & f)
void setCursorWidth(int width)
void setDocument(QTextDocument * document)
void setDocumentTitle(const QString & title)
void setExtraSelections(const QList<QTextEdit::ExtraSelection> & selections)
void setFontFamily(const QString & fontFamily)
void setFontItalic(bool b)
void setFontPointSize(qreal s)
void setFontUnderline(bool b)
void setFontWeight(int w)
void setHtml(const QString & text)
void setLineWrapColumnOrWidth(int w)
void setLineWrapMode(QTextEdit::LineWrapMode mode)
void setOverwriteMode(bool overwrite)
void setPlainText(const QString & text)
void setReadOnly(bool ro)
void setTabChangesFocus(bool b)
void setTabStopWidth(int width)
void setText(const QString & text)
void setTextBackgroundColor(const QColor & c)
void setTextColor(const QColor & c)
void setTextCursor(const QTextCursor & cursor)
void setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)
void setUndoRedoEnabled(bool enable)
void setWordWrapMode(QTextOption::WrapMode policy)
bool tabChangesFocus()
int tabStopWidth()
QColor textBackgroundColor()
QColor textColor()
QTextCursor textCursor()
QFlags<Qt::TextInteractionFlag> textInteractionFlags()
QString toHtml()
QString toPlainText()
void undo()
QTextOption::WrapMode wordWrapMode()
void zoomIn(int range)
void zoomIn(int range = 1)
void zoomOut(int range)
void zoomOut(int range = 1)

ENUM VALUES

NoWrap
WidgetWidth
FixedPixelWidth
FixedColumnWidth
AutoNone
AutoBulletList
AutoAll

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2012 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/artistic.html