A context for displaying modal warning messages.
更多...
#include <FeedbackContext.h>
|
|
void | ClearWarningsAndErrors () |
| | Clears all history
|
| |
|
void | GetErrors (TArray< FString > &OutErrors) const |
| | Gets errors history
|
| |
|
void | GetErrorsAndWarningsAndEmpty (TArray< FString > &OutWarningsAndErrors) |
| | Gets all errors and warnings and clears the history
|
| |
|
FORCEINLINE const FSlowTaskStack & | GetScopeStack () const |
| | Public const access to the current state of the scope stack
|
| |
|
void | GetWarnings (TArray< FString > &OutWarnings) const |
| | Gets warnings history
|
| |
| virtual bool | ReceivedUserCancel () |
| | Whether or not the user has canceled out of the progress dialog (i.e. 更多...
|
| |
|
virtual TWeakPtr< class SBuildProgressWidget > | ShowBuildProgressWindow () |
| | Shows/Closes Special Build Progress dialogs
|
| |
|
virtual bool | YesNof (const FText &Question) |
| | Ask the user a binary question, returning their answer
|
| |
|
| void | AddError (const FString &InError) |
| | Adds a new error message to errors history. 更多...
|
| |
| void | AddWarning (const FString &InWarning) |
| | Adds a new warning message to warnings history. 更多...
|
| |
|
virtual void | FinalizeSlowTask () |
| | Called to destroy a slow task
|
| |
|
virtual bool | IsPlayingInEditor () const |
| | Called to check whether we are playing in editor when starting a slow task
|
| |
| virtual void | ProgressReported (const float TotalProgressInterp, FText DisplayMessage) |
| | Called when some progress has occurred 更多...
|
| |
|
void | RequestUpdateUI (bool bForceUpdate=false) |
| | Ask that the UI be updated as a result of the scope stack changing
|
| |
|
virtual void | StartSlowTask (const FText &Task, bool bShowCancelButton=false) |
| | Called to create a slow task
|
| |
|
void | UpdateUI () |
| | Update the UI as a result of the scope stack changing
|
| |
|
|
FSlowTaskStack | ScopeStack |
| | Stack of pointers to feedback scopes that are currently open
|
| |
|
TSharedPtr< FSlowTaskStack > | ScopeStackSharedPtr |
| | Points to the ScopeStack above when initialized - this is because Slate wants a TSharedPtr, but we don't want to allocate
|
| |
A context for displaying modal warning messages.
◆ AddError()
| void FFeedbackContext::AddError |
( |
const FString & |
InError | ) |
|
|
inlineprotected |
Adds a new error message to errors history.
- 参数
-
◆ AddWarning()
| void FFeedbackContext::AddWarning |
( |
const FString & |
InWarning | ) |
|
|
inlineprotected |
Adds a new warning message to warnings history.
- 参数
-
◆ ProgressReported()
| virtual void FFeedbackContext::ProgressReported |
( |
const float |
TotalProgressInterp, |
|
|
FText |
DisplayMessage |
|
) |
| |
|
inlineprotectedvirtual |
Called when some progress has occurred
- 参数
-
| TotalProgressInterp | [0..1] Value indicating the total progress of the slow task |
| DisplayMessage | The message to display on the slow task |
◆ ReceivedUserCancel()
| virtual bool FFeedbackContext::ReceivedUserCancel |
( |
| ) |
|
|
inlinevirtual |
Whether or not the user has canceled out of the progress dialog (i.e.
the ongoing slow task or the last one that ran). The user cancel flag is reset when starting a new root slow task.
该类的文档由以下文件生成: