'Start operations to show progress while making hosts file.
.. note:: This method is the slot responses to the info_trigger signal
:attr:`mod_name`, :attr:`mod_num` from an instance of
:class:`~gui._make.QSubMakeHosts` class while making operations
are proceeding.
:param mod_name: Tag of a specified hosts module in current progress.
:type mod_name: str
:param mod_num: Number of current module in the operation sequence.
:type mod_num: int
.. seealso:: :attr:`info_trigger` in
:class:`~gui._make.QSubMakeHosts` class.'

def set_make_progress(self, mod_name, mod_num):

    total_mods_num = (self._funcs[self._ipv_id].count(1) + 1)
    prog = ((100 * mod_num) / total_mods_num)
    self.ui.Prog.setProperty('value', prog)
    module = unicode(_translate('Util', mod_name, None))
    message = (unicode(_translate('Util', 'Applying    module:    %s(%s/%s)', None)) % (module, mod_num, total_mods_num))
    self.ui.Prog.setFormat(message)
    self.set_make_message(message)
