2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-11-19 07:43:07 -05:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
class SVisualLoggerLogsList : public SCompoundWidget
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
SLATE_BEGIN_ARGS(SVisualLoggerLogsList){}
|
|
|
|
|
SLATE_END_ARGS()
|
|
|
|
|
|
2015-01-15 06:19:24 -05:00
|
|
|
void Construct(const FArguments& InArgs, const TSharedRef<FUICommandList>& InCommandList);
|
2014-11-19 07:43:07 -05:00
|
|
|
|
|
|
|
|
TSharedRef<ITableRow> LogEntryLinesGenerateRow(TSharedPtr<struct FLogEntryItem> Item, const TSharedRef<STableViewBase>& OwnerTable);
|
|
|
|
|
void LogEntryLineSelectionChanged(TSharedPtr<FLogEntryItem> SelectedItem, ESelectInfo::Type SelectInfo);
|
2014-12-10 09:22:32 -05:00
|
|
|
virtual bool SupportsKeyboardFocus() const override { return true; }
|
|
|
|
|
virtual FReply OnKeyDown(const FGeometry& MyGeometry, const FKeyEvent& InKeyEvent) override;
|
2014-11-19 07:43:07 -05:00
|
|
|
|
|
|
|
|
void OnItemSelectionChanged(const FVisualLogDevice::FVisualLogEntryItem& EntryItem);
|
|
|
|
|
void OnFiltersChanged();
|
2014-12-04 10:00:51 -05:00
|
|
|
void OnFiltersSearchChanged(const FText& Filter);
|
|
|
|
|
FText GetFilterText() const;
|
2015-04-24 07:10:23 -04:00
|
|
|
const FVisualLogDevice::FVisualLogEntryItem& GetCurrentLogEntry() { return CurrentLogEntry; }
|
2014-11-19 07:43:07 -05:00
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
TSharedPtr<SListView<TSharedPtr<struct FLogEntryItem> > > LogsLinesWidget;
|
|
|
|
|
TArray<TSharedPtr<struct FLogEntryItem> > LogEntryLines;
|
|
|
|
|
FVisualLogDevice::FVisualLogEntryItem CurrentLogEntry;
|
|
|
|
|
};
|