CompletingTextEdit Class
(Utils::CompletingTextEdit)The CompletingTextEdit class is a QTextEdit with auto-completion support. More...
| Header: | #include <CompletingTextEdit> |
| Inherits: | QTextEdit |
Properties
- 17 properties inherited from QTextEdit
- 3 properties inherited from QAbstractScrollArea
- 6 properties inherited from QFrame
- 58 properties inherited from QWidget
Public Functions
| CompletingTextEdit(QWidget *parent = 0) | |
| ~CompletingTextEdit() | |
| QCompleter * | completer() const |
| int | completionLengthThreshold() const |
| void | setCompleter(QCompleter *c) |
| void | setCompletionLengthThreshold(int len) |
- 62 public functions inherited from QTextEdit
- 20 public functions inherited from QAbstractScrollArea
- 14 public functions inherited from QFrame
- 213 public functions inherited from QWidget
Reimplemented Protected Functions
| virtual bool | event(QEvent *e) |
| virtual void | focusInEvent(QFocusEvent *e) |
| virtual void | keyPressEvent(QKeyEvent *e) |
- 24 protected functions inherited from QTextEdit
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
Additional Inherited Members
- 25 public slots inherited from QTextEdit
- 19 public slots inherited from QWidget
- 7 signals inherited from QTextEdit
- 3 signals inherited from QWidget
- 5 static public members inherited from QWidget
- 24 protected functions inherited from QTextEdit
- 20 protected functions inherited from QAbstractScrollArea
- 4 protected functions inherited from QFrame
- 35 protected functions inherited from QWidget
- 1 protected slot inherited from QWidget
Detailed Description
The CompletingTextEdit class is a QTextEdit with auto-completion support.
Excerpted from Qt examples/tools/customcompleter.
Property Documentation
completionLengthThreshold : int
Access functions:
| int | completionLengthThreshold() const |
| void | setCompletionLengthThreshold(int len) |
Member Function Documentation
CompletingTextEdit::CompletingTextEdit(QWidget *parent = 0)
Default constructs an instance of CompletingTextEdit.
CompletingTextEdit::~CompletingTextEdit()
Destroys the instance of CompletingTextEdit.
QCompleter *CompletingTextEdit::completer() const
See also setCompleter().
[virtual protected] bool CompletingTextEdit::event(QEvent *e)
[virtual protected] void CompletingTextEdit::focusInEvent(QFocusEvent *e)
[virtual protected] void CompletingTextEdit::keyPressEvent(QKeyEvent *e)
void CompletingTextEdit::setCompleter(QCompleter *c)
See also completer().