You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
42 lines
1.3 KiB
C++
42 lines
1.3 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Misc/Attribute.h"
|
|
#include "DetailWidgetRow.h"
|
|
#include "SDetailsViewBase.h"
|
|
|
|
class FCustomChildrenBuilder;
|
|
class FDetailCategoryImpl;
|
|
class FDetailItemNode;
|
|
class IDetailCustomNodeBuilder;
|
|
|
|
class FDetailCustomBuilderRow : public TSharedFromThis<FDetailCustomBuilderRow>
|
|
{
|
|
public:
|
|
FDetailCustomBuilderRow( TSharedRef<IDetailCustomNodeBuilder> CustomBuilder );
|
|
|
|
|
|
void Tick( float DeltaTime );
|
|
bool RequiresTick() const;
|
|
bool HasColumns() const;
|
|
bool ShowOnlyChildren() const;
|
|
void OnItemNodeInitialized( TSharedRef<FDetailItemNode> InTreeNode, TSharedRef<FDetailCategoryImpl> InParentCategory, const TAttribute<bool>& InIsParentEnabled );
|
|
FName GetCustomBuilderName() const;
|
|
TSharedPtr<IPropertyHandle> GetPropertyHandle() const;
|
|
void OnGenerateChildren( FDetailNodeList& OutChildren );
|
|
bool IsInitiallyCollapsed() const;
|
|
FDetailWidgetRow GetWidgetRow();
|
|
bool AreChildCustomizationsHidden() const;
|
|
|
|
private:
|
|
/** Whether or not our parent is enabled */
|
|
TAttribute<bool> IsParentEnabled;
|
|
TSharedPtr<FDetailWidgetRow> HeaderRow;
|
|
TSharedRef<class IDetailCustomNodeBuilder> CustomNodeBuilder;
|
|
TSharedPtr<class FCustomChildrenBuilder> ChildrenBuilder;
|
|
TWeakPtr<FDetailCategoryImpl> ParentCategory;
|
|
};
|
|
|