Addon Manager: Auto-create toolbar button

When installing a macro, prompt user to install a toolbar button
automatically. Fills in the details of the button using the macro's
metadata, including an icon if the __icon__ metadata variable points to
a file.

Also:
* Support XPM data for macro icon
* Support online icons
* Fix bug in macro uninstall
* Cleaned up macro code
This commit is contained in:
Chris Hennes
2022-02-14 21:57:56 -06:00
parent 3be45f4087
commit 1a7fcd575e
9 changed files with 696 additions and 37 deletions

View File

@@ -3,27 +3,30 @@ IF (BUILD_GUI)
ENDIF (BUILD_GUI)
SET(AddonManager_SRCS
Init.py
InitGui.py
add_toolbar_button_dialog.ui
AddonManager.py
AddonManagerRepo.py
AddonManager.ui
addonmanager_macro.py
addonmanager_utilities.py
addonmanager_workers.py
AddonManager.ui
AddonManagerOptions.ui
AddonManagerRepo.py
ALLOWED_PYTHON_PACKAGES.txt
change_branch.py
change_branch.ui
first_run.ui
compact_view.py
dependency_resolution_dialog.ui
expanded_view.py
NetworkManager.py
package_list.py
package_details.py
first_run.ui
Init.py
InitGui.py
install_to_toolbar.py
loading.html
NetworkManager.py
package_details.py
package_list.py
TestAddonManagerApp.py
select_toolbar_dialog.ui
)
IF (BUILD_GUI)
LIST(APPEND AddonManager_SRCS TestAddonManagerGui.py)