Files
UnrealEngineUWP/Engine/Source/Developer/LogVisualizer/Private/SVisualLoggerStatusView.h
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

29 lines
1.1 KiB
C++

// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
class SVisualLoggerStatusView : public SVisualLoggerBaseWidget
{
public:
SLATE_BEGIN_ARGS(SVisualLoggerStatusView){}
SLATE_END_ARGS();
virtual ~SVisualLoggerStatusView();
void Construct(const FArguments& InArgs, const TSharedRef<FUICommandList>& InCommandList);
void ResetData();
protected:
void OnObjectSelectionChanged(const TArray<FName>& SelectedRows);
void OnItemSelectionChanged(const FVisualLoggerDBRow& DBRow, int32 ItemIndex);
void GenerateStatusData(const FVisualLogDevice::FVisualLogEntryItem&, bool bAddHeader);
TSharedRef<ITableRow> HandleGenerateLogStatus(TSharedPtr<struct FLogStatusItem> InItem, const TSharedRef<STableViewBase>& OwnerTable);
void OnLogStatusGetChildren(TSharedPtr<struct FLogStatusItem> InItem, TArray< TSharedPtr<FLogStatusItem> >& OutItems);
void OnExpansionChanged(TSharedPtr<FLogStatusItem> Item, bool);
protected:
TArray<FString> ExpandedCategories;
TSharedPtr< STreeView< TSharedPtr<FLogStatusItem> > > StatusItemsView;
TArray< TSharedPtr<FLogStatusItem> > StatusItems;
};