29 lines
862 B
C++
29 lines
862 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "PropertyEditorDelegates.h"
|
|
#include "UObject/WeakObjectPtr.h"
|
|
#include "UObject/WeakObjectPtrTemplates.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
|
|
class ULocalizationTarget;
|
|
class ULocalizationTargetSet;
|
|
struct FPropertyChangedEvent;
|
|
|
|
class SLocalizationTargetEditor : public SCompoundWidget
|
|
{
|
|
public:
|
|
SLATE_BEGIN_ARGS(SLocalizationTargetEditor) {}
|
|
SLATE_END_ARGS()
|
|
|
|
void Construct(const FArguments& InArgs, ULocalizationTargetSet* const InProjectSettings, ULocalizationTarget* const InTarget, const FIsPropertyEditingEnabled& IsPropertyEditingEnabled);
|
|
|
|
private:
|
|
void OnFinishedChangingProperties(const FPropertyChangedEvent& InEvent);
|
|
|
|
/** Localization target being edited */
|
|
TWeakObjectPtr<ULocalizationTarget> LocalizationTarget;
|
|
};
|