You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira #rb none #rnx #ROBOMERGE-SOURCE: CL 13007011 via CL 13007020 via CL 13007028 via CL 13007032 #ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288) [CL 13007037 by jamie dale in Main branch]
35 lines
959 B
C++
35 lines
959 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
|
|
class ITableRow;
|
|
class STableViewBase;
|
|
|
|
struct FMetaDataLine;
|
|
|
|
/**
|
|
* The widget to display metadata as a table of tag/value rows
|
|
*/
|
|
class EDITORWIDGETS_API SMetaDataView : public SCompoundWidget
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SMetaDataView) {}
|
|
SLATE_END_ARGS()
|
|
|
|
/**
|
|
* Construct this widget. Called by the SNew() Slate macro.
|
|
*
|
|
* @param InArgs Declaration used by the SNew() macro to construct this widget
|
|
* @param InMetaData The metadata tags/values to display in the table view widget
|
|
*/
|
|
void Construct(const FArguments& InArgs, const TMap<FName, FString>& InMetadata);
|
|
|
|
private:
|
|
TArray< TSharedPtr< FMetaDataLine > > MetaDataLines;
|
|
|
|
TSharedRef< ITableRow > OnGenerateRow(const TSharedPtr< FMetaDataLine > Item, const TSharedRef< STableViewBase >& OwnerTable);
|
|
};
|