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

34 lines
792 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"
/** Ribbon based toolbar used as a main menu in the Profiler window. */
class STimingProfilerToolbar: public SCompoundWidget
{
public:
/** Default constructor. */
STimingProfilerToolbar();
/** Virtual destructor. */
virtual ~STimingProfilerToolbar();
SLATE_BEGIN_ARGS(STimingProfilerToolbar) {}
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();
};