Adds Download status info UI to Gem Catalog (#4602)
* Adds Download status info UI to Gem Catalog Signed-off-by: nggieber <nggieber@amazon.com> * Removed test code Signed-off-by: nggieber <nggieber@amazon.com> * Remove unused variable Signed-off-by: nggieber <nggieber@amazon.com> * Addressed PR feedback Signed-off-by: nggieber <nggieber@amazon.com> * Fixed Open3DEngine spelling Signed-off-by: nggieber <nggieber@amazon.com>
This commit is contained in:
@@ -40,6 +40,7 @@ namespace O3DE::ProjectManager
|
||||
static GemInfo::GemOrigin GetGemOrigin(const QModelIndex& modelIndex);
|
||||
static GemInfo::Platforms GetPlatforms(const QModelIndex& modelIndex);
|
||||
static GemInfo::Types GetTypes(const QModelIndex& modelIndex);
|
||||
static GemInfo::DownloadStatus GetDownloadStatus(const QModelIndex& modelIndex);
|
||||
static QString GetSummary(const QModelIndex& modelIndex);
|
||||
static QString GetDirectoryLink(const QModelIndex& modelIndex);
|
||||
static QString GetDocLink(const QModelIndex& modelIndex);
|
||||
@@ -64,6 +65,7 @@ namespace O3DE::ProjectManager
|
||||
static bool NeedsToBeRemoved(const QModelIndex& modelIndex, bool includeDependencies = false);
|
||||
static bool HasRequirement(const QModelIndex& modelIndex);
|
||||
static void UpdateDependencies(QAbstractItemModel& model, const QModelIndex& modelIndex);
|
||||
static void SetDownloadStatus(QAbstractItemModel& model, const QModelIndex& modelIndex, GemInfo::DownloadStatus status);
|
||||
|
||||
bool DoGemsToBeAddedHaveRequirements() const;
|
||||
bool HasDependentGemsToRemove() const;
|
||||
@@ -101,7 +103,8 @@ namespace O3DE::ProjectManager
|
||||
RoleFeatures,
|
||||
RoleTypes,
|
||||
RolePath,
|
||||
RoleRequirement
|
||||
RoleRequirement,
|
||||
RoleDownloadStatus
|
||||
};
|
||||
|
||||
QHash<QString, QModelIndex> m_nameToIndexMap;
|
||||
|
||||
Reference in New Issue
Block a user