123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #pragma once
- #if WITH_EDITOR
- #include "CoreMinimal.h"
- #include "Input/Reply.h"
- #include "IPropertyTypeCustomization.h"
- #include "PropertyHandle.h"
- class SButton;
- class SComboButton;
- class IMenu;
- class AKAUDIO_API FAkPropertyToControlCustomization : public IPropertyTypeCustomization
- {
- public:
- static TSharedRef<IPropertyTypeCustomization> MakeInstance();
-
- virtual void CustomizeHeader( TSharedRef<class IPropertyHandle> StructPropertyHandle, class FDetailWidgetRow& HeaderRow, IPropertyTypeCustomizationUtils& StructCustomizationUtils ) override;
- virtual void CustomizeChildren( TSharedRef<class IPropertyHandle> StructPropertyHandle, class IDetailChildrenBuilder& StructBuilder, IPropertyTypeCustomizationUtils& StructCustomizationUtils ) override;
- private:
-
- FReply OnPickContent(TSharedRef<IPropertyHandle> PropertyHandle) ;
-
- void PropertySelectionChanged(TSharedPtr< FString > ItemProperty, ESelectInfo::Type SelectInfo);
- private:
-
- TSharedPtr<SButton> PickerButton;
- TSharedPtr<IPropertyHandle> ItemPropertyHandle;
- TSharedPtr<SWindow> Window;
- };
- #endif
|