Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/SSpinBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SSpinBox::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SSpinBox.h |
| Include | #include "Widgets/Input/SSpinBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SSpinBox< NumericType > >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | AlwaysUsesDeltaSnap
(
const TAttribute< bool >& InAttribute |
Whether typed values should use delta snapping, defaults to false | |
| WidgetArgsType & | BroadcastValueChangesPerKey
(
bool InArg |
True to broadcast every time we type | |
| WidgetArgsType & | ClearKeyboardFocusOnCommit
(
const TAttribute< bool >& InAttribute |
Whether to clear keyboard focus when pressing enter to commit changes | |
| WidgetArgsType & | ContentPadding
(
const TAttribute< FMargin >& InAttribute |
Padding to add around this widget and its internal widgets | |
| WidgetArgsType & | ContextMenuExtender
(
const FMenuExtensionDelegate& InDelegate |
Menu extender for the 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 & | EnableSlider
(
const TAttribute< bool >& InAttribute |
Whether this spin box should have slider feature enabled, defaults to true | |
| WidgetArgsType & | EnableWheel
(
bool InArg |
Whether this spin box should have mouse wheel feature enabled, defaults to true | |
| WidgetArgsType & | Font
(
const TAttribute< FSlateFontInfo >& InAttribute |
Font used to display text in the slider | |
| WidgetArgsType & | Justification
(
const TAttribute< ETextJustify::Type >& InAttribute |
How should the value be justified in the spinbox. | |
| WidgetArgsType & | KeyboardType
(
const TAttribute< EKeyboardType >& InAttribute |
What keyboard to display. | |
| 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, defaults to MaxValue | |
| WidgetArgsType & | MaxValue
(
const TAttribute< TOptional< NumericType > >& InAttribute |
The maximum value that can be entered into the text edit box | |
| WidgetArgsType & | MinDesiredWidth
(
const TAttribute< float >& InAttribute |
Minimum width that a spin box should be | |
| 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, defaults to MinValue | |
| 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 max slider value is changed (only relevant if SupportDynamicSliderMaxValue is true) | |
| WidgetArgsType & | OnDynamicSliderMinValueChanged
(
const FOnDynamicSliderMinMaxValueChanged& InDelegate |
Called right after the min slider 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 & | OnValueChanged
(
const FOnValueChanged& InDelegate |
Called when the value is changed by slider or typing | |
| WidgetArgsType & | OnValueCommitted
(
const FOnValueCommitted& InDelegate |
Called when the value is committed (by pressing enter) | |
| WidgetArgsType & | PreventThrottling
(
bool InArg |
If refresh requests for the viewport should happen for all value changes | |
| WidgetArgsType & | SelectAllTextOnCommit
(
const TAttribute< bool >& InAttribute |
Whether to select all text when pressing enter to commit changes | |
| WidgetArgsType & | ShiftMouseMovePixelPerDelta
(
const TAttribute< int32 >& InAttribute |
How many pixel the mouse must move to change the value of the delta step | |
| WidgetArgsType & | SliderExponent
(
const TAttribute< float >& InAttribute |
Use exponential scale for the slider | |
| WidgetArgsType & | SliderExponentNeutralValue
(
const TAttribute< NumericType >& InAttribute |
When use exponential scale for the slider which is the neutral value | |
| WidgetArgsType & | Style
(
const FSpinBoxStyle* InArg |
The style used to draw this spinbox | |
| WidgetArgsType & | SupportDynamicSliderMaxValue
(
const TAttribute< bool >& InAttribute |
Tell us if we want to support dynamically changing of the max value using ctrl | |
| WidgetArgsType & | SupportDynamicSliderMinValue
(
const TAttribute< bool >& InAttribute |
Tell us if we want to support dynamically changing of the min value using ctrl | |
| WidgetArgsType & | TypeInterface
(
TSharedPtr< INumericTypeInterface< NumericType > > InArg |
Provide custom type conversion functionality to this spin box | |
| WidgetArgsType & | Value
(
const TAttribute< NumericType >& InAttribute |
The value to display | |
| WidgetArgsType & | WheelStep
(
const TAttribute< TOptional< NumericType > >& InAttribute |
Step to increment or decrement the value by when scrolling the mouse wheel. |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |