Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/CheckBox.h |
Include |
#include "Components/CheckBox.h" |
class UCheckBox : public UContentWidget
The checkbox widget allows you to display a toggled state of 'unchecked', 'checked' and 'indeterminable. You can use the checkbox for a classic checkbox, or as a toggle button, or as radio buttons.
Single Child
Toggle
Name | Description | ||
---|---|---|---|
|
CheckedState |
Whether the check box is currently in a checked state |
|
|
CheckedStateDelegate |
A bindable delegate for the IsChecked. |
|
|
TEnumAsByte< EH... |
HorizontalAlignment |
How the content of the toggle button should align within the given space |
|
IsFocusable |
Sometimes a button should only be mouse-clickable and never keyboard focusable. |
|
|
K2_Cache_CheckedState |
||
|
TSharedPtr< SCh... |
MyCheckbox |
|
|
OnCheckStateChanged |
Called when the checked state has changed |
|
|
WidgetStyle |
The checkbox bar style |
Name | Description | |
---|---|---|
|
UCheckBox ( |
Name | Description | ||
---|---|---|---|
|
ECheckBoxSta... |
GetCheckedState() |
Returns the full current checked state. |
|
IsChecked() |
Returns true if the checkbox is currently checked |
|
|
IsPressed() |
Returns true if this button is currently pressed |
|
|
ECheckBoxSta... |
K2_Gate_CheckedState() |
|
|
SetCheckedState ( |
Sets the checked state. |
|
|
SetIsChecked ( |
Sets the checked state. |
|
|
SlateOnCheckStateChangedCallback ( |
Name | Description | ||
---|---|---|---|
|
OnSlotAdded ( |
||
|
OnSlotRemoved ( |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
GetAccessibleWidget() |
Gets the widget that accessibility properties should synchronize to. |
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
TSharedRef< ... |
RebuildDesignWidget ( |
|
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name | Description | ||
---|---|---|---|
|
PostLoad() |
Begin UObject. |
Name | Description | ||
---|---|---|---|
|
BorderBackgroundColor_DEPRECATED |
The color of the background border |
|
|
CheckedHoveredImage_DEPRECATED |
Image to use when the checkbox is checked and hovered |
|
|
CheckedImage_DEPRECATED |
Image to use when the checkbox is checked |
|
|
CheckedPressedImage_DEPRECATED |
Image to use when the checkbox is checked and pressed |
|
|
Padding_DEPRECATED |
Spacing between the check box image and its content |
|
|
Style_DEPRECATED |
Style of the check box |
|
|
UncheckedHoveredImage_DEPRECATED |
Image to use when the checkbox is unchecked and hovered |
|
|
UncheckedImage_DEPRECATED |
Image to use when the checkbox is unchecked |
|
|
UncheckedPressedImage_DEPRECATED |
Image to use when the checkbox is unchecked and pressed |
|
|
UndeterminedHoveredImage_DEPRECATED |
Image to use when the checkbox is checked and hovered |
|
|
UndeterminedImage_DEPRECATED |
Image to use when the checkbox is in an ambiguous state and hovered |
|
|
UndeterminedPressedImage_DEPRECATED |
Image to use when the checkbox is in an ambiguous state and pressed |