On 04/22/2013 03:33 AM, Tony Rietwyk wrote:

Hi Muhammad,

 

I haven't used QCompleter, and I agree that the documentation is vague and crying out for a diagram.  From my reading, the currentIndex only relates to the proxy completionModel, not your original model.   Nowhere does it show how to get the matching entry in your model.  I assume you will have to cast the completionModel to QAbstractProxyModel to map the indexes to your model. 

Do you've any snippet or example? I tried and googled a lot but I couldn't find any solution!

-- 
Best Regards,
Muhammad Bashir Al-Noimi

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to