4cee263033
* Minimal TypeInfo header/reduce std interdependencies. TypeInfoSimple.h is a small header that can replace the use of TypeInfo.h in some cases. Signed-off-by: Nemerle <nemerle5+git@gmail.com> * Windows build fixed Removed algorithm.h from string_view.h smoke-test passed Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Resotore dynamic_pointer_cast in intrusive_ptr Requested by reviewer. Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Fix CI build string.h - missed alogorithm.h, since it was removed from string_view NodeWrapper.h - missing smart_ptr.h Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> Co-authored-by: Nemerle <nemerle5+git@gmail.com>
57 lines
1.6 KiB
C++
57 lines
1.6 KiB
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#if !defined(Q_MOC_RUN)
|
|
#include "AssetDetailsPanel.h"
|
|
#include <AzCore/std/smart_ptr/shared_ptr.h>
|
|
#include <QScopedPointer>
|
|
#endif
|
|
|
|
class QItemSelection;
|
|
|
|
namespace Ui
|
|
{
|
|
class SourceAssetDetailsPanel;
|
|
}
|
|
|
|
namespace AssetProcessor
|
|
{
|
|
class AssetDatabaseConnection;
|
|
class SourceAssetTreeItemData;
|
|
|
|
class SourceAssetDetailsPanel
|
|
: public AssetDetailsPanel
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit SourceAssetDetailsPanel(QWidget* parent = nullptr);
|
|
~SourceAssetDetailsPanel() override;
|
|
|
|
public Q_SLOTS:
|
|
void AssetDataSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
|
|
|
|
protected:
|
|
void ResetText();
|
|
void SetDetailsVisible(bool visible);
|
|
|
|
void BuildProducts(
|
|
AssetDatabaseConnection& assetDatabaseConnection,
|
|
const AZStd::shared_ptr<const SourceAssetTreeItemData> sourceItemData);
|
|
void BuildOutgoingSourceDependencies(
|
|
AssetDatabaseConnection& assetDatabaseConnection,
|
|
const AZStd::shared_ptr<const SourceAssetTreeItemData> sourceItemData);
|
|
void BuildIncomingSourceDependencies(
|
|
AssetDatabaseConnection& assetDatabaseConnection,
|
|
const AZStd::shared_ptr<const SourceAssetTreeItemData> sourceItemData);
|
|
|
|
QScopedPointer<Ui::SourceAssetDetailsPanel> m_ui;
|
|
};
|
|
} // namespace AssetProcessor
|