Well, i was looking on QCompleter , it's pretty cool of what i can see. But i looked on Visual Studio 2010 that when you do for example: MessageBox(HWND hWnd, it shows a rectangle (white background, black text) that shows MessageBox( HWND hWnd , LPCWSTR lpText, LPCWSTR lpCaption, UNIT uType); What i mean it's highlights the position you are. Here is an image:
Other than using setCompletionMode
to one of three enum options it's quite possible you can't achieve this without subclassing it and implementing your own version. QCompleter
is a model parser so it's more akin to what visual studio does when you type .
or ->
and pick an available method/member/etc on the current object.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.