Files
UnrealEngineUWP/Engine/Source/Editor/DerivedDataEditor/Private/SDerivedDataDialogs.h
mark lintott 223149b72e Refactor of the existing DDC Toolbar Widget
Moved all the code to a plugin module
Removed superfluous icons from the toolbar
Added combo-box drop down menu options
Added dockable window support
Added icons to the starship style
Numerous UI layout tweaks

#rb lauren.barnes
#preflight 613126e44f2c7c000154ae65

[CL 17408889 by mark lintott in ue5-main branch]
2021-09-02 16:44:25 -04:00

58 lines
1.3 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SWidget.h"
#include "Widgets/SCompoundWidget.h"
#include "Widgets/SBoxPanel.h"
class SDerivedDataRemoteStoreDialog : public SCompoundWidget
{
SLATE_BEGIN_ARGS(SDerivedDataRemoteStoreDialog) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs);
private:
TSharedRef<SWidget> GetGridPanel();
EActiveTimerReturnType UpdateGridPanels(double InCurrentTime, float InDeltaTime);
SVerticalBox::FSlot* GridSlot = nullptr;
};
class SDerivedDataCacheStatisticsDialog : public SCompoundWidget
{
SLATE_BEGIN_ARGS(SDerivedDataCacheStatisticsDialog) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs);
private:
TSharedRef<SWidget> GetGridPanel();
EActiveTimerReturnType UpdateGridPanels(double InCurrentTime, float InDeltaTime);
SVerticalBox::FSlot* GridSlot = nullptr;
};
class SDerivedDataResourceUsageDialog : public SCompoundWidget
{
SLATE_BEGIN_ARGS(SDerivedDataResourceUsageDialog) {}
SLATE_END_ARGS()
void Construct(const FArguments& InArgs);
private:
TSharedRef<SWidget> GetGridPanel();
EActiveTimerReturnType UpdateGridPanels(double InCurrentTime, float InDeltaTime);
SVerticalBox::FSlot* GridSlot = nullptr;
};