Addon Manager: Begin UI redesign

Migrate to a UI that looks more like other software package managers, giving
more space to each addon by hiding the list when an addon is selected, and
providing a "back" button to get back.

Implements a two-style view option for the list of addons: expanded and
condensed, via a delegate that provides the drawing function for each row in
the table based on two different widget designs.
This commit is contained in:
Chris Hennes
2021-11-16 16:11:14 -06:00
parent f9a6310332
commit e42eec2558
17 changed files with 1786 additions and 847 deletions

View File

@@ -61,6 +61,8 @@
<file>icons/WebTools_workbench_icon.svg</file>
<file>icons/workfeature_workbench_icon.svg</file>
<file>icons/yaml-workspace_workbench_icon.svg</file>
<file>icons/expanded_view.svg</file>
<file>icons/compact_view.svg</file>
<file>translations/AddonManager_af.qm</file>
<file>translations/AddonManager_ar.qm</file>
<file>translations/AddonManager_ca.qm</file>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;stroke:#000000;stroke-miterlimit:10;}
.st1{fill:none;stroke:#000000;stroke-miterlimit:10;}
</style>
<rect x="0.5" y="1.5" class="st0" width="3" height="3"/>
<rect x="0.5" y="6.5" class="st0" width="3" height="3"/>
<rect x="0.5" y="11.5" class="st0" width="3" height="3"/>
<line class="st1" x1="6" y1="3.5" x2="16" y2="3.5"/>
<line class="st1" x1="6" y1="8.5" x2="16" y2="8.5"/>
<line class="st1" x1="6" y1="13.5" x2="16" y2="13.5"/>
</svg>

After

Width:  |  Height:  |  Size: 829 B

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 26.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 16 16" style="enable-background:new 0 0 16 16;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;stroke:#000000;stroke-miterlimit:10;}
.st1{fill:none;stroke:#000000;stroke-miterlimit:10;}
</style>
<rect x="0.5" y="1.5" class="st0" width="5" height="5"/>
<line class="st1" x1="7" y1="2.5" x2="16" y2="2.5"/>
<line class="st1" x1="7" y1="10.5" x2="16" y2="10.5"/>
<line class="st1" x1="7" y1="13.5" x2="16" y2="13.5"/>
<rect x="0.5" y="9.5" class="st0" width="5" height="5"/>
<line class="st1" x1="7" y1="5.5" x2="16" y2="5.5"/>
</svg>

After

Width:  |  Height:  |  Size: 826 B