34 lines
910 B
C++
34 lines
910 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
#include "SVisualLoggerView.h"
|
|
#include "SVisualLoggerTimeline.h"
|
|
#include "Framework/Text/ITextDecorator.h"
|
|
#include "Widgets/Text/SRichTextBlock.h"
|
|
|
|
class SVisualLoggerReport : public SCompoundWidget
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SVisualLoggerReport) {}
|
|
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, TArray< TSharedPtr<class SLogVisualizerTimeline> >&, TSharedPtr<class SVisualLoggerView> VisualLoggerView);
|
|
|
|
virtual ~SVisualLoggerReport();
|
|
|
|
protected:
|
|
void GenerateReportText();
|
|
|
|
protected:
|
|
TArray< TSharedPtr<class SLogVisualizerTimeline> > SelectedItems;
|
|
TArray<TSharedRef<ITextDecorator>> Decorators;
|
|
TSharedPtr<class SRichTextBlock> InteractiveRichText;
|
|
FText ReportText;
|
|
TArray<FString> CollectedEvents;
|
|
};
|