MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Error::SErrorDisplay Class Reference

#include <SErrorDisplay.h>

Inheritance diagram for Mcro::Error::SErrorDisplay:
Mcro::Error::SPlainTextDisplay

Public Member Functions

 SLATE_BEGIN_ARGS (SErrorDisplay)
 
 SLATE_ARGUMENT (IErrorRef, Error)
 
 SLATE_NAMED_SLOT (FArguments, PostSeverity)
 
 SLATE_NAMED_SLOT (FArguments, PostMessage)
 
 SLATE_NAMED_SLOT (FArguments, PostDetails)
 
 SLATE_NAMED_SLOT (FArguments, PostCodeContext)
 
 SLATE_NAMED_SLOT (FArguments, PostErrorPropagation)
 
 SLATE_NAMED_SLOT (FArguments, PostInnerErrors)
 
void Construct (const FArguments &inArgs)
 

Static Public Member Functions

static auto Text (const FString &text) -> Slate::TAttributeBlock< SEditableTextBox >
 
static auto Text (const FStringView &text) -> Slate::TAttributeBlock< SEditableTextBox >
 
static auto OptionalText (const FString &text) -> Slate::TAttributeBlock< SEditableTextBox >
 
static auto OptionalTextWidget (const FString &text) -> TSharedRef< SEditableTextBox >
 
static auto ExpandableText (const FText &title, const FString &text) -> Slate::TAttributeBlock< SExpandableArea >
 
static auto ExpandableText (const FText &title, const FString &text, const Slate::TAttributeBlock< SEditableTextBox > &textAttributes) -> Slate::TAttributeBlock< SExpandableArea >
 
static auto ExpandableTextWidget (const FText &title, const FString &text) -> TSharedRef< SExpandableArea >
 
static auto Severity (const IErrorRef &error) -> Slate::TAttributeBlock< STextBlock >
 
static auto SeverityWidget (const IErrorRef &error) -> TSharedRef< STextBlock >
 
static auto Row () -> SVerticalBox::FSlot::FSlotArguments
 

Detailed Description

Base class for displaying Mcro::Error::IError objects to the user

Definition at line 24 of file SErrorDisplay.h.

Member Function Documentation

◆ Construct()

void Mcro::Error::SErrorDisplay::Construct ( const FArguments & inArgs)

Constructs this widget with InArgs

◆ ExpandableText() [1/2]

static auto Mcro::Error::SErrorDisplay::ExpandableText ( const FText & title,
const FString & text ) -> Slate::TAttributeBlock< SExpandableArea >
static

◆ ExpandableText() [2/2]

static auto Mcro::Error::SErrorDisplay::ExpandableText ( const FText & title,
const FString & text,
const Slate::TAttributeBlock< SEditableTextBox > & textAttributes ) -> Slate::TAttributeBlock< SExpandableArea >
static

◆ ExpandableTextWidget()

static auto Mcro::Error::SErrorDisplay::ExpandableTextWidget ( const FText & title,
const FString & text ) -> TSharedRef< SExpandableArea >
static

◆ OptionalText()

static auto Mcro::Error::SErrorDisplay::OptionalText ( const FString & text) -> Slate::TAttributeBlock< SEditableTextBox >
static

◆ OptionalTextWidget()

static auto Mcro::Error::SErrorDisplay::OptionalTextWidget ( const FString & text) -> TSharedRef< SEditableTextBox >
static

◆ Row()

static auto Mcro::Error::SErrorDisplay::Row ( ) -> SVerticalBox::FSlot::FSlotArguments
static

◆ Severity()

static auto Mcro::Error::SErrorDisplay::Severity ( const IErrorRef & error) -> Slate::TAttributeBlock< STextBlock >
static

◆ SeverityWidget()

static auto Mcro::Error::SErrorDisplay::SeverityWidget ( const IErrorRef & error) -> TSharedRef< STextBlock >
static

◆ SLATE_ARGUMENT()

Mcro::Error::SErrorDisplay::SLATE_ARGUMENT ( IErrorRef ,
Error  )

◆ SLATE_BEGIN_ARGS()

Mcro::Error::SErrorDisplay::SLATE_BEGIN_ARGS ( SErrorDisplay )
inline

Definition at line 28 of file SErrorDisplay.h.

◆ SLATE_NAMED_SLOT() [1/6]

Mcro::Error::SErrorDisplay::SLATE_NAMED_SLOT ( FArguments ,
PostCodeContext  )

◆ SLATE_NAMED_SLOT() [2/6]

Mcro::Error::SErrorDisplay::SLATE_NAMED_SLOT ( FArguments ,
PostDetails  )

◆ SLATE_NAMED_SLOT() [3/6]

Mcro::Error::SErrorDisplay::SLATE_NAMED_SLOT ( FArguments ,
PostErrorPropagation  )

◆ SLATE_NAMED_SLOT() [4/6]

Mcro::Error::SErrorDisplay::SLATE_NAMED_SLOT ( FArguments ,
PostInnerErrors  )

◆ SLATE_NAMED_SLOT() [5/6]

Mcro::Error::SErrorDisplay::SLATE_NAMED_SLOT ( FArguments ,
PostMessage  )

◆ SLATE_NAMED_SLOT() [6/6]

Mcro::Error::SErrorDisplay::SLATE_NAMED_SLOT ( FArguments ,
PostSeverity  )

◆ Text() [1/2]

static auto Mcro::Error::SErrorDisplay::Text ( const FString & text) -> Slate::TAttributeBlock< SEditableTextBox >
static

◆ Text() [2/2]

static auto Mcro::Error::SErrorDisplay::Text ( const FStringView & text) -> Slate::TAttributeBlock< SEditableTextBox >
static

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