Public Member Functions | |
None | remove_readonly (self, func, path, _) |
def | retrieve_macros_from_git (self) |
def | retrieve_macros_from_wiki (self) |
def | run (self) |
Public Attributes | |
current_thread | |
repo_dir | |
repo_names | |
Static Public Attributes | |
add_macro_signal = QtCore.Signal(object) | |
progress_made = QtCore.Signal(int, int) | |
status_message_signal = QtCore.Signal(str) | |
This worker populates the list of macros
None addonmanager_workers.FillMacroListWorker.remove_readonly | ( | self, | |
func, | |||
path, | |||
_ | |||
) |
Remove a read-only file.
Referenced by AddonManager.CommandAddonManager.on_buttonUpdateCache_clicked(), AddonManager.CommandAddonManager.remove(), and addonmanager_workers.FillMacroListWorker.retrieve_macros_from_git().
def addonmanager_workers.FillMacroListWorker.retrieve_macros_from_git | ( | self | ) |
Retrieve macros from FreeCAD-macros.git Emits a signal for each macro in https://github.com/FreeCAD/FreeCAD-macros.git
References addonmanager_workers.LoadMacrosFromCacheWorker.add_macro_signal, addonmanager_workers.FillMacroListWorker.add_macro_signal, addonmanager_workers.UpdateWorker.current_thread, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.current_thread, addonmanager_workers.FillMacroListWorker.current_thread, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.progress_made, addonmanager_workers.FillMacroListWorker.progress_made, addonmanager_workers.CacheMacroCode.progress_made, addonmanager_workers.InstallWorkbenchWorker.progress_made, addonmanager_workers.UpdateMetadataCacheWorker.progress_made, addonmanager_workers.UpdateAllWorker.progress_made, NetworkManager.NetworkManager.progress_made, AddonManager.CommandAddonManager.remove_readonly(), addonmanager_workers.FillMacroListWorker.remove_readonly(), addonmanager_workers.FillMacroListWorker.repo_dir, and addonmanager_workers.FillMacroListWorker.status_message_signal.
def addonmanager_workers.FillMacroListWorker.retrieve_macros_from_wiki | ( | self | ) |
Retrieve macros from the wiki Read the wiki and emit a signal for each found macro. Reads only the page https://wiki.freecad.org/Macros_recipes
References addonmanager_workers.LoadMacrosFromCacheWorker.add_macro_signal, addonmanager_workers.FillMacroListWorker.add_macro_signal, addonmanager_workers.UpdateWorker.current_thread, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.current_thread, addonmanager_workers.FillMacroListWorker.current_thread, addonmanager_workers.CheckWorkbenchesForUpdatesWorker.progress_made, addonmanager_workers.FillMacroListWorker.progress_made, addonmanager_workers.CacheMacroCode.progress_made, addonmanager_workers.InstallWorkbenchWorker.progress_made, addonmanager_workers.UpdateMetadataCacheWorker.progress_made, addonmanager_workers.UpdateAllWorker.progress_made, and NetworkManager.NetworkManager.progress_made.
def addonmanager_workers.FillMacroListWorker.run | ( | self | ) |
Populates the list of macros
Referenced by femexamples.examplesgui.FemExamples.clicked(), and femsolver.task.Task.protector().
|
static |
addonmanager_workers.FillMacroListWorker.current_thread |
Referenced by NetworkManager.NetworkManager.abort(), addonmanager_workers.UpdateMetadataCacheWorker.download_completed(), addonmanager_workers.UpdateAllWorker.on_failure(), addonmanager_workers.UpdateAllWorker.on_success(), addonmanager_workers.FillMacroListWorker.retrieve_macros_from_git(), addonmanager_workers.FillMacroListWorker.retrieve_macros_from_wiki(), addonmanager_workers.UpdateAllWorker.run(), addonmanager_workers.CacheMacroCode.update_and_advance(), addonmanager_workers.InstallWorkbenchWorker.update_status(), and addonmanager_workers.InstallWorkbenchWorker.update_zip_status().
addonmanager_workers.FillMacroListWorker.repo_dir |
addonmanager_workers.FillMacroListWorker.repo_names |
|
static |