CriWare Unreal Engine
Plug-ins for CriWare solutions.
Loading...
Searching...
No Matches
SCustomizedObjectCombo Class Reference

#include <SCustomizedObjectCombo.h>

Inheritance diagram for SCustomizedObjectCombo:

Public Member Functions

CRIWARECOREEDITOR_API SCustomizedObjectCombo ()
virtual CRIWARECOREEDITOR_API ~SCustomizedObjectCombo () override
CRIWARECOREEDITOR_API void Construct (const FArguments &InArgs)
 DECLARE_DELEGATE_RetVal_OneParam (bool, FOnSelectionChanged, UObject *) SLATE_BEGIN_ARGS(SCustomizedObjectCombo)
 SLATE_END_ARGS ()

Protected Member Functions

virtual void PostRedo (bool bSuccess) override
virtual void PostUndo (bool bSuccess) override

Private Member Functions

UObject * GetObject () const
FAssetData GetTargetObject () const
FText GetText () const
FText GetToolTipText () const
bool IsSelected () const
bool IsValueEnabled () const
void OnAssetDropped (const FDragDropEvent &, const FAssetData &Asset)
void OnClearObject ()
FReply OnClearPressed ()
TSharedRef< SWidget > OnGetMenuContent ()
bool OnIsAssetAcceptableForDropWithReason (const FAssetData &Asset, FText &OutReason)
void OnMenuOpenChanged (const bool bOpen) const
bool OnObjectSelected (UObject *InHolder)
bool ShowClearButton () const

Private Attributes

bool bDisplayThumbnail = true
bool bRegisteredForUndo = false
TSharedPtr< SAssetView > ComboBoxContentView
TSharedPtr< SComboButton > ComboButton
TSharedPtr< IDetailsView > DetailView
TSharedPtr< SMenuAnchor > MenuAnchor
TAttribute< UObject * > ObjectAttribute
FOnSelectionChanged OnSelectionChanged
TSharedPtr< IPropertyHandle > PropertyHandle
UClass * TargetClass = nullptr
TAttribute< FAssetData > TargetObject

Detailed Description

Widget for selecting an object that use a customized detail view.

Constructor & Destructor Documentation

◆ SCustomizedObjectCombo()

CRIWARECOREEDITOR_API SCustomizedObjectCombo::SCustomizedObjectCombo ( )
inline

◆ ~SCustomizedObjectCombo()

virtual CRIWARECOREEDITOR_API SCustomizedObjectCombo::~SCustomizedObjectCombo ( )
inlineoverridevirtual

Member Function Documentation

◆ Construct()

CRIWARECOREEDITOR_API void SCustomizedObjectCombo::Construct ( const FArguments & InArgs)
inline

◆ DECLARE_DELEGATE_RetVal_OneParam()

SCustomizedObjectCombo::DECLARE_DELEGATE_RetVal_OneParam ( bool ,
FOnSelectionChanged ,
UObject *  )
inline

◆ GetObject()

UObject * SCustomizedObjectCombo::GetObject ( ) const
inlineprivate

◆ GetTargetObject()

FAssetData SCustomizedObjectCombo::GetTargetObject ( ) const
inlineprivate

◆ GetText()

FText SCustomizedObjectCombo::GetText ( ) const
inlineprivate

◆ GetToolTipText()

FText SCustomizedObjectCombo::GetToolTipText ( ) const
inlineprivate

◆ IsSelected()

bool SCustomizedObjectCombo::IsSelected ( ) const
inlineprivate

◆ IsValueEnabled()

bool SCustomizedObjectCombo::IsValueEnabled ( ) const
inlineprivate

◆ OnAssetDropped()

void SCustomizedObjectCombo::OnAssetDropped ( const FDragDropEvent & ,
const FAssetData & Asset )
inlineprivate

◆ OnClearObject()

void SCustomizedObjectCombo::OnClearObject ( )
inlineprivate

◆ OnClearPressed()

FReply SCustomizedObjectCombo::OnClearPressed ( )
inlineprivate

◆ OnGetMenuContent()

TSharedRef< SWidget > SCustomizedObjectCombo::OnGetMenuContent ( )
inlineprivate

◆ OnIsAssetAcceptableForDropWithReason()

bool SCustomizedObjectCombo::OnIsAssetAcceptableForDropWithReason ( const FAssetData & Asset,
FText & OutReason )
inlineprivate

◆ OnMenuOpenChanged()

void SCustomizedObjectCombo::OnMenuOpenChanged ( const bool bOpen) const
inlineprivate

◆ OnObjectSelected()

bool SCustomizedObjectCombo::OnObjectSelected ( UObject * InHolder)
inlineprivate

◆ PostRedo()

virtual void SCustomizedObjectCombo::PostRedo ( bool bSuccess)
inlineoverrideprotectedvirtual

◆ PostUndo()

virtual void SCustomizedObjectCombo::PostUndo ( bool bSuccess)
inlineoverrideprotectedvirtual

◆ ShowClearButton()

bool SCustomizedObjectCombo::ShowClearButton ( ) const
inlineprivate

◆ SLATE_END_ARGS()

SCustomizedObjectCombo::SLATE_END_ARGS ( )

Member Data Documentation

◆ bDisplayThumbnail

bool SCustomizedObjectCombo::bDisplayThumbnail = true
private

◆ bRegisteredForUndo

bool SCustomizedObjectCombo::bRegisteredForUndo = false
private

◆ ComboBoxContentView

TSharedPtr<SAssetView> SCustomizedObjectCombo::ComboBoxContentView
private

◆ ComboButton

TSharedPtr<SComboButton> SCustomizedObjectCombo::ComboButton
private

◆ DetailView

TSharedPtr<IDetailsView> SCustomizedObjectCombo::DetailView
private

◆ MenuAnchor

TSharedPtr<SMenuAnchor> SCustomizedObjectCombo::MenuAnchor
private

◆ ObjectAttribute

TAttribute<UObject*> SCustomizedObjectCombo::ObjectAttribute
private

◆ OnSelectionChanged

FOnSelectionChanged SCustomizedObjectCombo::OnSelectionChanged
private

◆ PropertyHandle

TSharedPtr<IPropertyHandle> SCustomizedObjectCombo::PropertyHandle
private

◆ TargetClass

UClass* SCustomizedObjectCombo::TargetClass = nullptr
private

◆ TargetObject

TAttribute<FAssetData> SCustomizedObjectCombo::TargetObject
private

The documentation for this class was generated from the following file: