NAME

Qt::Gui::QPlainTextEdit

PUBLIC METHODS

QPlainTextEdit(QWidget * parent)
QPlainTextEdit(QWidget * parent = 0)
QPlainTextEdit(const QString & text, QWidget * parent)
QPlainTextEdit(const QString & text, QWidget * parent = 0)
~QPlainTextEdit()
QString anchorAt(const QPoint & pos)
void appendHtml(const QString & html)
void appendPlainText(const QString & text)
bool backgroundVisible()
int blockCount()
bool canPaste()
void centerCursor()
bool centerOnScroll()
void clear()
QMenu * createStandardContextMenu()
QTextCharFormat currentCharFormat()
QTextCursor cursorForPosition(const QPoint & pos)
QRect cursorRect()
QRect cursorRect(const QTextCursor & cursor)
int cursorWidth()
QTextDocument * document()
QString documentTitle()
void ensureCursorVisible()
bool find(const QString & exp, QFlags<QTextDocument::FindFlag> options)
bool find(const QString & exp, QFlags<QTextDocument::FindFlag> options = 0)
void insertPlainText(const QString & text)
bool isReadOnly()
bool isUndoRedoEnabled()
QPlainTextEdit::LineWrapMode lineWrapMode()
QVariant loadResource(int type, const QUrl & name)
int maximumBlockCount()
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 selectAll()
void setBackgroundVisible(bool visible)
void setCenterOnScroll(bool enabled)
void setCurrentCharFormat(const QTextCharFormat & format)
void setCursorWidth(int width)
void setDocument(QTextDocument * document)
void setDocumentTitle(const QString & title)
void setLineWrapMode(QPlainTextEdit::LineWrapMode mode)
void setMaximumBlockCount(int maximum)
void setOverwriteMode(bool overwrite)
void setPlainText(const QString & text)
void setReadOnly(bool ro)
void setTabChangesFocus(bool b)
void setTabStopWidth(int width)
void setTextCursor(const QTextCursor & cursor)
void setTextInteractionFlags(QFlags<Qt::TextInteractionFlag> flags)
void setUndoRedoEnabled(bool enable)
void setWordWrapMode(QTextOption::WrapMode policy)
bool tabChangesFocus()
int tabStopWidth()
QTextCursor textCursor()
QFlags<Qt::TextInteractionFlag> textInteractionFlags()
QString toPlainText()
void undo()
QTextOption::WrapMode wordWrapMode()

ENUM VALUES

NoWrap
WidgetWidth

EXPORT

None by default.

AUTHOR

Dongxu Ma <dongxu@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2011 - 2011 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