23template<
typename NumericType>
94 DropDownValues = InArgs._DropDownValues;
95 LabelText = InArgs._LabelText;
96 Orientation = InArgs._Orientation;
97 bShowNamedValue = InArgs._bShowNamedValue;
98 Value = InArgs._Value;
99 OnValueChanged = InArgs._OnValueChanged;
107 .Padding(
FMargin( 0, 0, 0, 3 ) )
119 .VAlign( EVerticalAlignment::VAlign_Center )
121 .Padding(
FMargin( 0, 0, 3, 0 ) )
136 .MinDesiredWidth( InArgs._MinDesiredValueWidth )
137 .RevertTextOnEscape(
true)
138 .SelectAllTextWhenFocused(
true)
155 FText GetValueText()
const
157 if (bShowNamedValue.
Get())
174 NumericType NewValue;
176 OnValueChanged.ExecuteIfBound(NewValue);
190 return MenuBuilder.MakeWidget();
193 void SetValue( NumericType
InValue )
196 OnValueChanged.ExecuteIfBound(
InValue);
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define NULL
Definition oodle2base.h:134
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define SNew(WidgetType,...)
Definition DeclarativeSyntaxSupport.h:37
#define SLATE_ATTRIBUTE(AttrType, AttrName)
Definition DeclarativeSyntaxSupport.h:192
#define SLATE_EVENT(DelegateName, EventName)
Definition DeclarativeSyntaxSupport.h:458
#define SLATE_END_ARGS()
Definition DeclarativeSyntaxSupport.h:116
#define SLATE_ARGUMENT(ArgType, ArgName)
Definition DeclarativeSyntaxSupport.h:208
EOrientation
Definition SlateEnums.h:261
static FSlateApplication & Get()
Definition SlateApplication.h:319
SLATE_API void ClearKeyboardFocus(const EFocusCause ReasonFocusIsChanging=EFocusCause::SetDirectly)
Definition SlateApplication.cpp:2761
static CORE_API FText AsNumber(float Val, const FNumberFormattingOptions *const Options=NULL, const FCulturePtr &TargetCulture=NULL)
Definition SEditableTextBox.h:29
Definition SBoxPanel.h:171
static FSlot::FSlotArguments Slot()
Definition SBoxPanel.h:272
Definition SNumericDropDown.h:32
FText GetName() const
Definition SNumericDropDown.h:50
NumericType GetValue() const
Definition SNumericDropDown.h:45
FText GetDescription() const
Definition SNumericDropDown.h:55
FNamedValue(NumericType InValue, FText InName, FText InDescription)
Definition SNumericDropDown.h:38
Definition SNumericDropDown.h:25
DECLARE_DELEGATE_OneParam(FOnValueChanged, NumericType)
void Construct(const FArguments &InArgs)
Definition SNumericDropDown.h:92
SLATE_BEGIN_ARGS(SNumericDropDown< NumericType >)
Definition SNumericDropDown.h:67
Definition STextBlock.h:45
Definition SBoxPanel.h:322
static FSlot::FSlotArguments Slot()
Definition SBoxPanel.h:424
Definition Attribute.h:17
const ObjectType & Get() const
Definition Attribute.h:241
Definition SharedPointer.h:153
Type
Definition SlateEnums.h:291
@ false
Definition radaudio_common.h:23
Definition Visibility.h:12
static SLATECORE_API const EVisibility Visible
Definition Visibility.h:14
static SLATECORE_API const EVisibility Collapsed
Definition Visibility.h:17
static UE_FORCEINLINE_HINT bool IsNearlyEqual(float A, float B, float ErrorTolerance=UE_SMALL_NUMBER)
Definition UnrealMathUtility.h:388
Definition SlateIcon.h:13
static void FromString(T &Value, const CharType *Buffer)
Definition UnrealString.h:221