Main Page Modules Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages
KTextEdit Class Reference
A KDE'ified QTextEdit.
More...
#include <ktextedit.h>
List of all members.
Detailed Description
A KDE'ified QTextEdit.
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
- Author:
-
Carsten Pfeiffer <pfeiffer@kde.org>
- Since:
-
3.1
Definition at line 38 of file ktextedit.h.
Constructor & Destructor Documentation
| KTextEdit::KTextEdit |
( |
const QString & |
text, |
|
|
const QString & |
context = QString::null, |
|
|
QWidget * |
parent = 0, |
|
|
const char * |
name = 0 |
|
) |
|
|
|
|
Constructs a KTextEdit object. See QTextEdit::QTextEdit for details. |
| KTextEdit::KTextEdit |
( |
QWidget * |
parent = 0L, |
|
|
const char * |
name = 0 |
|
) |
|
|
|
|
Constructs a KTextEdit object. See QTextEdit::QTextEdit for details. |
| KTextEdit::~KTextEdit |
( |
|
) |
|
|
|
|
Destroys the KTextEdit object. |
Member Function Documentation
| virtual void KTextEdit::contentsWheelEvent |
( |
QWheelEvent * |
|
) |
[protected, virtual] |
|
|
|
Reimplemented to allow fast-wheelscrolling with Ctrl-Wheel or zoom. |
| virtual void KTextEdit::deleteWordBack |
( |
|
) |
[protected, virtual] |
|
|
|
Deletes a word backwards from the current cursor position, if available. |
| virtual void KTextEdit::deleteWordForward |
( |
|
) |
[protected, virtual] |
|
|
|
Deletes a word forwards from the current cursor position, if available. |
| virtual void KTextEdit::keyPressEvent |
( |
QKeyEvent * |
|
) |
[protected, virtual] |
|
|
|
Reimplemented to catch "delete word" key events. |
| virtual void KTextEdit::setPalette |
( |
const QPalette & |
palette |
) |
[virtual] |
|
|
|
Reimplemented for tracking custom palettes. |
| virtual void KTextEdit::setReadOnly |
( |
bool |
readOnly |
) |
[virtual] |
|
|
|
Reimplemented to set a proper "deactivated" background color. |
The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:26 2003 for kdelibs by
1.2.18