Navigation
API > API/Developer > API/Developer/UndoHistory
| Name | SUndoHistoryDetails |
| Type | class |
| Header File | /Engine/Source/Developer/UndoHistory/Public/Widgets/SUndoHistoryDetails.h |
| Include Path | #include "Widgets/SUndoHistoryDetails.h" |
Syntax
class SUndoHistoryDetails : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SUndoHistoryDetails
- FSlateControlledConstruction → SWidget → SCompoundWidget → SUndoHistoryDetails
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FUndoDetailsTreeNode | Tree node representing a changed object and its changed properties as children. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTreeItemTextFilter | TTextFilter< const FString & > | Widgets/SUndoHistoryDetails.h | |
| FUndoDetailsTreeNodePtr | TSharedPtr< FUndoDetailsTreeNode > | Widgets/SUndoHistoryDetails.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNeedsExpansion | bool | If the tree items need to be expanded (ie. When the filter text changes). | Widgets/SUndoHistoryDetails.h | |
| bNeedsRefresh | bool | If the details tree needs to be refreshed. | Widgets/SUndoHistoryDetails.h | |
| ChangedObjects | TArray< FUndoDetailsTreeNodePtr > | Holds the ChangedObjects to be used as an ItemSource to the TreeView. | Widgets/SUndoHistoryDetails.h | |
| ChangedObjectsTreeView | TSharedPtr< STreeView< FUndoDetailsTreeNodePtr > > | Holds the ChangedObjects TreeView. | Widgets/SUndoHistoryDetails.h | |
| FilteredChangedObjects | TArray< FUndoDetailsTreeNodePtr > | Holds the ChangedObjects to be displayed. | Widgets/SUndoHistoryDetails.h | |
| FilterTextBoxWidget | TSharedPtr< class SSearchBox > | Holds the search box. | Widgets/SUndoHistoryDetails.h | |
| ReflectionData | TSharedPtr< UE::UndoHistory::IReflectionDataProvider > | Gives us information about property data (gives programs the opportunity to inject custom handler since not all reflection data is available in programs). | Widgets/SUndoHistoryDetails.h | |
| SearchBoxFilter | TSharedPtr< FTreeItemTextFilter > | The TextFilter attached to the SearchBox widget of the UndoHistoryDetails panel. | Widgets/SUndoHistoryDetails.h | |
| TransactionId | FText | Holds the TransactionId. | Widgets/SUndoHistoryDetails.h | |
| TransactionName | FText | Holds the TransactionName. | Widgets/SUndoHistoryDetails.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
Construct this widget | Widgets/SUndoHistoryDetails.h | |
void Reset() |
Clear the details panel. | Widgets/SUndoHistoryDetails.h | |
void SetSelectedTransaction
(
const FTransactionDiff& InTransactionDiff |
Set the transaction to be displayed in the details panel. | Widgets/SUndoHistoryDetails.h | |
virtual void Tick
(
const FGeometry& AllottedGeometry, |
SWidget interface | Widgets/SUndoHistoryDetails.h |