Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SNumericEntryBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SNumericEntryBox::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SNumericEntryBox.h |
| Include | #include "Widgets/Input/SNumericEntryBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SNumericEntryBox< NumericType > >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | AllowSpin
(
bool InArg |
Whether or not the user should be able to change the value by dragging with the mouse cursor | |
| WidgetArgsType & | AllowWheel
(
bool InArg |
Whether this spin box should have mouse wheel feature enabled, defaults to true | |
| WidgetArgsType & | BorderBackgroundColor
(
FSlateColor InArg |
Border Background Color | |
| WidgetArgsType & | BorderForegroundColor
(
FSlateColor InArg |
Border Foreground Color | |
| WidgetArgsType & | BroadcastValueChangesPerKey
(
bool InArg |
True to broadcast every time we type | |
| WidgetArgsType & | ContextMenuExtender
(
const FMenuExtensionDelegate& InDelegate |
Menu extender for right-click context menu | |
| WidgetArgsType & | Delta
(
const TAttribute< NumericType >& InAttribute |
Delta to increment the value as the slider moves. If not specified will determine automatically | |
| WidgetArgsType & | DisplayToggle
(
bool InArg |
Whether or not to include a toggle checkbox to the left of the widget | |
| WidgetArgsType & | EditableTextBoxStyle
(
const FEditableTextBoxStyle* InArg |
Style to use for the editable text box within this widget | |
| WidgetArgsType & | Font
(
const TAttribute< FSlateFontInfo >& InAttribute |
Font color and opacity | |
| WidgetArgsType & | Justification
(
const TAttribute< ETextJustify::Type >& InAttribute |
How should the value be justified in the editable text field. | |
| NamedSlotProperty< FArguments > | Label () |
Slot for this button's content (optional) | |
| WidgetArgsType & | LabelLocation
(
ELabelLocation InArg |
||
| WidgetArgsType & | LabelPadding
(
FMargin InArg |
Padding around the label content | |
| WidgetArgsType & | LabelVAlign
(
EVerticalAlignment InArg |
Vertical alignment of the label content | |
| WidgetArgsType & | LinearDeltaSensitivity
(
const TAttribute< int32 >& InAttribute |
If we're an unbounded spinbox, what value do we divide mouse movement by before multiplying by Delta. | |
| WidgetArgsType & | MaxFractionalDigits
(
const TAttribute< TOptional< int32 > >& InAttribute |
The maximum fractional digits the spin box displays, defaults to 6 | |
| WidgetArgsType & | MaxSliderValue
(
const TAttribute< TOptional< NumericType > >& InAttribute |
The maximum value that can be specified by using the slider | |
| WidgetArgsType & | MaxValue
(
const TAttribute< TOptional< NumericType > >& InAttribute |
The maximum value that can be entered into the text edit box | |
| WidgetArgsType & | MinDesiredValueWidth
(
const TAttribute< float >& InAttribute |
The minimum desired width for the value portion of the control. | |
| WidgetArgsType & | MinFractionalDigits
(
const TAttribute< TOptional< int32 > >& InAttribute |
The minimum fractional digits the spin box displays, defaults to 1 | |
| WidgetArgsType & | MinSliderValue
(
const TAttribute< TOptional< NumericType > >& InAttribute |
The minimum value that can be specified by using the slider | |
| WidgetArgsType & | MinValue
(
const TAttribute< TOptional< NumericType > >& InAttribute |
The minimum value that can be entered into the text edit box | |
| WidgetArgsType & | OnBeginSliderMovement
(
const FSimpleDelegate& InDelegate |
Called right before the slider begins to move | |
| WidgetArgsType & | OnDynamicSliderMaxValueChanged
(
const FOnDynamicSliderMinMaxValueChanged& InDelegate |
Called right after the spinner max value is changed (only relevant if SupportDynamicSliderMaxValue is true) | |
| WidgetArgsType & | OnDynamicSliderMinValueChanged
(
const FOnDynamicSliderMinMaxValueChanged& InDelegate |
Called right after the spinner min value is changed (only relevant if SupportDynamicSliderMinValue is true) | |
| WidgetArgsType & | OnEndSliderMovement
(
const FOnValueChanged& InDelegate |
Called right after the slider handle is released by the user | |
| WidgetArgsType & | OnToggleChanged
(
const FOnCheckStateChanged& InDelegate |
Called whenever the toggle changes state | |
| WidgetArgsType & | OnUndeterminedValueChanged
(
const FOnUndeterminedValueChanged& InDelegate |
Called whenever the text is changed programmatically or interactively by the user | |
| WidgetArgsType & | OnUndeterminedValueCommitted
(
const FOnUndeterminedValueCommitted& InDelegate |
Called whenever the text is committed. | |
| WidgetArgsType & | OnValueChanged
(
const FOnValueChanged& InDelegate |
Called whenever the text is changed programmatically or interactively by the user | |
| WidgetArgsType & | OnValueCommitted
(
const FOnValueCommitted& InDelegate |
Called whenever the text is committed. | |
| WidgetArgsType & | OverrideTextMargin
(
const TAttribute< FMargin >& InAttribute |
The text margin to use if overridden. | |
| WidgetArgsType & | ShiftMouseMovePixelPerDelta
(
int32 InArg |
How many pixel the mouse must move to change the value of the delta step (only use if there is a spinbox allow) | |
| WidgetArgsType & | SliderExponent
(
const TAttribute< float >& InAttribute |
Use exponential scale for the slider | |
| WidgetArgsType & | SliderExponentNeutralValue
(
const TAttribute< NumericType >& InAttribute |
When using exponential scale specify a neutral value where we want the maximum precision (by default it is the smallest slider value) | |
| WidgetArgsType & | SpinBoxStyle
(
const FSpinBoxStyle* InArg |
Style to use for the spin box within this widget | |
| WidgetArgsType & | SupportDynamicSliderMaxValue
(
const TAttribute< bool >& InAttribute |
Tell us if we want to support dynamically changing of the max value using ctrl (only use if there is a spinbox allow) | |
| WidgetArgsType & | SupportDynamicSliderMinValue
(
const TAttribute< bool >& InAttribute |
Tell us if we want to support dynamically changing of the min value using ctrl (only use if there is a spinbox allow) | |
| WidgetArgsType & | ToggleChecked
(
const TAttribute< ECheckBoxState >& InAttribute |
The value of the toggle checkbox | |
| WidgetArgsType & | TogglePadding
(
FMargin InArg |
Padding around the toggle checkbox | |
| WidgetArgsType & | TypeInterface
(
TSharedPtr< INumericTypeInterface< NumericType > > InArg |
Provide custom type conversion functionality to this spin box | |
| WidgetArgsType & | UndeterminedString
(
FText InArg |
The string to display if the value cannot be determined | |
| WidgetArgsType & | Value
(
const TAttribute< TOptional< NumericType > >& InAttribute |
The value that should be displayed. | |
| WidgetArgsType & | WheelStep
(
const TAttribute< TOptional< NumericType > >& InAttribute |
Step to increment or decrement the value by when scrolling the mouse wheel. |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |