Custom QFilterType::ListFilter

Login or register to post comments
1 reply [Last post]
Offline
Joined: 02/04/2011

Hi :) I need a little help. I have a QDataGrid with Filters, one of them are a ListFilter,once I added items to it, the problem are that the first option of List is '-any-' in English, I want to know the way to change this word for the traduction to spanish, I don't know if I have to use QApplication::Translate or somethig similar to custom this ListFilter. I'm greatful if someone can help me! thanks a lot!

Offline
Joined: 04/22/2009

Have a look at yhis example. Might be useful for you in other cases as well:

http://examples.qcu.be/assets/_core/php/examples/communication/advanced_...

The word 'any' is QTranslated.

Cheers

Helge