You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "STableRow.h"
|
|
#include "IPropertyUtilities.h"
|
|
#include "PropertyHandle.h"
|
|
#include "LocalizationTargetTypes.h"
|
|
#include "LocalizationTargetTypes.h"
|
|
#include "SDockTab.h"
|
|
|
|
class SLocalizationDashboardTargetRow : public SMultiColumnTableRow< TSharedPtr<IPropertyHandle> >
|
|
{
|
|
public:
|
|
void Construct(const FTableRowArgs& InArgs, const TSharedRef<STableViewBase>& OwnerTableView, const TSharedRef<IPropertyUtilities>& InPropertyUtilities, const TSharedRef<IPropertyHandle>& InTargetObjectPropertyHandle);
|
|
TSharedRef<SWidget> GenerateWidgetForColumn( const FName& ColumnName ) override;
|
|
|
|
private:
|
|
ULocalizationTarget* GetTarget() const;
|
|
FLocalizationTargetSettings* GetTargetSettings() const;
|
|
|
|
FText GetTargetName() const;
|
|
void OnNavigate();
|
|
|
|
FText GetCulturesText() const;
|
|
|
|
uint32 GetWordCount() const;
|
|
uint32 GetNativeWordCount() const;
|
|
FText GetWordCountText() const;
|
|
|
|
void UpdateTargetFromReports();
|
|
|
|
FReply Gather();
|
|
FReply ImportAll();
|
|
FReply ExportAll();
|
|
FReply CountWords();
|
|
FReply CompileAll();
|
|
|
|
FReply EnqueueDeletion();
|
|
void Delete();
|
|
|
|
private:
|
|
TSharedPtr<IPropertyUtilities> PropertyUtilities;
|
|
TSharedPtr<IPropertyHandle> TargetObjectPropertyHandle;
|
|
TWeakPtr<SDockTab> TargetEditorDockTab;
|
|
}; |