56 UFUNCTION(BlueprintCallable, Category =
"Update")
59 WidgetClass = InNewData->WidgetClass;
60 Heading = InNewData->Heading;
64 void SetRefreshableById(
const FGuid& PrevInfoGuid)
68 bIsUpdateRequest =
false;
71 void SetupAsRefreshData(
const FGuid& PrevInfoGuid)
75 bIsUpdateRequest =
true;
78 UPROPERTY(EditAnywhere, BlueprintReadWrite)
79 TSubclassOf<UBasicWidget> WidgetClass;
81 UPROPERTY(EditAnywhere, BlueprintReadWrite)
82 FText Heading = FText::FromString(TEXT(
"Heading"));
87 UPROPERTY(EditAnywhere, BlueprintReadWrite)
90 UPROPERTY(EditAnywhere, BlueprintReadWrite)
91 bool bIsUpdateRequest =
false;
93 UPROPERTY(EditAnywhere, BlueprintReadWrite)
94 bool bCanRotate =
true;
96 UPROPERTY(EditAnywhere, BlueprintReadWrite)
97 bool bPlayOpenCloseSound =
true;
99 UPROPERTY(EditAnywhere, BlueprintReadWrite)
100 bool bUseTouchToInteractWithWidget;
102 UPROPERTY(EditAnywhere, BlueprintReadWrite)
111 UPROPERTY(EditAnywhere, BlueprintReadWrite)
112 int32 ClosingDistanceCm = -1.0f;
115 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (EditCondition = "UseCustomWidgetPosition == true", EditConditionHides))
117 UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (EditCondition = "UseCustomWidgetPosition == true", EditConditionHides))
132 Super::Update(InNewData);
136 DTButtonsList = ButtonWidgetListData->DTButtonsList;
137 bConfirmButton = ButtonWidgetListData->bConfirmButton;
138 ConfirmButtonLabel = ButtonWidgetListData->ConfirmButtonLabel;
139 bConfirmSelection = ButtonWidgetListData->bConfirmSelection;
143 UPROPERTY(EditAnywhere, BlueprintReadWrite)
144 UDataTable* DTButtonsList;
146 UPROPERTY(EditAnywhere, BlueprintReadWrite)
147 bool bConfirmButton =
true;
149 UPROPERTY(EditAnywhere, BlueprintReadWrite)
150 FString ConfirmButtonLabel =
"Confirm";
152 UPROPERTY(EditAnywhere, BlueprintReadWrite)
153 bool bConfirmSelection =
true;
166 FText SelectedButton;