|
|
This is just a little subclass of QTextEdit, implementing some standard KDE features, like Cursor auto-hiding, configurable wheelscrolling (fast-scroll or zoom) and deleting of entire words with Ctrl-Backspace or Ctrl-Delete.
Basic rule: whenever you want to use QTextEdit, use KTextEdit!
See also: QTextEdit
KTextEdit ( const QString& text,
const QString& context = QString::null,
QWidget * parent = 0, const char *name = 0 )
| KTextEdit |
Constructs a KTextEdit object. See QTextEdit::QTextEdit for details.
KTextEdit ( QWidget *parent = 0L, const char *name = 0 )
| KTextEdit |
Constructs a KTextEdit object. See QTextEdit::QTextEdit for details.
~KTextEdit ()
| ~KTextEdit |
Destroys the KTextEdit object.
void setReadOnly (bool readOnly)
| setReadOnly |
[virtual]
Reimplemented to set a proper "deactivated" background color.
void keyPressEvent ( QKeyEvent * )
| keyPressEvent |
[protected virtual]
Reimplemented to catch "delete word" key events.
void contentsWheelEvent ( QWheelEvent * )
| contentsWheelEvent |
[protected virtual]
Reimplemented to allow fast-wheelscrolling with Ctrl-Wheel or zoom.
void deleteWordBack ()
| deleteWordBack |
[protected virtual]
Deletes a word backwards from the current cursor position, if available.
void deleteWordForward ()
| deleteWordForward |
[protected virtual]
Deletes a word forwards from the current cursor position, if available.
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]