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

#include <SDialogueTextPropertyEditableTextBox.h>

Inheritance diagram for SDialogueTextPropertyEditableTextBox:
[legend]

Public Member Functions

void Construct (const FArguments &Arguments, const TSharedRef< IEditableTextProperty > &InEditableTextProperty, const TSharedRef< IPropertyHandle > &InPropertyHandle)
 
FText GetTextValue () const
 
FReply OnFocusReceived (const FGeometry &MyGeometry, const FFocusEvent &InFocusEvent) override
 
FDialogueTextChangedDelegate & OnTextChangedEvent ()
 
FDialogueTextCommitedDelegate & OnTextCommittedEvent ()
 
void SetTextValue (const FText &NewValue)
 
bool SupportsKeyboardFocus () const override
 
void Tick (const FGeometry &AllottedGeometry, double InCurrentTime, float InDeltaTime) override
 

Protected Attributes

bool bAddResetToDefaultWidget = true
 
bool bIsMultiLine = true
 
TSharedPtr< IEditableTextPropertyEditableTextProperty
 
TSharedPtr< SEditableTextBox > KeyEditableTextBox
 
TSharedPtr< SMultiLineEditableTextBox > MultiLineWidget
 
TSharedPtr< SEditableTextBox > NamespaceEditableTextBox
 
TOptional< float > PreviousHeight
 
TSharedPtr< SWidget > PrimaryWidget
 
TSharedPtr< IPropertyHandle > PropertyHandle
 
FDialogueTextChangedDelegate TextChangedEvent
 
FDialogueTextCommitedDelegate TextCommittedEvent
 

Static Protected Attributes

static FText MultipleValuesText
 

Private Types

typedef SDialogueTextPropertyEditableTextBox Self
 

Private Member Functions

bool CanEdit () const
 
void GetDesiredWidth (float &OutMinDesiredWidth, float &OutMaxDesiredWidth)
 
EVisibility GetDiffersFromDefaultAsVisibility () const
 
FText GetKeyValue () const
 
ECheckBoxState GetLocalizableCheckState (bool bActiveState) const
 
EVisibility GetLocalizableVisibility () const
 
EVisibility GetNamespaceOverridenWarningImageVisibility () const
 
FText GetNamespaceValue () const
 
FText GetResetToolTip () const
 
EVisibility GetTextWarningImageVisibility () const
 
FText GetToolTipText () const
 
void HandleLocalizableCheckStateChanged (ECheckBoxState InCheckboxState, bool bActiveState)
 
bool IsCultureInvariantFlagEnabled () const
 
bool IsIdentityReadOnly () const
 
bool IsKeyReadOnly () const
 
bool IsNamespaceReadOnly () const
 
bool IsSourceTextReadOnly () const
 
bool IsValidIdentity (const FText &InIdentity, FText *OutReason=nullptr, const FText *InErrorCtx=nullptr) const
 
void OnNamespaceChanged (const FText &NewText)
 
void OnNamespaceCommitted (const FText &NewText, ETextCommit::Type CommitInfo)
 
FReply OnResetClicked ()
 
void OnTextChanged (const FText &NewText)
 
void OnTextCommitted (const FText &NewText, ETextCommit::Type CommitInfo)
 
void SetTextError (const FText &InErrorMsg)
 
 SLATE_BEGIN_ARGS (SDialogueTextPropertyEditableTextBox)
 
bool WillNamespaceBeUpdated () const
 

Detailed Description

Definition at line 15 of file SDialogueTextPropertyEditableTextBox.h.

Member Typedef Documentation

◆ Self

Member Function Documentation

◆ CanEdit()

bool SDialogueTextPropertyEditableTextBox::CanEdit ( ) const
private

Definition at line 410 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ Construct()

void SDialogueTextPropertyEditableTextBox::Construct ( const FArguments & Arguments,
const TSharedRef< IEditableTextProperty > & InEditableTextProperty,
const TSharedRef< IPropertyHandle > & InPropertyHandle )

The styling of the textbox Font color and opacity (overrides Style) Text color and opacity (overrides Style) Text color and opacity when read-only (overrides Style) Whether text wraps onto a new line when it's length exceeds this width; if this value is zero or negative, no wrapping occurs Whether to wrap text automatically based on the widget's computed horizontal space Whether to select all text when the user clicks to give focus on the widget Whether to clear keyboard focus when pressing enter to commit changes Whether to select all text when pressing enter to commit changes The optional modifier key necessary to create a newline when typing into the editor. When specified, will report the MinDesiredWidth if larger than the content's desired width When specified, will report the MaxDesiredHeight if smaller than the content's desired height

Definition at line 29 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the call graph for this function:

◆ GetDesiredWidth()

void SDialogueTextPropertyEditableTextBox::GetDesiredWidth ( float & OutMinDesiredWidth,
float & OutMaxDesiredWidth )
private

Definition at line 375 of file SDialogueTextPropertyEditableTextBox.cpp.

◆ GetDiffersFromDefaultAsVisibility()

EVisibility SDialogueTextPropertyEditableTextBox::GetDiffersFromDefaultAsVisibility ( ) const
private

Definition at line 343 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetKeyValue()

FText SDialogueTextPropertyEditableTextBox::GetKeyValue ( ) const
private

Definition at line 770 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetLocalizableCheckState()

ECheckBoxState SDialogueTextPropertyEditableTextBox::GetLocalizableCheckState ( bool bActiveState) const
private

Definition at line 907 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetLocalizableVisibility()

EVisibility SDialogueTextPropertyEditableTextBox::GetLocalizableVisibility ( ) const
private

Definition at line 364 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetNamespaceOverridenWarningImageVisibility()

EVisibility SDialogueTextPropertyEditableTextBox::GetNamespaceOverridenWarningImageVisibility ( ) const
private

Definition at line 967 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ GetNamespaceValue()

FText SDialogueTextPropertyEditableTextBox::GetNamespaceValue ( ) const
private

Definition at line 678 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetResetToolTip()

FText SDialogueTextPropertyEditableTextBox::GetResetToolTip ( ) const
private

Definition at line 327 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetTextValue()

FText SDialogueTextPropertyEditableTextBox::GetTextValue ( ) const

Definition at line 538 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetTextWarningImageVisibility()

EVisibility SDialogueTextPropertyEditableTextBox::GetTextWarningImageVisibility ( ) const
private

Definition at line 978 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ GetToolTipText()

FText SDialogueTextPropertyEditableTextBox::GetToolTipText ( ) const
private

Definition at line 473 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ HandleLocalizableCheckStateChanged()

void SDialogueTextPropertyEditableTextBox::HandleLocalizableCheckStateChanged ( ECheckBoxState InCheckboxState,
bool bActiveState )
private

Definition at line 921 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ IsCultureInvariantFlagEnabled()

bool SDialogueTextPropertyEditableTextBox::IsCultureInvariantFlagEnabled ( ) const
private

Definition at line 416 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ IsIdentityReadOnly()

bool SDialogueTextPropertyEditableTextBox::IsIdentityReadOnly ( ) const
private

Definition at line 452 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ IsKeyReadOnly()

bool SDialogueTextPropertyEditableTextBox::IsKeyReadOnly ( ) const
inlineprivate

Definition at line 100 of file SDialogueTextPropertyEditableTextBox.h.

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

◆ IsNamespaceReadOnly()

bool SDialogueTextPropertyEditableTextBox::IsNamespaceReadOnly ( ) const
private

Definition at line 447 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ IsSourceTextReadOnly()

bool SDialogueTextPropertyEditableTextBox::IsSourceTextReadOnly ( ) const
private

Definition at line 421 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ IsValidIdentity()

bool SDialogueTextPropertyEditableTextBox::IsValidIdentity ( const FText & InIdentity,
FText * OutReason = nullptr,
const FText * InErrorCtx = nullptr ) const
private

Definition at line 991 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ OnFocusReceived()

FReply SDialogueTextPropertyEditableTextBox::OnFocusReceived ( const FGeometry & MyGeometry,
const FFocusEvent & InFocusEvent )
override

Definition at line 394 of file SDialogueTextPropertyEditableTextBox.cpp.

◆ OnNamespaceChanged()

void SDialogueTextPropertyEditableTextBox::OnNamespaceChanged ( const FText & NewText)
private

Definition at line 700 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ OnNamespaceCommitted()

void SDialogueTextPropertyEditableTextBox::OnNamespaceCommitted ( const FText & NewText,
ETextCommit::Type CommitInfo )
private

Definition at line 709 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ OnResetClicked()

FReply SDialogueTextPropertyEditableTextBox::OnResetClicked ( )
private

Definition at line 353 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ OnTextChanged()

void SDialogueTextPropertyEditableTextBox::OnTextChanged ( const FText & NewText)
private

Definition at line 563 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ OnTextChangedEvent()

FDialogueTextChangedDelegate & SDialogueTextPropertyEditableTextBox::OnTextChangedEvent ( )
inline

Definition at line 90 of file SDialogueTextPropertyEditableTextBox.h.

◆ OnTextCommitted()

void SDialogueTextPropertyEditableTextBox::OnTextCommitted ( const FText & NewText,
ETextCommit::Type CommitInfo )
private

Definition at line 580 of file SDialogueTextPropertyEditableTextBox.cpp.

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

◆ OnTextCommittedEvent()

FDialogueTextCommitedDelegate & SDialogueTextPropertyEditableTextBox::OnTextCommittedEvent ( )
inline

Definition at line 89 of file SDialogueTextPropertyEditableTextBox.h.

◆ SetTextError()

void SDialogueTextPropertyEditableTextBox::SetTextError ( const FText & InErrorMsg)
private

Definition at line 665 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ SetTextValue()

void SDialogueTextPropertyEditableTextBox::SetTextValue ( const FText & NewValue)

Definition at line 555 of file SDialogueTextPropertyEditableTextBox.cpp.

Here is the caller graph for this function:

◆ SLATE_BEGIN_ARGS()

SDialogueTextPropertyEditableTextBox::SLATE_BEGIN_ARGS ( SDialogueTextPropertyEditableTextBox )
inlineprivate

Definition at line 19 of file SDialogueTextPropertyEditableTextBox.h.

◆ SupportsKeyboardFocus()

bool SDialogueTextPropertyEditableTextBox::SupportsKeyboardFocus ( ) const
override

Definition at line 389 of file SDialogueTextPropertyEditableTextBox.cpp.

◆ Tick()

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

Definition at line 400 of file SDialogueTextPropertyEditableTextBox.cpp.

◆ WillNamespaceBeUpdated()

bool SDialogueTextPropertyEditableTextBox::WillNamespaceBeUpdated ( ) const
private

Definition at line 442 of file SDialogueTextPropertyEditableTextBox.cpp.

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

Member Data Documentation

◆ bAddResetToDefaultWidget

bool SDialogueTextPropertyEditableTextBox::bAddResetToDefaultWidget = true
protected

Definition at line 156 of file SDialogueTextPropertyEditableTextBox.h.

◆ bIsMultiLine

bool SDialogueTextPropertyEditableTextBox::bIsMultiLine = true
protected

Definition at line 155 of file SDialogueTextPropertyEditableTextBox.h.

◆ EditableTextProperty

TSharedPtr<IEditableTextProperty> SDialogueTextPropertyEditableTextBox::EditableTextProperty
protected

Definition at line 142 of file SDialogueTextPropertyEditableTextBox.h.

◆ KeyEditableTextBox

TSharedPtr<SEditableTextBox> SDialogueTextPropertyEditableTextBox::KeyEditableTextBox
protected

Definition at line 151 of file SDialogueTextPropertyEditableTextBox.h.

◆ MultiLineWidget

TSharedPtr<SMultiLineEditableTextBox> SDialogueTextPropertyEditableTextBox::MultiLineWidget
protected

Definition at line 146 of file SDialogueTextPropertyEditableTextBox.h.

◆ MultipleValuesText

FText SDialogueTextPropertyEditableTextBox::MultipleValuesText
staticprotected

Definition at line 158 of file SDialogueTextPropertyEditableTextBox.h.

◆ NamespaceEditableTextBox

TSharedPtr<SEditableTextBox> SDialogueTextPropertyEditableTextBox::NamespaceEditableTextBox
protected

Definition at line 150 of file SDialogueTextPropertyEditableTextBox.h.

◆ PreviousHeight

TOptional<float> SDialogueTextPropertyEditableTextBox::PreviousHeight
protected

Definition at line 153 of file SDialogueTextPropertyEditableTextBox.h.

◆ PrimaryWidget

TSharedPtr<SWidget> SDialogueTextPropertyEditableTextBox::PrimaryWidget
protected

Definition at line 145 of file SDialogueTextPropertyEditableTextBox.h.

◆ PropertyHandle

TSharedPtr<IPropertyHandle> SDialogueTextPropertyEditableTextBox::PropertyHandle
protected

Definition at line 143 of file SDialogueTextPropertyEditableTextBox.h.

◆ TextChangedEvent

FDialogueTextChangedDelegate SDialogueTextPropertyEditableTextBox::TextChangedEvent
protected

Definition at line 139 of file SDialogueTextPropertyEditableTextBox.h.

◆ TextCommittedEvent

FDialogueTextCommitedDelegate SDialogueTextPropertyEditableTextBox::TextCommittedEvent
protected

Definition at line 138 of file SDialogueTextPropertyEditableTextBox.h.


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