EM_Task/TraceInsights/Private/Insights/MemoryProfiler/Widgets/SMemoryProfilerToolbar.h
Boshuang Zhao 5144a49c9b add
2026-02-13 16:18:33 +08:00

37 lines
831 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Styling/SlateTypes.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/SCompoundWidget.h"
class SBorder;
class FToolBarBuilder;
/** Ribbon based toolbar used as a main menu in the Profiler window. */
class SMemoryProfilerToolbar: public SCompoundWidget
{
public:
/** Default constructor. */
SMemoryProfilerToolbar();
/** Virtual destructor. */
virtual ~SMemoryProfilerToolbar();
SLATE_BEGIN_ARGS(SMemoryProfilerToolbar) {}
SLATE_END_ARGS()
/**
* Construct this widget
*
* @param InArgs The declaration data for this widget
*/
void Construct(const FArguments& InArgs);
private:
/** Create the UI commands for the toolbar */
void CreateCommands();
};