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

#include <SDlgDataPropertyValues.h>

Inheritance diagram for SDlgDataBoolPropertyValue:
[legend]

Public Member Functions

void Construct (const FArguments &InArgs, const TSharedPtr< FDlgDataDisplayTreeVariableNode > &InVariableNode)
 
FText GetTextValue () const
 
bool HasKeyboardFocus () const override
 
FReply OnFocusReceived (const FGeometry &MyGeometry, const FFocusEvent &InFocusEvent) override
 
FReply OnMouseButtonDoubleClick (const FGeometry &InMyGeometry, const FPointerEvent &InMouseEvent) 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 HandleCheckStateChanged (ECheckBoxState InNewState)
 
bool IsBoolProperty () const
 
ECheckBoxState IsChecked () const
 
void UpdateVariableNodeFromActor ()
 

Protected Attributes

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

Static Protected Attributes

static constexpr float TickUpdateTimeSeconds = 1.0f
 

Private Types

typedef SDlgDataBoolPropertyValue Self
 
typedef SCompoundWidget Super
 

Detailed Description

The editable bool property value of the variable. Is represented by a checkbox

Definition at line 132 of file SDlgDataPropertyValues.h.

Member Typedef Documentation

◆ Self

◆ Super

Definition at line 17 of file SDlgDataPropertyValues.h.

Member Function Documentation

◆ Construct()

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

Definition at line 351 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:

◆ HandleCheckStateChanged()

void SDlgDataBoolPropertyValue::HandleCheckStateChanged ( ECheckBoxState InNewState)
protected

Definition at line 402 of file SDlgDataPropertyValues.cpp.

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

◆ HasKeyboardFocus()

bool SDlgDataBoolPropertyValue::HasKeyboardFocus ( ) const
override

Definition at line 371 of file SDlgDataPropertyValues.cpp.

◆ IsBoolProperty()

bool SDlgDataBoolPropertyValue::IsBoolProperty ( ) const
inlineprotected

Definition at line 156 of file SDlgDataPropertyValues.h.

Here is the caller graph for this function:

◆ IsChecked()

ECheckBoxState SDlgDataBoolPropertyValue::IsChecked ( ) const
protected

Definition at line 391 of file SDlgDataPropertyValues.cpp.

Here is the call graph for this function:
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.

◆ OnMouseButtonDoubleClick()

FReply SDlgDataBoolPropertyValue::OnMouseButtonDoubleClick ( const FGeometry & InMyGeometry,
const FPointerEvent & InMouseEvent )
override

Called when a mouse button is double clicked. Override this in derived classes.

Parameters
InMyGeometryWidget geometry
InMouseEventMouse button event
Returns
Returns whether the event was handled, along with other possible actions

Definition at line 377 of file SDlgDataPropertyValues.cpp.

◆ SLATE_BEGIN_ARGS() [1/2]

SDlgDataPropertyValue::SLATE_BEGIN_ARGS ( Self )
inlineinherited

Definition at line 19 of file SDlgDataPropertyValues.h.

◆ SLATE_BEGIN_ARGS() [2/2]

SDlgDataBoolPropertyValue::SLATE_BEGIN_ARGS ( Self )
inline

Definition at line 136 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

◆ CheckBoxWidget

TSharedPtr<SCheckBox> SDlgDataBoolPropertyValue::CheckBoxWidget
protected

Definition at line 160 of file SDlgDataPropertyValues.h.

◆ PrimaryWidget

TSharedPtr<SWidget> SDlgDataPropertyValue::PrimaryWidget
protectedinherited

Primary Widget of this PropertyValue

Definition at line 76 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: