开发者

Advanced QCompleter

开发者 https://www.devze.com 2023-02-11 14:27 出处:网络
We开发者_C百科ll, 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 b

We开发者_C百科ll, 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:

Advanced QCompleter


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.

0

精彩评论

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