Unsolved How to make IntelliSense Code Completion to QPlainText
I wanna make a Code Editor.For now i already made Syntax Highlighting,save,open,file explorer etc..
And now i need to make a Completer for it.But i searched on google.I couldt find any result i want.All of them are QCompleter for lineedit.I was wanna decided to make it become lineedit before.
But i made too much thing on plaintext,and some of the feature is only for PlainText,linedit doesnt have it.
So Im here to search for help,anyone please help me.
Sorry for bad english.
Thanks alot = )
My UI Name ui->
JonB last edited by JonB
If you want a
QCompleterattached to a
QPlainTextEdit(I think that's what you're saying) have a look at https://stackoverflow.com/questions/51912270/qplaintextedit-and-qcompleter-focus-issue. I don't know whether that's good, or how much of the code you need, but I think it's showing how to wrap the
QWidgetso that you have a
@JonB its for python tho,My Application is using
its for python tho,My Application is using C++ language.
It's same for C++, just different syntax...
JonB last edited by
@JonB its for python tho,My Application is using C++ language.
Python users have to read and adapt C++ examples for Qt. No reason why C++ users can't do the same from a Python example, it is really very easy....
@jsulm but i dont understand them
Could you please write an example code?
@JonB can you please write an example code?Because i dont understand python.Sorry,im dumb ;P