'Draw the function list and decide whether to load the default
selection configuration or not.
:param new: A flag indicating whether to load the default selection
configuration or not. Default value is `0`.
new  Operation
0    Use user config.
1    Use default config.
:type new: int'

def set_func_list(self, new=0):

    self.ui.Functionlist.clear()
    self.ui.FunctionsBox.setTitle(_translate('Util', 'Functions', None))
    if new:
        for ip in range(2):
            (choice, defaults, slices) = RetrieveData.get_choice(ip)
            if os.path.isfile(self.custom):
                choice.insert(0, [4, 1, 0, 'customize'])
                defaults[4] = [1]
                for i in range(len(slices)):
                    slices[i] += 1
                slices.insert(0, 0)
            self.choice[ip] = choice
            self.slices[ip] = slices
            funcs = []
            for func in choice:
                if (func[1] in defaults[func[0]]):
                    funcs.append(1)
                else:
                    funcs.append(0)
            self._funcs[ip] = funcs
