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 10869240 via CL 10869516 via CL 10869902 #ROBOMERGE-BOT: (v613-10869866) [CL 10870584 by ryan durand in Main branch]
67 lines
1.8 KiB
C++
67 lines
1.8 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Layout/Visibility.h"
|
|
#include "Widgets/DeclarativeSyntaxSupport.h"
|
|
#include "Widgets/SCompoundWidget.h"
|
|
#include "Models/ProjectLauncherModel.h"
|
|
|
|
class Error;
|
|
enum class ECheckBoxState : uint8;
|
|
|
|
/**
|
|
* Implements the cook-by-the-book settings panel.
|
|
*/
|
|
class SProjectLauncherCookOnTheFlySettings
|
|
: public SCompoundWidget
|
|
{
|
|
public:
|
|
|
|
SLATE_BEGIN_ARGS(SProjectLauncherCookOnTheFlySettings) { }
|
|
SLATE_END_ARGS()
|
|
|
|
public:
|
|
|
|
/**
|
|
* Destructor.
|
|
*/
|
|
~SProjectLauncherCookOnTheFlySettings( );
|
|
|
|
public:
|
|
|
|
/**
|
|
* Constructs the widget.
|
|
*
|
|
* @param InArgs The Slate argument list.
|
|
* @param InModel The data model.
|
|
*/
|
|
void Construct( const FArguments& InArgs, const TSharedRef<FProjectLauncherModel>& InModel );
|
|
|
|
private:
|
|
|
|
// Callback for check state changes of the 'Incremental' check box.
|
|
void HandleIncrementalCheckBoxCheckStateChanged( ECheckBoxState NewState );
|
|
|
|
// Callback for determining the checked state of the 'Incremental' check box.
|
|
ECheckBoxState HandleIncrementalCheckBoxIsChecked( ) const;
|
|
|
|
// Callback for changing the selected profile in the profile manager.
|
|
void HandleProfileManagerProfileSelected( const ILauncherProfilePtr& SelectedProfile, const ILauncherProfilePtr& PreviousProfile );
|
|
|
|
// Callback for determining the visibility of a validation error icon.
|
|
EVisibility HandleValidationErrorIconVisibility( ELauncherProfileValidationErrors::Type Error ) const;
|
|
|
|
// Callback for getting the cookers additional options
|
|
FText HandleCookOptionsTextBlockText() const;
|
|
|
|
// Callback for changing the cookers additional options
|
|
void HandleCookerOptionsCommitted(const FText& NewText, ETextCommit::Type CommitType);
|
|
|
|
private:
|
|
|
|
// Holds a pointer to the data model.
|
|
TSharedPtr<FProjectLauncherModel> Model;
|
|
};
|