QTextView Class Reference
The QTextView class provides a rich-text viewer. More...
#include <QTextView>
This class is part of the Qt 3 compatibility library. It is provided to keep old source code working. We strongly advise against using it in new code.
Inherits Q3TextEdit.
Writable Properties
- 15 writable properties inherited from Q3TextEdit
- 4 writable properties inherited from QScrollView
- 5 writable properties inherited from QFrame
- 33 writable properties inherited from QWidget
- 1 writable property inherited from QObject
Read-Only Properties
- 4 read-only properties inherited from Q3TextEdit
- 6 read-only properties inherited from QScrollView
- 1 read-only property inherited from QFrame
- 24 read-only properties inherited from QWidget
Public Functions
- 29 public functions inherited from Q3TextEdit
- 32 public functions inherited from QScrollView
- 2 public functions inherited from QFrame
- 83 public functions inherited from QWidget
- 24 public functions inherited from QObject
- 2 public functions inherited from QPaintDevice
Public Slots
Signals
Static Public Members
- 4 static public members inherited from QWidget
- 4 static public members inherited from QObject
Protected Functions
- 6 protected functions inherited from Q3TextEdit
- 22 protected functions inherited from QScrollView
- 44 protected functions inherited from QWidget
- 9 protected functions inherited from QObject
Detailed Description
The QTextView class provides a rich-text viewer.
This class wraps a read-only Q3TextEdit. Use a Q3TextEdit instead, and call setReadOnly(true) to disable editing.
Property Documentation
modified : bool
This property holds whether the text view's contents have been modified.
overwriteMode : bool
This property holds whether new text overwrites or pushes aside existing text.
readOnly : bool
This property holds whether the text view's contents are read only.
undoDepth : int
This property holds the number of undoable steps.
undoRedoEnabled : bool
This property holds whether undo and redo are enabled.