Gets the underlying slate widget or constructs it if it doesn't exist.
#pragma once
#include "FieldNotificationDeclaration.h"
#include "Widget.generated.h"
#ifndef UE_HAS_WIDGET_GENERATED_BY_CLASS
#define UE_HAS_WIDGET_GENERATED_BY_CLASS (!UE_BUILD_SHIPPING || WITH_EDITOR)
#endif
#ifndef WIDGET_INCLUDE_RELFECTION_METADATA
#define WIDGET_INCLUDE_RELFECTION_METADATA (!UE_BUILD_SHIPPING || WITH_EDITOR)
#endif
{
enum
{
};
enum
{
};
}
#if WITH_EDITOR
#define PROPERTY_BINDING(ReturnType, MemberName) \
( MemberName ## Delegate.IsBound() && !IsDesignTime() ) \
? \
BIND_UOBJECT_ATTRIBUTE(ReturnType, K2_Gate_ ## MemberName) \
: \
TAttribute< ReturnType >(MemberName)
#define BITFIELD_PROPERTY_BINDING(MemberName) \
( MemberName ## Delegate.IsBound() && !IsDesignTime() ) \
? \
BIND_UOBJECT_ATTRIBUTE(bool, K2_Gate_ ## MemberName) \
: \
TAttribute< bool >(MemberName != 0)
#define PROPERTY_BINDING_IMPLEMENTATION(ReturnType, MemberName) \
ReturnType K2_Cache_ ## MemberName; \
ReturnType K2_Gate_ ## MemberName() \
{ \
if (CanSafelyRouteEvent()) \
{ \
K2_Cache_ ## MemberName = TAttribute< ReturnType >::Create(MemberName ## Delegate.GetUObject(), MemberName ## Delegate.GetFunctionName()).Get(); \
} \
\
return K2_Cache_ ## MemberName; \
}
#else
#define PROPERTY_BINDING(ReturnType, MemberName) \
( MemberName ## Delegate.IsBound() && !IsDesignTime() ) \
? \
TAttribute< ReturnType >::Create(MemberName ## Delegate.GetUObject(), MemberName ## Delegate.GetFunctionName()) \
: \
TAttribute< ReturnType >(MemberName)
#define BITFIELD_PROPERTY_BINDING(MemberName) \
( MemberName ## Delegate.IsBound() && !IsDesignTime() ) \
? \
TAttribute< bool >::Create(MemberName ## Delegate.GetUObject(), MemberName ## Delegate.GetFunctionName()) \
: \
TAttribute< bool >(MemberName != 0)
#define PROPERTY_BINDING_IMPLEMENTATION(Type, MemberName)
#endif
#define GAME_SAFE_OPTIONAL_BINDING(ReturnType, MemberName) PROPERTY_BINDING(ReturnType, MemberName)
#define GAME_SAFE_BINDING_IMPLEMENTATION(ReturnType, MemberName) PROPERTY_BINDING_IMPLEMENTATION(ReturnType, MemberName)
#define OPTIONAL_BINDING_CONVERT(ReturnType, MemberName, ConvertedType, ConversionFunction) \
( MemberName ## Delegate.IsBound() && !IsDesignTime() ) \
? \
TAttribute< ConvertedType >::Create(TAttribute< ConvertedType >::FGetter::CreateUObject(this, &ThisClass::ConversionFunction, TAttribute< ReturnType >::Create(MemberName ## Delegate.GetUObject(), MemberName ## Delegate.GetFunctionName()))) \
: \
ConversionFunction(TAttribute< ReturnType >(MemberName))
{
};
#if WITH_EDITOR
struct FDesignerChangedEventArgs
{
public:
FDesignerChangedEventArgs()
, DpiScale(1.0f)
{
}
public:
bool bScreenPreview;
float DpiScale;
};
#endif
UCLASS(Abstract, BlueprintType, Blueprintable, CustomFieldNotify, MinimalAPI)
{
public:
UPROPERTY(Instanced, TextExportTransient, EditAnywhere, BlueprintReadOnly, Category=
Layout, meta=(ShowOnlyInnerProperties))
UE_DEPRECATED(5.1, "
Direct access to
ToolTipText is deprecated. Please use the getter or setter.")
UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter="
SetToolTipText", Category="Behavior", meta=(MultiLine=
true))
UE_DEPRECATED(5.1, "
Direct access to
ToolTipWidget is deprecated. Please use the getter or setter.")
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category="Localization")
UE_DEPRECATED(5.1, "
Direct access to
bIsEnabled is deprecated. Please use the getter or setter.")
UPROPERTY(EditAnywhere, Category="Behavior", meta=(InlineEditConditionToggle))
#if WITH_EDITORONLY_DATA
UPROPERTY(EditAnywhere, Category=
"Accessibility")
uint8 bOverrideAccessibleDefaults : 1;
UPROPERTY(EditAnywhere, Category="Accessibility", meta=(EditCondition="bOverrideAccessibleDefaults"))
uint8 bCanChildrenBeAccessible : 1;
UPROPERTY(EditAnywhere, Category="Accessibility", meta=(EditCondition="bOverrideAccessibleDefaults"))
UPROPERTY(EditAnywhere, Category="Accessibility", AdvancedDisplay, meta=(EditCondition="bOverrideAccessibleDefaults"))
UPROPERTY(EditAnywhere, Category="Accessibility", meta=(MultiLine=
true))
UPROPERTY(EditAnywhere, Category="Accessibility", meta=(MultiLine=
true), AdvancedDisplay)
FText AccessibleSummaryText;
#endif
protected:
UPROPERTY(EditAnywhere, BlueprintReadOnly, Category=
"Performance")
public:
public:
#if WITH_EDITORONLY_DATA
uint8 bHiddenInDesigner:1;
uint8 bExpandedInDesigner:1;
uint8 bLockedInDesigner:1;
#endif
UE_DEPRECATED(5.1,
"Direct access to Cursor is deprecated. Please use the getter or setter.")
UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, BlueprintSetter="
SetCursor", Category="Behavior", AdvancedDisplay, meta = (editcondition = "
bOverride_Cursor"))
UE_DEPRECATED(5.1, "
Direct access to
Clipping is deprecated. Please use the getter or setter.")
UE_DEPRECATED(5.1, "
Direct access to
Visibility is deprecated. Please use the getter or setter.")
private:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Getter, Setter, Category = "
Rendering", meta=(AllowPrivateAccess =
true))
protected:
UE_DEPRECATED(5.1, "
Direct access to
RenderOpacity is deprecated. Please use the getter or setter.")
private:
public:
#if WITH_EDITORONLY_DATA
#endif
public:
#if WITH_EDITOR
bool IsLockedInDesigner() const
{
return bLockedInDesigner;
}
virtual void SetLockedInDesigner(bool NewLockedInDesigner)
{
bLockedInDesigner = NewLockedInDesigner;
}
#endif
#if UE_HAS_WIDGET_GENERATED_BY_CLASS
#endif
public:
UFUNCTION(BlueprintCallable, Category=
"Widget|Transform")
UFUNCTION(BlueprintPure, BlueprintCosmetic, Category = "Appearance")
protected:
public:
UFUNCTION(BlueprintCallable, Category="
Widget", meta=(DisplayName="HasAnyUserFocusedDescendants"))
public:
protected:
public:
{
}
private:
public:
UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category =
"Widget")
{
}
UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category =
"Widget")
{
}
UFUNCTION(BlueprintCallable, BlueprintCosmetic, Category =
"Widget")
{
}
UFUNCTION(BlueprintCallable, Category =
"Widget")
#if WITH_EDITOR
{
}
{
}
{
}
{
}
const FString& GetDisplayLabel() const
{
return DisplayLabel;
}
UMG_API void SetDisplayLabel(
const FString& DisplayLabel);
UMG_API const FString& GetCategoryName()
const;
#else
#endif
{
}
{
}
protected:
public:
#if WITH_EDITOR
#endif
protected:
#if WITH_EDITOR
#endif
UE_DEPRECATED(5.5,
"FWidgetStateBitfield currently no longer supports enum states")
#if WITH_EDITOR
#endif
protected:
{
}
{
}
{
}
#if WITH_ACCESSIBILITY
#endif
protected:
private:
#if WITH_EDITORONLY_DATA
FString DisplayLabel;
FString CategoryName;
#endif
#if !(UE_BUILD_SHIPPING || UE_BUILD_TEST)
UMG_API void VerifySynchronizeProperties();
bool bRoutedSynchronizeProperties;
#else
inline void VerifySynchronizeProperties() { }
#endif
private:
#if WITH_EDITORONLY_DATA
#endif
};
EWidgetClipping
Definition Clipping.h:20
#define GIntraFrameDebuggingGameThread
Definition CoreGlobals.h:234
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_MULTICAST_DELEGATE_TwoParams(DelegateName, Param1Type, Param2Type)
Definition DelegateCombinations.h:58
#define DECLARE_DYNAMIC_DELEGATE_RetVal_TwoParams(ReturnValueType, DelegateName, Param1Type, Param1Name, Param2Type, Param2Name)
Definition DelegateCombinations.h:64
#define DECLARE_DYNAMIC_DELEGATE_RetVal_OneParam(ReturnValueType, DelegateName, Param1Type, Param1Name)
Definition DelegateCombinations.h:55
#define DECLARE_DYNAMIC_DELEGATE_RetVal(ReturnValueType, DelegateName)
Definition DelegateCombinations.h:44
constexpr bool EnumHasAnyFlags(Enum Flags, Enum Contains)
Definition EnumClassFlags.h:35
#define ENUM_CLASS_FLAGS(Enum)
Definition EnumClassFlags.h:6
return true
Definition ExternalRpcRegistry.cpp:601
#define UE_FIELD_NOTIFICATION_DECLARE_ENUM_FIELD_END()
Definition FieldNotificationDeclaration.h:86
#define UE_FIELD_NOTIFICATION_DECLARE_FIELD(Name, API_STRING)
Definition FieldNotificationDeclaration.h:91
#define UE_FIELD_NOTIFICATION_DECLARE_ENUM_FIELD(Name)
Definition FieldNotificationDeclaration.h:95
#define UE_FIELD_NOTIFICATION_DECLARE_ENUM_FIELD_BEGIN(Name)
Definition FieldNotificationDeclaration.h:80
#define UE_FIELD_NOTIFICATION_DECLARE_CLASS_DESCRIPTOR_BASE_BEGIN(API_STRING)
Definition FieldNotificationDeclaration.h:63
EFlowDirectionPreference
Definition FlowDirection.h:30
const void * FDelegateUserObjectConst
Definition IDelegateInstance.h:108
EUINavigationRule
Definition NavigationReply.h:15
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
EUINavigation
Definition SlateEnums.h:99
ECheckBoxState
Definition SlateTypes.h:65
ESlateVisibility
Definition SlateWrapperTypes.h:22
ESlateAccessibleBehavior
Definition SlateWrapperTypes.h:38
uint32 Size
Definition VulkanMemory.cpp:4034
Definition PlayerController.h:261
Definition IDelegateInstance.h:14
Definition UnrealType.h:6397
Definition NameTypes.h:617
Definition ObjectSaveContext.h:244
Definition UnrealType.h:174
bool IsRoutingPostLoad
Definition UObjectThreadContext.h:95
Definition FieldNotification.Build.cs:6
Definition INotifyFieldValueChanged.h:23
TDelegate< void(UObject *, UE::FieldNotification::FFieldId), FNotThreadSafeNotCheckedDelegateUserPolicy > FFieldValueChangedDelegate
Definition INotifyFieldValueChanged.h:29
Definition Attribute.h:17
Definition EnumAsByte.h:22
Definition AssetRegistryState.h:50
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Definition SubclassOf.h:30
static FORCEINLINE FUObjectThreadContext & Get()
Definition ThreadSingleton.h:101
Definition SharedPointer.h:1295
Definition GameInstance.h:152
Definition GameViewportSubsystem.h:53
Definition LocalPlayer.h:169
UE_FORCEINLINE_HINT bool IsUnreachable() const
Definition UObjectBaseUtility.h:246
UE_FORCEINLINE_HINT bool Modify(bool bAlwaysMarkDirty=true)
Definition Object.h:317
Definition PanelSlot.h:13
Definition PropertyBinding.h:18
Definition FieldSystemNoiseAlgo.cpp:6
Definition AdvancedWidgetsModule.cpp:13
@ false
Definition radaudio_common.h:23
Definition Visibility.h:12
Definition DynamicPropertyPath.h:19
Definition SlateWrapperTypes.h:129
Definition FieldNotificationId.h:86
Definition NavigationMethod.h:12
Definition UnrealType.h:6865
Definition SlateStructs.h:96
Definition SlateBrush.h:239
Definition SlateWrapperTypes.h:145
Definition SlateColor.h:42
Definition InstancedStruct.h:307
Definition UnrealTypeTraits.h:40
Definition ObjectPtr.h:488
Definition Optional.h:131
constexpr const OptionalType & Get(const OptionalType &DefaultValue UE_LIFETIMEBOUND) const UE_LIFETIMEBOUND
Definition Optional.h:472
Definition WeakObjectPtrTemplates.h:25