2

Well, i'm doing an IDE System. Basically, everything works Fine. Though, but i have a problem. The class "QTextEdit" doesn't have the member "setCompleter" which is for autocomplete. Right?

Well, is some class that supports it including all QTextEdit members?

PS: Any better way to do Autocomplete? I've asked this before, but i heard you can do it with QReg , but no idea.

Thanks!

Kazuma
  • 1,371
  • 6
  • 19
  • 33

1 Answers1

3

The Qt documentation has an example on how to extend QTextEdit with a custom auto-completer here: http://doc.qt.io/qt-5/qtwidgets-tools-customcompleter-example.html

Christophe Weis
  • 2,518
  • 4
  • 28
  • 32
Vinicius Kamakura
  • 7,665
  • 1
  • 29
  • 43