Navigation
Unreal Engine C++ API Reference > Plugins > CommonUI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UPanelWidget
- UCommonWidgetCarousel
References
Module | CommonUI |
Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonWidgetCarousel.h |
Include | #include "CommonWidgetCarousel.h" |
Syntax
UCLASS&40;Blueprintable&41;
class UCommonWidgetCarousel : public UPanelWidget
Remarks
A widget switcher is like a tab control, but without tabs. At most one widget is visible at time.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() ![]() |
int32 | ActiveWidgetIndex | The slot index to display |
![]() |
TArray< TSharedRef< SWidget > > | CachedSlotWidgets | |
![]() |
TSharedPtr< SWidgetCarousel< UPanelSlot * > > | MyCommonWidgetCarousel | |
![]() ![]() ![]() ![]() |
FOnCurrentPageIndexChanged | OnCurrentPageIndexChanged | |
![]() |
FTSTicker::FDelegateHandle | TickerHandle |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UCommonWidgetCarousel
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
bool | AutoScrollCallback
(
float DeltaTime |
|
![]() ![]() ![]() |
void | BeginAutoScrolling
(
float ScrollInterval |
|
![]() ![]() ![]() |
void | ||
![]() ![]() ![]() ![]() |
int32 | Gets the slot index of the currently active widget | |
![]() ![]() ![]() ![]() |
UWidget * | GetWidgetAtIndex
(
int32 Index |
Get a widget at the provided index |
![]() |
void | HandlePageChanged
(
int32 PageIndex |
|
![]() ![]() ![]() |
void | NextPage () |
|
![]() |
TSharedRef< SWidget > | OnGenerateWidgetForCarousel
(
UPanelSlot* PanelSlot |
|
![]() ![]() ![]() |
void | PreviousPage () |
|
![]() ![]() ![]() ![]() |
void | SetActiveWidget
(
UWidget* Widget |
Activates the widget and makes it the active index. |
![]() ![]() ![]() ![]() |
void | SetActiveWidgetIndex
(
int32 Index |
Activates the widget at the specified index. |
Overridden from UPanelWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
UClass * | GetSlotClass () |
UPanelWidget. |
![]() ![]() |
void | OnSlotAdded
(
UPanelSlot* InSlot |
Overridden from UWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FText | Gets the palette category of the widget | |
![]() ![]() |
void | OnDescendantDeselectedByDesigner
(
UWidget* DescendantWidget |
|
![]() ![]() |
void | OnDescendantSelectedByDesigner
(
UWidget* DescendantWidget |
|
![]() ![]() |
TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | |
![]() ![]() |
void | Applies all properties to the native widget if possible. |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseSlateResources
(
bool bReleaseChildren |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |