Commit Graph

12 Commits

Author SHA1 Message Date
Alessandro Portale
bb32b44671 ExtensionManager: Enable opening of external links
Amends: 81163b431e

Change-Id: I512279d86590bc35d7816ff69bb618aea58b4fcb
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-25 14:57:51 +00:00
Alessandro Portale
81163b431e ExtensionManager: Implement Extension details design
This implements the design for the "right side" of the extension
manager.

The introduced "header" shows the extension icon in a slightly bigger
variant. The "Install..." button that starts downloading and installing
of a plugin moved to the newly desigend "header".

The previous HTML based prototype has been split up into separate items
in order to achieve specialized sections like the images and tags.

Images are loaded via TaskTree and displayed as static image or as
animation.

Change-Id: Ifaf4a46c0a4789e77e76f9a44c8a15ee74c5e8df
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-06-24 11:47:30 +00:00
Alessandro Portale
0ccfccd5c5 ExtensionManager: Some cleanups
Stuff you notice 10 Minutes after pushing the code you worked on for
days.

Change-Id: I24614b8129f80c8986ec11d5146c5631dae5d515
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-05-31 10:26:44 +00:00
Alessandro Portale
1a1d938170 ExtensionManager: Introduce extensions service response parser and model
This adds a parser for the JSON response of the extension rest API. The
data, combined with the PluginSpecs of local plugins, serve as data
model for the extension mode view.

A couple of "packs" are provided as test data.

Change-Id: I5ce961a9de9bf54ca745e5e5a5e584b1698e6ac6
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-05-30 16:32:48 +00:00
hjk
efae651924 Utils: Introduce a convenience function creatorColor()
... forwarding to creatorTheme()->color(...)

Change-Id: Iefaa043495127b3e500ed225584481d3ec0f8c1f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-29 13:49:25 +00:00
hjk
971938421c Use LayoutBuilder V2
This puts the implementation introduced in acf1ecb47f into use, after
significant simplifications in the class hierarchy. CRTP is not used
anymore, and the new tag based dispatch is also used for Layout::addItem,
effectively reducing the number of different code paths.

The Lua based settings access is disabled for now.

Change-Id: Idb6d1a25675378757c5267bdb630bcd4c1f52d34
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-05-27 12:38:48 +00:00
Marcus Tillmanns
657ce51467 ExtensionSystem: FilePath'ify
Change IPlugin::fileName() and IPlugin::location to use
FilePath instead of QString.

Change-Id: If473ab1e258951735f93221cbd62c505f0727eb2
Reviewed-by: hjk <hjk@qt.io>
2024-05-08 10:29:59 +00:00
Alessandro Portale
903d01b934 Welcome: Implement new design
2024 redesign

Change-Id: I6629849921272d856f201693973a8e29c6465e94
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-02-27 16:42:10 +00:00
Alessandro Portale
d952c2fdd4 ExtensionManager: Remove unneeded include
Change-Id: I56244fbe26d8d00916977a60b801a1075b3e7010
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2024-01-31 20:05:35 +00:00
Christian Stenger
f663f22fa0 ExtensionManager: Minor fixes
* re-order some includes
* avoid using *tr.h inside header
* typo

Change-Id: Iba8d46384410ff06b184f55d66c4e7afca4ab666
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2024-01-08 11:08:32 +00:00
Jarek Kobus
a9721c5f34 ExtensionManagerWidget: Fix warning about unused arg
Amends f97fd83fc9

Change-Id: I540a3a8916bb7de363aacf309ca2474b221add78
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2023-12-11 13:35:07 +00:00
hjk
f97fd83fc9 Plugins: Add skeleton for new ExtensionManager plugin
This initial commit is merely a mockup of a ExtensionManager concept.

Change-Id: I19b2285667678a86097c043cc27a554545559eff
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2023-12-11 12:10:36 +00:00