Definition at line 69 of file qplaintextedit.h.
#include <qplaintextedit.h>

| enum LineWrapMode |
Definition at line 90 of file qplaintextedit.h.
{
NoWrap,
WidgetWidth
};
| QPlainTextEdit | ( | QWidget * | parent = 0 |
) | [explicit] |
| QPlainTextEdit | ( | const QString & | text, |
| QWidget * | parent = 0 |
||
| ) | [explicit] |
| virtual ~QPlainTextEdit | ( | ) | [virtual] |
| QPlainTextEdit | ( | QPlainTextEditPrivate & | dd, |
| QWidget * | parent | ||
| ) | [protected] |
| void setDocument | ( | QTextDocument * | document | ) |
| QTextDocument* document | ( | ) | const |
| void setTextCursor | ( | const QTextCursor & | cursor | ) |
| QTextCursor textCursor | ( | ) | const |
| bool isReadOnly | ( | ) | const |
| void setReadOnly | ( | bool | ro | ) |
| void setTextInteractionFlags | ( | Qt::TextInteractionFlags | flags | ) |
| Qt::TextInteractionFlags textInteractionFlags | ( | ) | const |
| void mergeCurrentCharFormat | ( | const QTextCharFormat & | modifier | ) |
| void setCurrentCharFormat | ( | const QTextCharFormat & | format | ) |
| QTextCharFormat currentCharFormat | ( | ) | const |
| bool tabChangesFocus | ( | ) | const |
| void setTabChangesFocus | ( | bool | b | ) |
| void setDocumentTitle | ( | const QString & | title | ) | [inline] |
Definition at line 118 of file qplaintextedit.h.
{ document()->setMetaInformation(QTextDocument::DocumentTitle, title); }
| QString documentTitle | ( | ) | const [inline] |
Definition at line 120 of file qplaintextedit.h.
{ return document()->metaInformation(QTextDocument::DocumentTitle); }
| bool isUndoRedoEnabled | ( | ) | const [inline] |
Definition at line 123 of file qplaintextedit.h.
{ return document()->isUndoRedoEnabled(); }
| void setUndoRedoEnabled | ( | bool | enable | ) | [inline] |
Definition at line 125 of file qplaintextedit.h.
{ document()->setUndoRedoEnabled(enable); }
| void setMaximumBlockCount | ( | int | maximum | ) | [inline] |
Definition at line 128 of file qplaintextedit.h.
{ document()->setMaximumBlockCount(maximum); }
| int maximumBlockCount | ( | ) | const [inline] |
Definition at line 130 of file qplaintextedit.h.
{ return document()->maximumBlockCount(); }
| LineWrapMode lineWrapMode | ( | ) | const |
| void setLineWrapMode | ( | LineWrapMode | mode | ) |
| QTextOption::WrapMode wordWrapMode | ( | ) | const |
| void setWordWrapMode | ( | QTextOption::WrapMode | policy | ) |
| void setBackgroundVisible | ( | bool | visible | ) |
| bool backgroundVisible | ( | ) | const |
| void setCenterOnScroll | ( | bool | enabled | ) |
| bool centerOnScroll | ( | ) | const |
| bool find | ( | const QString & | exp, |
| QTextDocument::FindFlags | options = 0 |
||
| ) |
| QString toPlainText | ( | ) | const [inline] |
Definition at line 148 of file qplaintextedit.h.
{ return document()->toPlainText(); }
| void ensureCursorVisible | ( | ) |
| QMenu* createStandardContextMenu | ( | ) |
| QTextCursor cursorForPosition | ( | const QPoint & | pos | ) | const |
| QRect cursorRect | ( | const QTextCursor & | cursor | ) | const |
| QRect cursorRect | ( | ) | const |
| bool overwriteMode | ( | ) | const |
| void setOverwriteMode | ( | bool | overwrite | ) |
| int tabStopWidth | ( | ) | const |
| void setTabStopWidth | ( | int | width | ) |
| int cursorWidth | ( | ) | const |
| void setCursorWidth | ( | int | width | ) |
| void setExtraSelections | ( | const QList< QTextEdit::ExtraSelection > & | selections | ) |
| QList<QTextEdit::ExtraSelection> extraSelections | ( | ) | const |
| void moveCursor | ( | QTextCursor::MoveOperation | operation, |
| QTextCursor::MoveMode | mode =
QTextCursor::MoveAnchor |
||
| ) |
| bool canPaste | ( | ) | const |
| void print | ( | QPrinter * | printer | ) | const |
| int blockCount | ( | ) | const |
| void setPlainText | ( | const QString & | text | ) | [slot] |
| void cut | ( | ) | [slot] |
| void copy | ( | ) | [slot] |
| void paste | ( | ) | [slot] |
| void undo | ( | ) | [slot] |
| void redo | ( | ) | [slot] |
| void clear | ( | ) | [slot] |
| void selectAll | ( | ) | [slot] |
| void insertPlainText | ( | const QString & | text | ) | [slot] |
| void appendPlainText | ( | const QString & | text | ) | [slot] |
| void appendHtml | ( | const QString & | html | ) | [slot] |
| void centerCursor | ( | ) | [slot] |
| void textChanged | ( | ) | [signal] |
| void undoAvailable | ( | bool | b | ) | [signal] |
| void redoAvailable | ( | bool | b | ) | [signal] |
| void copyAvailable | ( | bool | b | ) | [signal] |
| void selectionChanged | ( | ) | [signal] |
| void cursorPositionChanged | ( | ) | [signal] |
| void updateRequest | ( | const QRect & | rect, |
| int | dy | ||
| ) | [signal] |
| void blockCountChanged | ( | int | newBlockCount | ) | [signal] |
| void modificationChanged | ( | bool | ) | [signal] |
| virtual bool event | ( | QEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void timerEvent | ( | QTimerEvent * | e | ) | [protected, virtual] |
Reimplemented from QObject.
| virtual void keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void resizeEvent | ( | QResizeEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void paintEvent | ( | QPaintEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void mousePressEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void mouseMoveEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void mouseReleaseEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void mouseDoubleClickEvent | ( | QMouseEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual bool focusNextPrevChild | ( | bool | next | ) | [protected, virtual] |
Reimplemented from QWidget.
| virtual void contextMenuEvent | ( | QContextMenuEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void dragEnterEvent | ( | QDragEnterEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void dragLeaveEvent | ( | QDragLeaveEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void dragMoveEvent | ( | QDragMoveEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void dropEvent | ( | QDropEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual void focusInEvent | ( | QFocusEvent * | e | ) | [protected, virtual] |
Reimplemented from QWidget.
| virtual void focusOutEvent | ( | QFocusEvent * | e | ) | [protected, virtual] |
Reimplemented from QWidget.
| virtual void showEvent | ( | QShowEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
| virtual void wheelEvent | ( | QWheelEvent * | e | ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| virtual QMimeData* createMimeDataFromSelection | ( | ) | const [protected, virtual] |
| virtual bool canInsertFromMimeData | ( | const QMimeData * | source | ) | const [protected, virtual] |
| virtual void insertFromMimeData | ( | const QMimeData * | source | ) | [protected, virtual] |
| virtual void inputMethodEvent | ( | QInputMethodEvent * | ) | [protected, virtual] |
Reimplemented from QWidget.
| QVariant inputMethodQuery | ( | Qt::InputMethodQuery | property | ) | const [protected, virtual] |
Reimplemented from QWidget.
| virtual void scrollContentsBy | ( | int | dx, |
| int | dy | ||
| ) | [protected, virtual] |
Reimplemented from QAbstractScrollArea.
| QTextBlock firstVisibleBlock | ( | ) | const [protected] |
| QPointF contentOffset | ( | ) | const [protected] |
| QRectF blockBoundingRect | ( | const QTextBlock & | block | ) | const [protected] |
| QRectF blockBoundingGeometry | ( | const QTextBlock & | block | ) | const [protected] |
| QAbstractTextDocumentLayout::PaintContext getPaintContext | ( | ) | const [protected] |
bool tabChangesFocus [read,
write] |
Definition at line 74 of file qplaintextedit.h.
QString documentTitle [read,
write] |
Definition at line 75 of file qplaintextedit.h.
bool undoRedoEnabled [read,
write] |
Definition at line 76 of file qplaintextedit.h.
LineWrapMode
lineWrapMode [read, write] |
Definition at line 77 of file qplaintextedit.h.
bool readOnly [read, write] |
Definition at line 79 of file qplaintextedit.h.
QString plainText [read,
write] |
Definition at line 80 of file qplaintextedit.h.
bool overwriteMode [read,
write] |
Definition at line 81 of file qplaintextedit.h.
int tabStopWidth [read,
write] |
Definition at line 82 of file qplaintextedit.h.
int cursorWidth [read, write] |
Definition at line 83 of file qplaintextedit.h.
Qt::TextInteractionFlags textInteractionFlags
[read, write] |
Definition at line 84 of file qplaintextedit.h.
int blockCount [read] |
Definition at line 85 of file qplaintextedit.h.
int maximumBlockCount [read,
write] |
Definition at line 86 of file qplaintextedit.h.
bool backgroundVisible [read,
write] |
Definition at line 87 of file qplaintextedit.h.
bool centerOnScroll [read,
write] |
Definition at line 88 of file qplaintextedit.h.