Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
| Name | SLogWidget |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UI/SLogWidget.h |
| Include Path | #include "UI/SLogWidget.h" |
Syntax
class SLogWidget : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SLogWidget
- FSlateControlledConstruction → SWidget → SCompoundWidget → SLogWidget
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SLogWidget() |
UI/SLogWidget.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAutoClose | bool | Whether or not auto-closing the current window is enabled | UI/SLogWidget.h | |
| ConsoleContextList | TArray< TSharedPtr< FString > > | The list of available console command contexts (for the combo box) | UI/SLogWidget.h | |
| DefaultConsoleContext | FString | The default console command context (for the combo box) | UI/SLogWidget.h | |
| OnConsoleCommand | FOnConsoleCommand | Delegate for handling UI-triggered console commands | UI/SLogWidget.h | |
| OnDeveloperClicked | FOnDeveloperClicked | Notification for developer checkbox click | UI/SLogWidget.h | |
| OnSuspendClicked | FOnSuspendClicked | Notification for suspend/resume button click | UI/SLogWidget.h | |
| SuspendButtonText | TSharedPtr< STextBlock > | Reference to the suspend buttons text, so the text can be modified | UI/SLogWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddLine
(
ELogType InLogType, |
Adds a log line to the log window | UI/SLogWidget.h | |
void Construct
(
const FArguments& Args |
Widget constructorSLogWidget | UI/SLogWidget.h | |
void OnSuspendStateChanged
(
ESuspendState InSuspendState |
Notification from the unit test (through a delegate), that the server suspend state has changed (for the button text) | UI/SLogWidget.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanAutoScroll
(
TSharedPtr< FLogTabInfo > InTab |
Whether or not auto-scrolling is presently possible for the specified tab NOTE: Does NOT determine whether or not it is presently enabled though | UI/SLogWidget.h | |
bool CanCopy() |
Used to determine whether 'Copy' is currently a valid action | UI/SLogWidget.h | |
bool CanFind() |
Used to determine whether 'Find' is currently a valid action | UI/SLogWidget.h | |
TSharedPtr< FLogTabInfo > GetActiveTabInfo() |
Returns a reference to the LogTabs entry, for the currently active tab | UI/SLogWidget.h | |
TSharedRef< FTabManager::FLayout > InitializeTabLayout
(
const FArguments& Args |
Initializes the LogTabInfo array and tab formatting, and returns the log tab formatting layout | UI/SLogWidget.h | |
void OnCopy() |
Called when the 'Copy' context button is clicked | UI/SLogWidget.h | |
void OnFind() |
Called when the 'Find' context button is clicked | UI/SLogWidget.h | |
void ScrollToEnd
(
TSharedRef< FLogTabInfo > InTab |
Scrolls the specified tab to the last entry | UI/SLogWidget.h | |
void ScrollToText
(
TSharedRef< FLogTabInfo > InTab, |
Scrolls to the specified text, in the specified tab (starting from the currently selected line) | UI/SLogWidget.h | |
TSharedRef< SDockTab > SpawnLogTab
(
const FSpawnTabArgs& InSpawnTabArgs |
Spawns an individual tab for the log list view | UI/SLogWidget.h | |
void UpdateFindHighlight
(
TSharedPtr< FLogTabInfo > InTab, |
Updates the find text highlighting for a tab | UI/SLogWidget.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Called after a key is pressed when this widget has keyboard focus | UI/SLogWidget.h | ||
virtual void Tick
(
const FGeometry& AllottedGeometry, |
UI/SLogWidget.h |