5#include "CoreMinimal.h"
6#include "EditorUtilityWidget.h"
7#include "AttachedImageWidget.generated.h"
12DECLARE_MULTICAST_DELEGATE_TwoParams(FOnRemoved,
const FString&,
const TObjectPtr<UAttachedImageWidget>&);
20 void SetImage(
const FString& ImagePath);
21 FOnRemoved& OnRemoved() {
return Removed; }
24 virtual void NativeConstruct()
override;
26 UPROPERTY(meta = (BindWidget))
27 TObjectPtr<UButton> RemoveImageButton;
29 UPROPERTY(meta = (BindWidget))
30 TObjectPtr<UTextBlock> FilePathTextBlock;