def qteGetAllMacroNames(self, widgetObj: QtGui.QWidget=None):
        macro_list = tuple(self._qteRegistryMacros.keys())
        macro_list = [_[0] for _ in macro_list]
        macro_list = tuple(set(macro_list))
        if widgetObj is None:
            return macro_list
        else:
            macro_list = [self.qteGetMacroObject(macroName, widgetObj)
                          for macroName in macro_list]
            macro_list = [_.qteMacroName() for _ in macro_list
                          if _ is not None]
            return macro_list