Public Member Functions | |
def | retrieve_macros_from_git (self) |
def | retrieve_macros_from_wiki (self) |
def | run (self) |
Public Attributes | |
macros | |
repo_dir | |
stop | |
Static Public Attributes | |
add_macro_signal = QtCore.Signal(Macro) | |
info_label_signal = QtCore.Signal(str) | |
progressbar_show = QtCore.Signal(bool) | |
Detailed Description
This worker populates the list of macros
Member Function Documentation
◆ 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.FillMacroListWorker.info_label_signal, AddonManager.CommandAddonManager.macros, addonmanager_workers.FillMacroListWorker.macros, and addonmanager_workers.FillMacroListWorker.repo_dir.
Referenced by addonmanager_workers.FillMacroListWorker.run().
◆ retrieve_macros_from_wiki()
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://www.freecadweb.org/wiki/Macros_recipes
References addonmanager_workers.FillMacroListWorker.info_label_signal, AddonManager.CommandAddonManager.macros, addonmanager_workers.FillMacroListWorker.macros, addonmanager_workers.UpdateWorker.progressbar_show, and addonmanager_workers.FillMacroListWorker.progressbar_show.
Referenced by addonmanager_workers.FillMacroListWorker.run().
◆ run()
def addonmanager_workers.FillMacroListWorker.run | ( | self | ) |
Populates the list of macros
References addonmanager_workers.FillMacroListWorker.add_macro_signal, addonmanager_workers.FillMacroListWorker.info_label_signal, AddonManager.CommandAddonManager.macros, addonmanager_workers.FillMacroListWorker.macros, addonmanager_workers.UpdateWorker.progressbar_show, addonmanager_workers.FillMacroListWorker.progressbar_show, addonmanager_workers.FillMacroListWorker.retrieve_macros_from_git(), and addonmanager_workers.FillMacroListWorker.retrieve_macros_from_wiki().
Referenced by femsolver.task.Task.protector().
Member Data Documentation
◆ add_macro_signal
|
static |
Referenced by addonmanager_workers.FillMacroListWorker.run().
◆ info_label_signal
|
static |
◆ macros
addonmanager_workers.FillMacroListWorker.macros |
◆ progressbar_show
|
static |
◆ repo_dir
addonmanager_workers.FillMacroListWorker.repo_dir |
◆ stop
addonmanager_workers.FillMacroListWorker.stop |
Referenced by ArchPanel.NestTaskPanel.accept(), and ArchPanel.NestTaskPanel.reject().
The documentation for this class was generated from the following file:
- src/Mod/AddonManager/addonmanager_workers.py