dev1223
dev1223

Reputation: 1159

QTextEdit auto text finisher

Is there any QT class for creation text finisher (If I type "hel", it will automatically finished word with "lo")? Sorry for bad terminology, I don't know how to describe it better.

Upvotes: 0

Views: 420

Answers (1)

Silicomancer
Silicomancer

Reputation: 9156

There is QCompleter but that works an QLineEdit and QComboBox by default only. I never used it but I suppose it should be possible to attach it to a customized QTextEdit too.

Maybe google with QCompleter and QTextEdit as keywords.

Upvotes: 1

Related Questions