SNumericEntryBox

Implementation for a box that only accepts a numeric value or that can display an undetermined value via a string Supports an optional spin box for manipulating a value by dragging with the mouse Supports an optional label inset in the text box

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/SlateFwd.h

Include

#include "SlateFwd.h"

Syntax

template<typename NumericType>
class SNumericEntryBox : public SCompoundWidget

Remarks

Implementation for a box that only accepts a numeric value or that can display an undetermined value via a string Supports an optional spin box for manipulating a value by dragging with the mouse Supports an optional label inset in the text box

Constructors

Name Description

Public function

SNumericEntryBox()

Functions

Name Description

Public function Static

TSharedRef< ...

 

BuildLabel

(
    TAttribute< FText > LabelText,
    const FSlateColor& ForegroundColor,
    const FSlateColor& BackgroundColor
)

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function Const

TSharedPtr< ...

 

GetSpinBox()

Return the internally created SpinBox if bAllowSpin is true

Classes

Name

Description

Public struct

FArguments

Typedefs

Name

Description

FOnDynamicSliderMinMaxValueChanged

Notification when the max/min spinner values are changed (only apply if SupportDynamicSliderMaxValue or SupportDynamicSliderMinValue are true)

FOnUndeterminedValueChanged

Notification for change of undetermined values

FOnUndeterminedValueCommitted

Notification for committing undetermined values

FOnValueChanged

Notification for numeric value change

FOnValueCommitted

Notification for numeric value committed

Constants

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss