A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
SDialogueActionMenu Class Reference

#include <SDialogueActionMenu.h>

Inheritance diagram for SDialogueActionMenu:
[legend]

Public Member Functions

 ~SDialogueActionMenu ()
 
void Construct (const FArguments &InArgs)
 
 DECLARE_DELEGATE_TwoParams (FDialogueActionMenuClosedReason, bool, bool)
 
TSharedPtr< SEditableTextBox > GetFilterTextBox () const
 
 SLATE_BEGIN_ARGS (Self)
 

Protected Member Functions

void CollectAllActions (FGraphActionListBuilderBase &OutAllActions)
 
void OnActionSelected (const TArray< TSharedPtr< FEdGraphSchemaAction > > &SelectedAction, ESelectInfo::Type InSelectionType)
 

Protected Attributes

bool AutoExpandActionMenu = true
 
bool bActionExecuted = false
 
TArray< UEdGraphPin * > DraggedFromPins
 
UEdGraphGraph = nullptr
 
TSharedPtr< SGraphActionMenu > GraphActionMenu
 
FVector2D NewNodePosition
 
SGraphEditor::FActionMenuClosed OnClosedCallback
 
FDialogueActionMenuClosedReason OnCloseReasonCallback
 

Private Types

typedef SDialogueActionMenu Self
 

Detailed Description

Widget that appears after right clicking on the graph

Definition at line 13 of file SDialogueActionMenu.h.

Member Typedef Documentation

◆ Self

Definition at line 15 of file SDialogueActionMenu.h.

Constructor & Destructor Documentation

◆ ~SDialogueActionMenu()

SDialogueActionMenu::~SDialogueActionMenu ( )

Definition at line 11 of file SDialogueActionMenu.cpp.

Member Function Documentation

◆ CollectAllActions()

void SDialogueActionMenu::CollectAllActions ( FGraphActionListBuilderBase & OutAllActions)
protected

Callback used to populate all actions list in SGraphActionMenu

Definition at line 46 of file SDialogueActionMenu.cpp.

Here is the caller graph for this function:

◆ Construct()

void SDialogueActionMenu::Construct ( const FArguments & InArgs)

Definition at line 17 of file SDialogueActionMenu.cpp.

Here is the call graph for this function:

◆ DECLARE_DELEGATE_TwoParams()

SDialogueActionMenu::DECLARE_DELEGATE_TwoParams ( FDialogueActionMenuClosedReason ,
bool ,
bool  )

Delegate for the OnCloseReason event which is always raised when the SDialogueActionMenu closes

◆ GetFilterTextBox()

TSharedPtr< SEditableTextBox > SDialogueActionMenu::GetFilterTextBox ( ) const
inline

Definition at line 37 of file SDialogueActionMenu.h.

◆ OnActionSelected()

void SDialogueActionMenu::OnActionSelected ( const TArray< TSharedPtr< FEdGraphSchemaAction > > & SelectedAction,
ESelectInfo::Type InSelectionType )
protected

Definition at line 62 of file SDialogueActionMenu.cpp.

Here is the caller graph for this function:

◆ SLATE_BEGIN_ARGS()

SDialogueActionMenu::SLATE_BEGIN_ARGS ( Self )
inline

Definition at line 20 of file SDialogueActionMenu.h.

Member Data Documentation

◆ AutoExpandActionMenu

bool SDialogueActionMenu::AutoExpandActionMenu = true
protected

Should expand the new menu?

Definition at line 55 of file SDialogueActionMenu.h.

◆ bActionExecuted

bool SDialogueActionMenu::bActionExecuted = false
protected

Was an action executed?

Definition at line 58 of file SDialogueActionMenu.h.

◆ DraggedFromPins

TArray<UEdGraphPin*> SDialogueActionMenu::DraggedFromPins
protected

The pins this node was dragged from.

Definition at line 49 of file SDialogueActionMenu.h.

◆ Graph

UEdGraph* SDialogueActionMenu::Graph = nullptr
protected

Definition at line 46 of file SDialogueActionMenu.h.

◆ GraphActionMenu

TSharedPtr<SGraphActionMenu> SDialogueActionMenu::GraphActionMenu
protected

Definition at line 65 of file SDialogueActionMenu.h.

◆ NewNodePosition

FVector2D SDialogueActionMenu::NewNodePosition
protected

The position of this new node

Definition at line 52 of file SDialogueActionMenu.h.

◆ OnClosedCallback

SGraphEditor::FActionMenuClosed SDialogueActionMenu::OnClosedCallback
protected

Definition at line 61 of file SDialogueActionMenu.h.

◆ OnCloseReasonCallback

FDialogueActionMenuClosedReason SDialogueActionMenu::OnCloseReasonCallback
protected

Definition at line 62 of file SDialogueActionMenu.h.


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