Navigation
API > API/Editor > API/Editor/Kismet
Visual Diff between two Assets
| Name | SDetailsDiff |
| Type | class |
| Header File | /Engine/Source/Editor/Kismet/Public/SDetailsDiff.h |
| Include Path | #include "SDetailsDiff.h" |
Syntax
class SDetailsDiff : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SDetailsDiff
- FSlateControlledConstruction → SWidget → SCompoundWidget → SDetailsDiff
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SDetailsDiff() |
SDetailsDiff.h |
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FDiffControl |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnCustomizeDetailsWidget | TBaseDelegate_OneParam< void, const TSharedRef< IDetailsView > & > | SDetailsDiff.h | |
| FOnSetOutputObjectEvent | TMulticastDelegate_NoParams< void > | SDetailsDiff.h | |
| FOnWindowClosedEvent | TMulticastDelegate_OneParam< void, TSharedRef< SDetailsDiff > > | SDetailsDiff.h | |
| FRowHighlightColor | TBaseDelegate_OneParam< FLinearColor, const TUniquePtr< FAsyncDetailViewDiff::DiffNodeType > & > | SDetailsDiff.h | |
| FShouldHighlightRow | TBaseDelegate_OneParam< bool, const TUniquePtr< FAsyncDetailViewDiff::DiffNodeType > & > | SDetailsDiff.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnWindowClosedEvent | FOnWindowClosedEvent | SDetailsDiff.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
SDetailsDiff.h | ||
UObject * GetOutputObject() |
Return a serialized buffer of change requests made by the user | SDetailsDiff.h | |
bool IsOutputEnabled() |
Returns whether SetOutputObject was called with a valid object | SDetailsDiff.h | |
void OnDiffListSelectionChanged
(
TSharedPtr< struct FDiffResultItem > TheDiff |
Called when user clicks on an entry in the listview of differences | SDetailsDiff.h | |
void ReportMergeConflicts
(
const TMap< FString, TMap< FPropertySoftPath, ETreeDiffResult > >& Conflicts |
SDetailsDiff.h | ||
void SetOutputObject
(
UObject* OutputObject |
Enables actions like "Choose Left" and "Choose Right" which will modify the OutputObject | SDetailsDiff.h | |
virtual void Tick
(
const FGeometry& AllottedGeometry, |
SDetailsDiff.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDiffControl GenerateDetailsPanel
(
const TFunction< const UObject*(const UObject*)>& Redirector |
SDetailsDiff.h | ||
void GenerateDifferencesList() |
Function used to generate the list of differences and the widgets needed to calculate that list | SDetailsDiff.h | |
TSharedRef< SBox > GenerateRevisionInfoWidgetForPanel
(
TSharedPtr< SWidget >& OutGeneratedWidget, |
SDetailsDiff.h | ||
FName GetCurrentMode() |
SDetailsDiff.h | ||
bool HasNextDiff() |
Called to determine whether we have a list of differences to cycle through | SDetailsDiff.h | |
bool HasPrevDiff() |
SDetailsDiff.h | ||
void NextDiff() |
Called when user clicks button to go to next difference | SDetailsDiff.h | |
void OnCloseAssetEditor
(
UObject* Asset, |
Called when editor may need to be closed | SDetailsDiff.h | |
void OnModeChanged
(
const FName& InNewViewMode |
SDetailsDiff.h | ||
void OnObjectReplaced
(
const FCoreUObjectDelegates::FReplacementObjectMap& Replacements |
SDetailsDiff.h | ||
void PrevDiff() |
Called when user clicks button to go to prev difference | SDetailsDiff.h | |
void RefreshCurrentModePanel() |
SDetailsDiff.h | ||
void SetCurrentMode
(
FName NewMode |
Accessor and event handler for toggling between diff view modes (defaults, components, graph view, interface, macro): | SDetailsDiff.h | |
void UpdateTopSectionVisibility
(
const FName& InNewViewMode |
SDetailsDiff.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< SDetailsDiff > CreateDiffWindow
(
FText WindowTitle, |
Helper function to create a window that holds a diff widget | SDetailsDiff.h | |
static TSharedRef< SDetailsDiff > CreateDiffWindow
(
const UObject* OldObject, |
Helper function to create a window that holds a diff widget (default window title) | SDetailsDiff.h | |
static TSharedRef< SWidget > DefaultEmptyPanel() |
Helper function for generating an empty widget | SDetailsDiff.h |