// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "SWorkspaceWindow.h" #include "Widgets/SWindow.h" #include "Widgets/Input/SEditableTextBox.h" class UGSTab; class SNewWorkspaceWindow final : public SWindow { public: SLATE_BEGIN_ARGS(SNewWorkspaceWindow) {} SLATE_END_ARGS() void Construct(const FArguments& InArgs, TSharedPtr InParent, UGSTab* InTab); private: FReply OnBrowseStreamClicked(); FReply OnBrowseRootDirectoryClicked(); FReply OnCreateClicked(); FReply OnCancelClicked(); bool IsCreateButtonEnabled() const; TSharedPtr StreamTextBox = nullptr; TSharedPtr RootDirTextBox = nullptr; TSharedPtr WorkspaceNameTextBox = nullptr; FString RootDirPreviousFolder; TSharedPtr Parent = nullptr; UGSTab* Tab = nullptr; };