You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE) This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText. [CL 2399803 by Jamie Dale in Main branch]
32 lines
819 B
C++
32 lines
819 B
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
|
|
/** Implements a row widget for query list. */
|
|
class SCAQueryTableRow : public SMultiColumnTableRow< TSharedPtr<class FQueryTreeItem> >
|
|
{
|
|
public:
|
|
|
|
SLATE_BEGIN_ARGS(SCAQueryTableRow) {}
|
|
SLATE_ARGUMENT(TSharedPtr<class SCollisionAnalyzer>, OwnerAnalyzerWidget)
|
|
SLATE_ARGUMENT(TSharedPtr<class FQueryTreeItem>, Item)
|
|
SLATE_END_ARGS()
|
|
|
|
|
|
public:
|
|
|
|
void Construct(const FArguments& InArgs, const TSharedRef<STableViewBase>& InOwnerTableView);
|
|
|
|
virtual TSharedRef<SWidget> GenerateWidgetForColumn(const FName& ColumnName) override;
|
|
|
|
// delegate
|
|
FText GetTotalTimeText() const;
|
|
|
|
private:
|
|
|
|
/** Tree item */
|
|
TSharedPtr<class FQueryTreeItem> Item;
|
|
/** Analyzer widget that owns us */
|
|
TWeakPtr<SCollisionAnalyzer> OwnerAnalyzerWidgetPtr;
|
|
}; |