Navigation
Unreal Engine C++ API Reference > Editor > Kismet
Inheritance Hierarchy
References
Module | Kismet |
Header | /Engine/Source/Editor/Kismet/Public/SDetailsDiff.h |
Include | #include "SDetailsDiff.h" |
Syntax
class SDetailsDiff : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)
Remarks
Visual Diff between two Assets
Variables
Type | Name | Description |
---|---|---|
FDelegateHandle | AssetEditorCloseDelegate | |
FName | CurrentMode | |
TSharedPtr< STr... | DifferencesTreeView | Tree view that displays the differences, cached for the buttons that iterate the differences: |
TSharedPtr< SBo... | ModeContents | Contents widget that we swap when mode changes (defaults, components, etc) |
TMap< FName, FD... | ModePanels | Stored references to widgets used to display various parts of an object, from the mode name |
FOnSetOutputObj... | OnOutputObjectSetEvent | |
FOnWindowClosed... | OnWindowClosedEvent | |
UObject * | OutputObjectModified | |
const UObject &... | OutputObjectUnmodified | If set, actions like "Choose Left" and "Choose Right" will be enabled and modify the OutputObject |
FDetailsDiffPan... | PanelNew | |
FDetailsDiffPan... | PanelOld | The two panels used to show the old & new revision |
TArray< TShared... | PrimaryDifferencesList | Tree of differences collected across all panels: |
TArray< TShared... | RealDifferences | List of all differences, cached so that we can iterate only the differences and not labels, etc: |
TSharedPtr< FTa... | TabManager | We can't use the global tab manager because we need to instance the diff control, so we have our own tab manager: |
TSharedPtr< SSp... | TopRevisionInfoWidget | |
TWeakPtr< SWind... | WeakParentWindow | A pointer to the window holding this |
Destructors
Type | Name | Description |
---|---|---|
~SDetailsDiff () |
Functions
Type | Name | Description |
---|---|---|
void | Construct ( const FArguments& InArgs ) | |
TSharedRef< ... | CreateDiffWindow ( FText WindowTitle, const UObject* OldObject, const UObject* NewObject, const FRevisionInfo& OldRevision, const FRevisionInfo& NewRevision ) | Helper function to create a window that holds a diff widget |
TSharedRef< ... | CreateDiffWindow ( const UObject* OldObject, const UObject* NewObject, const FRevisionInfo& OldRevision, const FRevisionInfo& NewRevision, const UClass* ObjectClass ) | Helper function to create a window that holds a diff widget (default window title) |
TSharedRef< ... | DefaultEmptyPanel () | Helper function for generating an empty widget |
FDiffControl | GenerateDetailsPanel () | |
void | GenerateDifferencesList () | Function used to generate the list of differences and the widgets needed to calculate that list |
TSharedRef< ... | GenerateRevisionInfoWidgetForPanel ( TSharedPtr< SWidget >& OutGenerate..., const FText& InRevisionText ) | |
FName | GetCurrentMode () | |
void | GetModifications ( FArchive& Archive ) | Return a serialized buffer of change requests made by the user |
bool | HasNextDiff () | Called to determine whether we have a list of differences to cycle through |
bool | HasPrevDiff () | |
bool | IsOutputEnabled () | Returns whether SetOutputObject was called with a valid object |
void | NextDiff () | Called when user clicks button to go to next difference |
void | OnCloseAssetEditor ( UObject* Asset, EAssetEditorCloseReason CloseReason ) | Called when editor may need to be closed |
void | OnDiffListSelectionChanged ( TSharedPtr< struct FDiffResultItem ... ) | Called when user clicks on an entry in the listview of differences |
void | OnModeChanged ( const FName& InNewViewMode ) | |
void | PrevDiff () | Called when user clicks button to go to prev difference |
void | RequestModifications ( FArchive& Archive ) | Submit an archive with change requests to make to OutputObject |
void | SetCurrentMode ( FName NewMode ) | Accessor and event handler for toggling between diff view modes (defaults, components, graph view, interface, macro): |
void | SetOutputObject ( const UObject* OutputObject ) | Enables actions like "Choose Left" and "Choose Right" which will modify the OutputObject |
void | UpdateTopSectionVisibility ( const FName& InNewViewMode ) |
Overridden from SWidget
Type | Name | Description |
---|---|---|
void | Tick ( const FGeometry& AllottedGeometry, const double InCurrentTime, const float InDeltaTime ) | Ticks this widget with Geometry. |
Classes
Type | Name | Description |
---|---|---|
Public struct | FArguments | |
Protected struct | FDiffControl |
Typedefs
Name | Description |
---|---|
FOnSetOutputObjectEvent | |
FOnWindowClosedEvent |