(self, modules)
Fills the ModulesList with data
Fills the ModulesList with data
Fills the ModulesList with data
def set_modules(self, modules):
        """ Fills the ModulesList with data
        """
        if self.modules_list is None:
            return

        self.modules_list.clear()
        for module in modules:
            self.add_module(module)

        self.modules_list.resizeColumnToContents(0)
        self.modules_list.resizeColumnToContents(1)
        self.modules_list.resizeColumnToContents(2)
        self.modules_list.resizeColumnToContents(3)
def set_modules ( self , modules ) : if self . modules_list is None : return self . modules_list . clear ( ) for module in modules : self . add_module ( module ) self . modules_list . resizeColumnToContents ( 0 ) self . modules_list . resizeColumnToContents ( 1 ) self . modules_list . resizeColumnToContents ( 2 ) self . modules_list . resizeColumnToContents ( 3 )