Files
UnrealEngineUWP/Engine/Source/Developer/LogVisualizer/Private/SVisualLoggerLogsList.h
sebastian kowalczyk ac74f84d72 Bunch of fixes to have better control over Visual Logger tool with keyboard.
[CL 2584112 by sebastian kowalczyk in Main branch]
2015-06-11 09:51:31 -04:00

31 lines
1.3 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
class SVisualLoggerLogsList : public SVisualLoggerBaseWidget
{
public:
SLATE_BEGIN_ARGS(SVisualLoggerLogsList){}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs, const TSharedRef<FUICommandList>& InCommandList);
TSharedRef<ITableRow> LogEntryLinesGenerateRow(TSharedPtr<struct FLogEntryItem> Item, const TSharedRef<STableViewBase>& OwnerTable);
void LogEntryLineSelectionChanged(TSharedPtr<FLogEntryItem> SelectedItem, ESelectInfo::Type SelectInfo);
virtual FReply OnKeyDown(const FGeometry& MyGeometry, const FKeyEvent& InKeyEvent) override;
void ObjectSelectionChanged(TArray<TSharedPtr<class STimeline> >& TimeLines);
void OnItemSelectionChanged(const FVisualLogDevice::FVisualLogEntryItem& EntryItem);
void GenerateLogs(const FVisualLogDevice::FVisualLogEntryItem& EntryItem, bool bGenerateHeader);
void OnFiltersChanged();
void OnFiltersSearchChanged(const FText& Filter);
FText GetFilterText() const;
const FVisualLogDevice::FVisualLogEntryItem& GetCurrentLogEntry() { return CurrentLogEntry; }
protected:
TSharedPtr<SListView<TSharedPtr<struct FLogEntryItem> > > LogsLinesWidget;
TArray<TSharedPtr<struct FLogEntryItem> > LogEntryLines;
FVisualLogDevice::FVisualLogEntryItem CurrentLogEntry;
TArray<TSharedPtr<class STimeline> > SelectedTimeLines;
};