Files
UnrealEngineUWP/Engine/Source/Developer/ProjectLauncher/Private/Widgets/Deploy/SProjectLauncherDeployRepositorySettings.h
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -05:00

51 lines
1.1 KiB
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Input/Reply.h"
#include "Widgets/SCompoundWidget.h"
#include "Models/ProjectLauncherModel.h"
class SEditableTextBox;
/**
* Implements the deploy-to-device settings panel.
*/
class SProjectLauncherDeployRepositorySettings
: public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS(SProjectLauncherDeployRepositorySettings) { }
SLATE_END_ARGS()
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:
FReply HandleBrowseButtonClicked( );
/** Handles entering in a command */
void OnTextCommitted(const FText& InText, ETextCommit::Type CommitInfo);
void OnTextChanged(const FText& InText);
private:
// Holds a pointer to the data model.
TSharedPtr<FProjectLauncherModel> Model;
// Holds the repository path text box.
TSharedPtr<SEditableTextBox> RepositoryPathTextBox;
};