开发者

Qt "QTextEdit" Functions

开发者 https://www.devze.com 2023-03-18 04:55 出处:网络
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 autocomple

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!


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

0

精彩评论

暂无评论...
验证码 换一张
取 消