17 virtual bool IsStructAllowed(
const FStructViewerInitializationOptions& InInitOptions,
const UScriptStruct* InStruct, TSharedRef<class FStructViewerFilterFuncs> InNode)
override;
19 virtual bool IsUnloadedStructAllowed(
const FStructViewerInitializationOptions& InInitOptions,
const FSoftObjectPath& InStructPath, TSharedRef<class FStructViewerFilterFuncs> InNode)
override;
22 bool IsPackageAllowed(
const FString& PackageName)
const;
24 TArray<FString> AllowedScripts;
32 DECLARE_DELEGATE_OneParam(FOnValueChanged,
const FString&);
36 , _PropertyType(ELiveConfigPropertyType::String)
39 SLATE_ATTRIBUTE(FString, Value);
40 SLATE_ATTRIBUTE(ELiveConfigPropertyType, PropertyType);
41 SLATE_ATTRIBUTE(
bool, bReadOnly);
42 SLATE_EVENT(FOnValueChanged, OnValueChanged);
43 SLATE_EVENT(FSimpleDelegate, OnEnter);
46 void Construct(
const FArguments& InArgs);
51 TSharedRef<SWidget> OnGetStructPickerMenu();
52 void OnStructPicked(
const UScriptStruct* ChosenStruct);
53 bool VerifyValueText(
const FText& NewText, FText& OutError);
54 void ValueTextCommitted(
const FText& NewText, ETextCommit::Type CommitType);
56 TAttribute<FString> ValueAttribute;
57 TAttribute<ELiveConfigPropertyType> PropertyTypeAttribute;
58 TAttribute<bool> bReadOnlyAttribute;
59 FOnValueChanged OnValueChanged;
60 FSimpleDelegate OnEnter;
62 TSharedPtr<class SEditableTextBox> ValueTextBox;
63 TSharedPtr<class SCheckBox> ValueCheckBox;
64 TSharedPtr<class SComboButton> StructComboButton;