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

#include <SDlgDataPropertyValues.h>

Inheritance diagram for SDlgDataPropertyValue:
[legend]

Public Member Functions

void Construct (const FArguments &InArgs, const TSharedPtr< FDlgDataDisplayTreeVariableNode > &InVariableNode)
 
FText GetTextValue () const
 
FReply OnFocusReceived (const FGeometry &MyGeometry, const FFocusEvent &InFocusEvent) override
 
 SLATE_BEGIN_ARGS (Self)
 
bool SupportsKeyboardFocus () const override
 
void Tick (const FGeometry &AllottedGeometry, double InCurrentTime, float InDeltaTime) override
 

Protected Member Functions

void UpdateVariableNodeFromActor ()
 

Protected Attributes

TSharedPtr< SWidget > PrimaryWidget
 
float TickPassedDeltaTimeSeconds = 0.f
 
TSharedPtr< FDlgDataDisplayTreeVariableNodeVariableNode
 

Static Protected Attributes

static constexpr float TickUpdateTimeSeconds = 1.0f
 

Private Types

typedef SDlgDataPropertyValue Self
 
typedef SCompoundWidget Super
 

Detailed Description

The base type PropertyValue Widget. If just used by itself it displays the VariableValue as a static text.

Definition at line 14 of file SDlgDataPropertyValues.h.

Member Typedef Documentation

◆ Self

◆ Super

Definition at line 17 of file SDlgDataPropertyValues.h.

Member Function Documentation

◆ Construct()

void SDlgDataPropertyValue::Construct ( const FArguments & InArgs,
const TSharedPtr< FDlgDataDisplayTreeVariableNode > & InVariableNode )

Definition at line 39 of file SDlgDataPropertyValues.cpp.

Here is the call graph for this function:

◆ GetTextValue()

FText SDlgDataPropertyValue::GetTextValue ( ) const
inline

Gets the Value of this Property as an FText;

Definition at line 65 of file SDlgDataPropertyValues.h.

Here is the caller graph for this function:

◆ OnFocusReceived()

FReply SDlgDataPropertyValue::OnFocusReceived ( const FGeometry & MyGeometry,
const FFocusEvent & InFocusEvent )
inlineoverride

Called when focus is given to this widget. This event does not bubble.

Parameters
MyGeometryThe Geometry of the widget receiving the event
InFocusEventThe FocusEvent
Returns
Returns whether the event was handled, along with other possible actions

Definition at line 52 of file SDlgDataPropertyValues.h.

◆ SLATE_BEGIN_ARGS()

SDlgDataPropertyValue::SLATE_BEGIN_ARGS ( Self )
inline

Definition at line 19 of file SDlgDataPropertyValues.h.

◆ SupportsKeyboardFocus()

bool SDlgDataPropertyValue::SupportsKeyboardFocus ( ) const
inlineoverride

Checks to see if this widget supports keyboard focus. Override this in derived classes.

Returns
True if this widget can take keyboard focus

Definition at line 40 of file SDlgDataPropertyValues.h.

◆ Tick()

void SDlgDataPropertyValue::Tick ( const FGeometry & AllottedGeometry,
double InCurrentTime,
float InDeltaTime )
override

Ticks this widget with Geometry. Override in derived classes, but always call the parent implementation.

Parameters
AllottedGeometryThe space allotted for this widget
InCurrentTimeCurrent absolute real time
InDeltaTimeReal time passed since last tick

Definition at line 56 of file SDlgDataPropertyValues.cpp.

Here is the call graph for this function:

◆ UpdateVariableNodeFromActor()

void SDlgDataPropertyValue::UpdateVariableNodeFromActor ( )
protected

Updates the VariableNode value from the Actor.

Definition at line 72 of file SDlgDataPropertyValues.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ PrimaryWidget

TSharedPtr<SWidget> SDlgDataPropertyValue::PrimaryWidget
protected

Primary Widget of this PropertyValue

Definition at line 76 of file SDlgDataPropertyValues.h.

◆ TickPassedDeltaTimeSeconds

float SDlgDataPropertyValue::TickPassedDeltaTimeSeconds = 0.f
protected

Number of seconds passed in the Tick

Definition at line 79 of file SDlgDataPropertyValues.h.

◆ TickUpdateTimeSeconds

constexpr float SDlgDataPropertyValue::TickUpdateTimeSeconds = 1.0f
staticconstexprprotected

Definition at line 81 of file SDlgDataPropertyValues.h.

◆ VariableNode

TSharedPtr<FDlgDataDisplayTreeVariableNode> SDlgDataPropertyValue::VariableNode
protected

The Node this widget value represents

Definition at line 73 of file SDlgDataPropertyValues.h.


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