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>
This commit is contained in:
Alessandro Portale
2024-05-29 16:00:22 +02:00
parent fb2a1ecd37
commit 1a1d938170
14 changed files with 1234 additions and 512 deletions

View File

@@ -9,4 +9,14 @@ add_qtc_plugin(ExtensionManager
extensionmanagerwidget.h
extensionsbrowser.cpp
extensionsbrowser.h
extensionsmodel.cpp
extensionsmodel.h
)
extend_qtc_plugin(ExtensionManager
CONDITION WITH_TESTS
SOURCES
extensionmanager_test.cpp
extensionmanager_test.h
extensionmanager_test.qrc
)