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

#include <SDlgDataPropertyValues.h>

Inheritance diagram for SDlgDataTextPropertyValue:
[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)
 
 SLATE_BEGIN_ARGS (Self)
 
bool SupportsKeyboardFocus () const override
 
void Tick (const FGeometry &AllottedGeometry, double InCurrentTime, float InDeltaTime) override
 

Protected Member Functions

void HandleTextChanged (const FText &NewText)
 
void HandleTextCommitted (const FText &NewText, ETextCommit::Type CommitInfo)
 
bool IsReadOnly () const
 
void UpdateVariableNodeFromActor ()
 

Protected Attributes

bool bIsFNameProperty = false
 
TSharedPtr< SWidget > PrimaryWidget
 
TSharedPtr< SEditableTextBox > TextBoxWidget
 
float TickPassedDeltaTimeSeconds = 0.f
 
TSharedPtr< FDlgDataDisplayTreeVariableNodeVariableNode
 

Static Protected Attributes

static constexpr float TickUpdateTimeSeconds = 1.0f
 

Private Types

typedef SDlgDataTextPropertyValue Self
 
typedef SCompoundWidget Super
 

Detailed Description

The editable text property value of the variable.

Definition at line 86 of file SDlgDataPropertyValues.h.

Member Typedef Documentation

◆ Self

◆ Super

Definition at line 17 of file SDlgDataPropertyValues.h.

Member Function Documentation

◆ Construct()

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

Definition at line 164 of file SDlgDataPropertyValues.cpp.

Here is the call graph for this function:

◆ GetTextValue()

FText SDlgDataPropertyValue::GetTextValue ( ) const
inlineinherited

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:

◆ HandleTextChanged()

void SDlgDataTextPropertyValue::HandleTextChanged ( const FText & NewText)
protected

Definition at line 282 of file SDlgDataPropertyValues.cpp.

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

◆ HandleTextCommitted()

void SDlgDataTextPropertyValue::HandleTextCommitted ( const FText & NewText,
ETextCommit::Type CommitInfo )
protected

Definition at line 195 of file SDlgDataPropertyValues.cpp.

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

◆ IsReadOnly()

bool SDlgDataTextPropertyValue::IsReadOnly ( ) const
inlineprotected

Definition at line 99 of file SDlgDataPropertyValues.h.

Here is the caller graph for this function:

◆ OnFocusReceived()

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

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() [1/2]

SDlgDataPropertyValue::SLATE_BEGIN_ARGS ( Self )
inlineinherited

Definition at line 19 of file SDlgDataPropertyValues.h.

◆ SLATE_BEGIN_ARGS() [2/2]

SDlgDataTextPropertyValue::SLATE_BEGIN_ARGS ( Self )
inline

Definition at line 90 of file SDlgDataPropertyValues.h.

◆ SupportsKeyboardFocus()

bool SDlgDataPropertyValue::SupportsKeyboardFocus ( ) const
inlineoverrideinherited

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 )
overrideinherited

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 ( )
protectedinherited

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

◆ bIsFNameProperty

bool SDlgDataTextPropertyValue::bIsFNameProperty = false
protected

True if property is an FName property which causes us to run extra size validation checks

Definition at line 106 of file SDlgDataPropertyValues.h.

◆ PrimaryWidget

TSharedPtr<SWidget> SDlgDataPropertyValue::PrimaryWidget
protectedinherited

Primary Widget of this PropertyValue

Definition at line 76 of file SDlgDataPropertyValues.h.

◆ TextBoxWidget

TSharedPtr<SEditableTextBox> SDlgDataTextPropertyValue::TextBoxWidget
protected

Widget used for the single line version of the text property

Definition at line 103 of file SDlgDataPropertyValues.h.

◆ TickPassedDeltaTimeSeconds

float SDlgDataPropertyValue::TickPassedDeltaTimeSeconds = 0.f
protectedinherited

Number of seconds passed in the Tick

Definition at line 79 of file SDlgDataPropertyValues.h.

◆ TickUpdateTimeSeconds

constexpr float SDlgDataPropertyValue::TickUpdateTimeSeconds = 1.0f
staticconstexprprotectedinherited

Definition at line 81 of file SDlgDataPropertyValues.h.

◆ VariableNode

TSharedPtr<FDlgDataDisplayTreeVariableNode> SDlgDataPropertyValue::VariableNode
protectedinherited

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: