Navigation
API > API/Runtime > API/Runtime/Slate
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SNumericEntryBox
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
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | BuildLabel
(
TAttribute< FText > LabelText, |
||
| TSharedRef< SWidget > | BuildNarrowColorLabel
(
FLinearColor LabelColor |
||
| void | Construct
(
const FArguments& InArgs |
||
| int32 | See the MaxFractionalDigits attribute | ||
| int32 | See the MinFractionalDigits attribute | ||
| TSharedPtr< SWidget > | GetSpinBox () |
Return the internally created SpinBox if bAllowSpin is true | |
| void | SetMaxFractionalDigits
(
const TAttribute< TOptional< int32 >>& InMaxFractionalDigits |
||
| void | SetMinFractionalDigits
(
const TAttribute< TOptional< int32 >>& InMinFractionalDigits |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ELabelLocation |
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
| Name | Description |
|---|---|
| BlueLabelBackgroundColor | |
| DefaultMaxFractionalDigits | The default maximum fractional digits |
| DefaultMinFractionalDigits | The default minimum fractional digits |
| DefaultUndeterminedString | |
| GreenLabelBackgroundColor | |
| LilacLabelBackgroundColor | |
| RedLabelBackgroundColor |