Writing model for QCompleater
Want write a model for QCompleater which make possible compleate pair key="word",
need write first char for key, and compleater give a tip, then user write symbol ' = ', and automatical completing to ="" and cursor set at the middle of the quotation mark, then user write first chars of some value, and compleater give a tip again.
pairs key="word" may be more than one...
*like mini IntelliSense in VS ;)
I try write model based on QStandardModel, but can't understand how compleater ask a model for tips :(
There is a "wiki":http://www.developer.nokia.com/Community/Wiki/How_to_use_QCompleter_in_Qt .
[quote author="Rahul Das" date="1334040862"]There is a "wiki":http://www.developer.nokia.com/Community/Wiki/How_to_use_QCompleter_in_Qt .[/quote]
very wonderful example BUT! work only for first one word, and i need tips for all of typing words....