5#include "Components/VerticalBoxSlot.h"
11 Super::NativeOnInitialized();
21 Super::Init(WidgetInfo);
23 if (
const UButtonsListWidgetInfo* ButtonListWidgetInfo = Cast<UButtonsListWidgetInfo, UBasicWidgetInfo>(WidgetInfo))
27 ConfirmButton->SetVisibility(ButtonListWidgetInfo->bConfirmButton ? ESlateVisibility::Visible : ESlateVisibility::Collapsed);
54 UE_LOG(LogTemp, Warning, TEXT(
"Select Button"));
58 if (!Button->GetButtonName().EqualTo(SelectedButtonName))
62 Button->ChangeButtonState(
false);
69 if (Button->GetState())
85 TArray<FButtonInfo*> ButtonsInfo;
86 DTButtonsList->GetAllRows<
FButtonInfo>(TEXT(
"[UAOCManager::Initialize_Implementation()] Expected RowStruct for this DT : FAOCProbability"), ButtonsInfo);
87 for (
auto ButtonInfo : ButtonsInfo)
105 ButtonSlot->VerticalAlignment = EVerticalAlignment::VAlign_Fill;
106 ButtonSlot->HorizontalAlignment = EHorizontalAlignment::HAlign_Fill;
void SetNeedConfirmation(bool Value)
UObject class representing multiple selection response data.
TArray< FString > SelectedButtons
UPROPERTY()