'Set a filter function.'

def setFilterFunc(self, func):

    if (func != self.__filterFunc):
        self.__filterFunc = func
        for i in range(0, self.__pages.count()):
            self.__pages.page(i).setFilterFunc(func)
