Files
UnrealEngineUWP/Engine/Source/Developer/ProjectLauncher/Private/Widgets/Deploy/SProjectLauncherDeployTaskSettings.cpp
bryan sefcik a3dddc6630 Pass 1 on Developer include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e281694758d0bf2ea1399

[CL 21960082 by bryan sefcik in ue5-main branch]
2022-09-11 18:32:18 -04:00

125 lines
3.0 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "Widgets/Deploy/SProjectLauncherDeployTaskSettings.h"
#include "Fonts/SlateFontInfo.h"
#include "Styling/CoreStyle.h"
#include "SlateOptMacros.h"
#include "Widgets/SOverlay.h"
#include "Widgets/Layout/SGridPanel.h"
#include "Widgets/Layout/SScrollBox.h"
#include "Widgets/Layout/SSeparator.h"
#include "Widgets/Text/STextBlock.h"
#include "Widgets/Deploy/SProjectLauncherDeployPage.h"
#include "Widgets/Launch/SProjectLauncherLaunchPage.h"
#include "Widgets/Project/SProjectLauncherProjectPage.h"
#define LOCTEXT_NAMESPACE "SProjectLauncherDeployTaskSettings"
/* SProjectLauncherDeployTaskSettings structors
*****************************************************************************/
SProjectLauncherDeployTaskSettings::~SProjectLauncherDeployTaskSettings()
{
}
/* SProjectLauncherDeployTaskSettings interface
*****************************************************************************/
BEGIN_SLATE_FUNCTION_BUILD_OPTIMIZATION
void SProjectLauncherDeployTaskSettings::Construct(const FArguments& InArgs, const TSharedRef<FProjectLauncherModel>& InModel)
{
Model = InModel;
ChildSlot
[
SNew(SOverlay)
+ SOverlay::Slot()
.HAlign(HAlign_Fill)
[
SNew(SScrollBox)
+ SScrollBox::Slot()
.Padding(0.0f, 0.0f, 8.0f, 0.0f)
[
SNew(SGridPanel)
.FillColumn(1, 1.0f)
// project section
+ SGridPanel::Slot(0, 0)
.Padding(8.0f, 0.0f, 0.0f, 0.0f)
.VAlign(VAlign_Top)
[
SNew(STextBlock)
.Font(FCoreStyle::GetDefaultFontStyle("Bold", 13))
.Text(LOCTEXT("ProjectSectionHeader", "Project"))
]
+ SGridPanel::Slot(1, 0)
.Padding(32.0f, 0.0f, 8.0f, 0.0f)
[
SNew(SProjectLauncherProjectPage, InModel)
]
// deploy section
+ SGridPanel::Slot(0, 7)
.ColumnSpan(3)
.Padding(0.0f, 16.0f)
[
SNew(SSeparator)
.Orientation(Orient_Horizontal)
]
+ SGridPanel::Slot(0, 8)
.Padding(8.0f, 0.0f, 0.0f, 0.0f)
.VAlign(VAlign_Top)
[
SNew(STextBlock)
.Font(FCoreStyle::GetDefaultFontStyle("Bold", 13))
.Text(LOCTEXT("DeploySectionHeader", "Deploy"))
]
+ SGridPanel::Slot(1, 8)
.Padding(32.0f, 0.0f, 8.0f, 0.0f)
[
SNew(SProjectLauncherDeployPage, InModel, true)
]
// launch section
+ SGridPanel::Slot(0, 9)
.ColumnSpan(3)
.Padding(0.0f, 16.0f)
[
SNew(SSeparator)
.Orientation(Orient_Horizontal)
]
+ SGridPanel::Slot(0, 10)
.Padding(8.0f, 0.0f, 0.0f, 0.0f)
.VAlign(VAlign_Top)
[
SNew(STextBlock)
.Font(FCoreStyle::GetDefaultFontStyle("Bold", 13))
.Text(LOCTEXT("LaunchSectionHeader", "Launch"))
]
+ SGridPanel::Slot(1, 10)
.HAlign(HAlign_Fill)
.Padding(32.0f, 0.0f, 8.0f, 0.0f)
[
SNew(SProjectLauncherLaunchPage, InModel)
]
]
]
];
}
END_SLATE_FUNCTION_BUILD_OPTIMIZATION
#undef LOCTEXT_NAMESPACE