You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE) This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText. [CL 2399803 by Jamie Dale in Main branch]
86 lines
2.6 KiB
C++
86 lines
2.6 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
|
|
/**
|
|
* Implements the profile page for the session launcher wizard.
|
|
*/
|
|
class SProjectLauncherBuildPage
|
|
: public SCompoundWidget
|
|
{
|
|
public:
|
|
|
|
SLATE_BEGIN_ARGS(SProjectLauncherBuildPage) { }
|
|
SLATE_END_ARGS()
|
|
|
|
public:
|
|
|
|
/** Destructor. */
|
|
~SProjectLauncherBuildPage( );
|
|
|
|
public:
|
|
|
|
/**
|
|
* Constructs the widget.
|
|
*
|
|
* @param InArgs The Slate argument list.
|
|
* @param InModel The data model.
|
|
*/
|
|
void Construct( const FArguments& InArgs, const FProjectLauncherModelRef& InModel );
|
|
|
|
protected:
|
|
|
|
/**
|
|
* Generates the DSYM for the project.
|
|
*
|
|
* @param ProjectName The name of the project.
|
|
* @param Configuration The build configuration name.
|
|
* @return true on success, false otherwise.
|
|
*/
|
|
bool GenerateDSYMForProject( const FString& ProjectName, const FString& Configuration );
|
|
|
|
private:
|
|
|
|
/** Callback for changing the checked state of a platform menu check box. */
|
|
void HandleBuildCheckedStateChanged( ECheckBoxState CheckState );
|
|
|
|
/** Callback for determining whether a platform menu entry is checked. */
|
|
ECheckBoxState HandleBuildIsChecked() const;
|
|
|
|
/** Callback for changing the selected profile in the profile manager. */
|
|
void HandleProfileManagerProfileSelected( const ILauncherProfilePtr& SelectedProfile, const ILauncherProfilePtr& PreviousProfile );
|
|
|
|
/** Callback for determining if the build platform list should be displayed. */
|
|
EVisibility HandleBuildPlatformVisibility( ) const;
|
|
|
|
/** Callback for pressing the Advanced Setting - Generate DSYM button. */
|
|
FReply HandleGenDSYMClicked();
|
|
|
|
/** Callback for getting the enabled state of the Generate DSYM button. */
|
|
bool HandleGenDSYMButtonEnabled() const;
|
|
|
|
/** Callback for determining if the build configuration should be shown */
|
|
EVisibility ShowBuildConfiguration() const;
|
|
|
|
/** Callback for selecting a build configuration. */
|
|
void HandleBuildConfigurationSelectorConfigurationSelected(EBuildConfigurations::Type Configuration);
|
|
|
|
/** Callback for getting the content text of the build configuration selector. */
|
|
FText HandleBuildConfigurationSelectorText() const;
|
|
|
|
/** Callback for determining the visibility of a validation error icon. */
|
|
EVisibility HandleValidationErrorIconVisibility(ELauncherProfileValidationErrors::Type Error) const;
|
|
|
|
/** Callback for changing the checked state of a platform menu check box. */
|
|
void HandleUATCheckedStateChanged( ECheckBoxState CheckState );
|
|
|
|
/** Callback for determining whether a platform menu entry is checked. */
|
|
ECheckBoxState HandleUATIsChecked() const;
|
|
|
|
private:
|
|
|
|
/** Holds a pointer to the data model. */
|
|
FProjectLauncherModelPtr Model;
|
|
};
|