Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > UI
Inheritance Hierarchy
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Public/UI/SLogWidget.h |
Include | #include "UI/SLogWidget.h" |
Syntax
class SLogWidget : public SCompoundWidget
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bAutoClose | Whether or not auto-closing the current window is enabled |
![]() |
bool | bAutoScroll | Whether or not auto-scrolling is currently enabled |
![]() |
TSharedPtr< SComboBox< TSharedPtr< FString > > > | ConsoleComboBox | The combo box for selecting the console command context |
![]() |
TArray< TSharedPtr< FString > > | ConsoleContextList | The list of available console command contexts (for the combo box) |
![]() |
TSharedPtr< SEditableTextBox > | ConsoleTextBox | The console command text box |
![]() |
FString | DefaultConsoleContext | The default console command context (for the combo box) |
![]() |
TArray< TSharedRef< FLogLine > > | LogLines | The full list of all accumulated log lines - stored centrally/separately from tabs |
![]() |
TSharedPtr< FTabManager > | LogTabManager | The log window tab manager |
![]() |
TArray< TSharedRef< FLogTabInfo > > | LogTabs | Holds information necessary for initializing and handling the state of each tab |
![]() |
TSharedPtr< FUICommandList > | LogWidgetCommands | Log widget context-menu/shortcut-key commands |
![]() |
FOnConsoleCommand | OnConsoleCommand | Delegate for handling UI-triggered console commands |
![]() |
FOnDeveloperClicked | OnDeveloperClicked | Notification for developer checkbox click |
![]() |
FOnSuspendClicked | OnSuspendClicked | Notification for suspend/resume button click |
![]() |
TSharedPtr< STextBlock > | SuspendButtonText | Reference to the suspend buttons text, so the text can be modified |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
SLogWidget () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddLine
(
ELogType InLogType, |
Adds a log line to the log window |
![]() |
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 |
![]() ![]() |
bool | CanCopy () |
Used to determine whether 'Copy' is currently a valid action |
![]() ![]() |
bool | CanFind () |
Used to determine whether 'Find' is currently a valid action |
![]() |
void | Construct
(
const FArguments& Args |
Widget constructorSLogWidget |
![]() ![]() |
TSharedPtr< FLogTabInfo > | Returns a reference to the LogTabs entry, for the currently active tab | |
![]() |
TSharedRef< FTabManager::FLayout > | InitializeTabLayout
(
const FArguments& Args |
Initializes the LogTabInfo array and tab formatting, and returns the log tab formatting layout |
![]() |
void | OnCopy () |
Called when the 'Copy' context button is clicked |
![]() |
void | OnFind () |
Called when the 'Find' context button is clicked |
![]() |
void | OnSuspendStateChanged
(
ESuspendState InSuspendState |
Notification from the unit test (through a delegate), that the server suspend state has changed (for the button text) |
![]() |
void | ScrollToEnd
(
TSharedRef< FLogTabInfo > InTab |
Scrolls the specified tab to the last entry |
![]() |
void | ScrollToText
(
TSharedRef< FLogTabInfo > InTab, |
Scrolls to the specified text, in the specified tab (starting from the currently selected line) |
![]() |
TSharedRef< SDockTab > | SpawnLogTab
(
const FSpawnTabArgs& InSpawnTabArgs |
Spawns an individual tab for the log list view |
![]() |
void | UpdateFindHighlight
(
TSharedPtr< FLogTabInfo > InTab, |
Updates the find text highlighting for a tab |
Overridden from SWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FReply | Called after a key is pressed when this widget has keyboard focus | |
![]() ![]() |
void | Ticks this widget with Geometry. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FArguments |