Files
UnrealEngineUWP/Engine/Plugins/Animation/ControlRig/Source/ControlRigEditor/Private/ControlRigPythonLogDetails.h
sara schvartzman 06991e9421 Control Rig: Move Python related buttons to their own Python category
#jira UE-120225
#rb helge.mathee

#ROBOMERGE-SOURCE: CL 17081966 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17081973 by sara schvartzman in ue5-release-engine-test branch]
2021-08-06 07:25:31 -04:00

31 lines
980 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "IPropertyTypeCustomization.h"
#include "ControlRigBlueprint.h"
class IPropertyHandle;
class FControlRigPythonLogDetails : public IPropertyTypeCustomization
{
public:
static TSharedRef<IPropertyTypeCustomization> MakeInstance()
{
return MakeShareable(new FControlRigPythonLogDetails);
}
/** IPropertyTypeCustomization interface */
virtual void CustomizeHeader(TSharedRef<class IPropertyHandle> InStructPropertyHandle, class FDetailWidgetRow& HeaderRow, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override;
virtual void CustomizeChildren(TSharedRef<class IPropertyHandle> InStructPropertyHandle, class IDetailChildrenBuilder& StructBuilder, IPropertyTypeCustomizationUtils& StructCustomizationUtils) override;
protected:
FReply OnCopyPythonScriptClicked();
FReply OnRunPythonContextClicked();
UControlRigBlueprint* BlueprintBeingCustomized;
};