AddonManager: tooltips and minor code formatting

This commit is contained in:
luz.paz
2019-10-10 14:59:27 -04:00
committed by Yorik van Havre
parent 84648aea62
commit fbae2b3db9
2 changed files with 18 additions and 7 deletions

View File

@@ -17,7 +17,9 @@
<item>
<widget class="QCheckBox" name="checkUpdates">
<property name="toolTip">
<string>If this option is checked, when launching the Addon Manager, installed addons will be checked for available updates (requires the python-git package installed on your system)</string>
<string>If this option is selected, when launching the Addon Manager,
installed addons will be checked for available updates
(this requires the python-git package installed on your system)</string>
</property>
<property name="text">
<string>Automatically check for updates at start (requires python-git)</string>
@@ -34,7 +36,8 @@
<item>
<widget class="QTextEdit" name="customRepositories">
<property name="toolTip">
<string>You can use this window to specify additional addon repositories to be scanned for available addons</string>
<string>You can use this window to specify additional addon repositories
sto be scanned for available addons</string>
</property>
</widget>
</item>

View File

@@ -39,16 +39,24 @@ from addonmanager_macro import Macro
# \ingroup ADDONMANAGER
# \brief Multithread workers for the addon manager
MACROS_BLACKLIST = ["BOLTS","WorkFeatures","how to install","PartsLibrary","FCGear"]
OBSOLETE = ["assembly2","drawing_dimensioning","cura_engine"] # These addons will print an additional message informing the user
# Blacklisted addons
MACROS_BLACKLIST = ["BOLTS",
"WorkFeatures",
"how to install",
"PartsLibrary",
"FCGear"]
# These addons will print an additional message informing the user
OBSOLETE = ["assembly2",
"drawing_dimensioning",
"cura_engine"]
NOGIT = False # for debugging purposes, set this to True to always use http downloads
"""Multithread workers for the Addon Manager"""
class UpdateWorker(QtCore.QThread):
"""This worker updates the list of available workbenches"""
@@ -278,7 +286,7 @@ class FillMacroListWorker(QtCore.QThread):
"""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.
Reads only the page https://www.freecadweb.org/wiki/Macros_recipes
"""
self.info_label_signal.emit("Downloading list of macros from the FreeCAD wiki...")