You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
69 lines
1.7 KiB
C++
69 lines
1.7 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "SlateFwd.h"
|
|
#include "Input/Reply.h"
|
|
#include "Widgets/SWidget.h"
|
|
#include "Widgets/Views/STableViewBase.h"
|
|
#include "Widgets/Views/STableRow.h"
|
|
|
|
class IPropertyHandle;
|
|
class IPropertyUtilities;
|
|
class ULocalizationTarget;
|
|
struct FLocalizationTargetSettings;
|
|
|
|
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();
|
|
|
|
bool CanGatherText() const;
|
|
FReply GatherText();
|
|
|
|
bool CanImportText() const;
|
|
FReply ImportText();
|
|
|
|
bool CanExportText() const;
|
|
FReply ExportText();
|
|
|
|
bool CanImportDialogueScript() const;
|
|
FReply ImportDialogueScript();
|
|
|
|
bool CanExportDialogueScript() const;
|
|
FReply ExportDialogueScript();
|
|
|
|
bool CanImportDialogue() const;
|
|
FReply ImportDialogue();
|
|
|
|
bool CanCountWords() const;
|
|
FReply CountWords();
|
|
|
|
bool CanCompileText() const;
|
|
FReply CompileText();
|
|
|
|
FReply EnqueueDeletion();
|
|
void Delete();
|
|
|
|
private:
|
|
TSharedPtr<IPropertyUtilities> PropertyUtilities;
|
|
TSharedPtr<IPropertyHandle> TargetObjectPropertyHandle;
|
|
TWeakPtr<SDockTab> TargetEditorDockTab;
|
|
};
|