Engine source (Main branch up to CL 2037954)

This commit is contained in:
UnrealBot
2014-04-02 18:09:23 -04:00
parent 03f7ab03b7
commit db494a6e69
1357 changed files with 44375 additions and 28539 deletions

View File

@@ -0,0 +1,45 @@
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
SDeviceProfileEditorSingleProfileView.cpp: Implements the SDeviceProfileEditorSingleProfileView class.
=============================================================================*/
#include "DeviceProfileEditorPCH.h"
#include "PropertyEditorModule.h"
#define LOCTEXT_NAMESPACE "DeviceProfileEditorSingleProfileView"
void SDeviceProfileEditorSingleProfileView::Construct(const FArguments& InArgs, TWeakObjectPtr< UDeviceProfile > InDeviceProfileToView)
{
EditingProfile = InDeviceProfileToView;
// initialize settings view
FDetailsViewArgs DetailsViewArgs;
{
DetailsViewArgs.bAllowSearch = false;
DetailsViewArgs.bSearchInitialKeyFocus = false;
DetailsViewArgs.bHideSelectionTip = true;
DetailsViewArgs.bLockable = false;
DetailsViewArgs.bObjectsUseNameArea = false;
DetailsViewArgs.bUpdatesFromSelection = false;
DetailsViewArgs.bShowOptions = false;
}
SettingsView = FModuleManager::GetModuleChecked<FPropertyEditorModule>("PropertyEditor").CreateDetailView(DetailsViewArgs);
SettingsView->SetObject(EditingProfile.Get());
ChildSlot
[
SNew(SBorder)
.BorderImage(FEditorStyle::GetBrush("NoBorder"))
[
SettingsView.ToSharedRef()
]
];
}
#undef LOCTEXT_NAMESPACE