Native struct
FGBAHeaderViewListItem#
A base class for List Items in the Header View
Methods#
-
protectedinline
Empty base constructor hidden from public
-
FGBAHeaderViewListItem(FString&& InRawString,
FString&& InRichText -
publicstatic TSharedPtr<FGBAHeaderViewListItem>Create(FString InRawString,
FString InRichTextCreates a basic list item containing some text
-
inline virtual voidExtendContextMenu(FMenuBuilder& InMenuBuilder,
TWeakObjectPtr<UObject> InAssetAllows the item to add items to the context menu if it is the only item selected
-
TSharedRef<SWidget>GenerateWidgetForItem() const
Creates the widget for this list item
-
static TArray<const FProperty*>GetAllProperties(const UStruct* InStruct,
const bool bInFilterReplicated = falseReturns all FProperties from the passed in object (generally a Blueprint skeleton class)
-
inline const FString&GetRawItemString() const
Returns the raw item text for copy actions
-
inline const FString&GetRichItemString() const
Returns the rich item text
-
static boolIsUsingClampedAttributeData(const UStruct* InStruct
Returns whether passed in owning UStruct has properties of type Clamped Attributes (hence needing the include)
-
inline virtual voidOnMouseButtonDoubleClick(TWeakObjectPtr<UObject> InAsset
Called when this List Item is double clicked
-
protectedstatic voidFormatCommentString(FString InComment,
FString& OutRawString,
FString& OutRichStringFormats a string into a C++ comment
-
static voidFormatSingleLineCommentString(FString InComment,
FString& OutRawString,
FString& OutRichStringFormats a string into a C++ comment
-
static FStringGetClassNameToGenerate(const UBlueprint* InBlueprint,
const FString& InDesiredClassName,
const bool bIncludePrefix = trueReturns classname prefixed
-
static FStringGetCPPTypenameForProperty(const FProperty* InProperty,
bool bIsMemberProperty = falsereturns a string representing the full C++ typename for the given property, including template params for container types
-
static const FText&GetErrorTextFromValidatorResult(EValidatorResult Result
Returns the correct Error text for a Validator Result
-
template<typename PropertyType>
inline const PropertyType*GetProperty(const FProperty* InPropertyGets the typed property, returns nullptr if not cast.
-
FStringGetPropertyValue(const FProperty& InProperty,
const UObject* InContainer,
const FString& InDesiredClassName,
const bool bInIsRichText = falseReturn String representation of the given FProperty
-
static boolIsValidCPPIdentifier(const FString& InIdentifier
Checks whether a string is a valid C++ identifier
-
static boolShouldUseConstRef(const FString& InCPPType
Returns whether the passed in cpp type should use const ref or not with OnRep definitions
-
static voidSortPropertiesForPadding(TArray<const FProperty*>& InOutProperties
Sorts an array of properties to optimize for minimal C++ struct padding
-
publicinline virtual
Fields#
-
protectedstatic const FText InvalidCPPIdentifierErrorText
Validation Error text for when a new name is not a valid C++ Identifier
-
FString RawItemString
A raw string representation of the item, used for copying the item
-
FString RichTextString
A rich text representation of the item, including syntax highlighting and errors