Navigation
API > API/Developer > API/Developer/TraceInsightsCore
A widget that displays a segmented bar graph.
| Name | SSegmentedBarGraph |
| Type | class |
| Header File | /Engine/Source/Developer/TraceInsightsCore/Public/InsightsCore/Widgets/SSegmentedBarGraph.h |
| Include Path | #include "InsightsCore/Widgets/SSegmentedBarGraph.h" |
Syntax
class SSegmentedBarGraph : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SSegmentedBarGraph
- FSlateControlledConstruction → SWidget → SCompoundWidget → SSegmentedBarGraph
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SSegmentedBarGraph() |
Default constructor. | InsightsCore/Widgets/SSegmentedBarGraph.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SSegmentedBarGraph() |
Virtual destructor. | InsightsCore/Widgets/SSegmentedBarGraph.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| SegmentSourceType | UE::Slate::ItemsSource::IItemsSource< SegmentType > | InsightsCore/Widgets/SSegmentedBarGraph.h | |
| SegmentType | TSharedPtr< IBarGraphSegment > | InsightsCore/Widgets/SSegmentedBarGraph.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HorizontalBox | TSharedPtr< SHorizontalBox > | InsightsCore/Widgets/SSegmentedBarGraph.h | ||
| SegmentsSource | TUniquePtr< SegmentSourceType > | Pointer to the source data that we are observing | InsightsCore/Widgets/SSegmentedBarGraph.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ClearSegmentsSource() |
InsightsCore/Widgets/SSegmentedBarGraph.h | ||
void Construct
(
const FArguments& InArgs |
Construct this widget. | InsightsCore/Widgets/SSegmentedBarGraph.h | |
TArrayView< const SegmentType > GetSegments() |
InsightsCore/Widgets/SSegmentedBarGraph.h | ||
bool HasValidSegmentsSource() |
InsightsCore/Widgets/SSegmentedBarGraph.h | ||
void RequestGraphRefresh() |
InsightsCore/Widgets/SSegmentedBarGraph.h | ||
void SetSegmentsSource
(
const TArray< SegmentType >* InSegmentsSource |
Set the SegmentsSource. The graph bar will generate widgets to represent these segments. | InsightsCore/Widgets/SSegmentedBarGraph.h | |
void SetSegmentsSource
(
TSharedRef< UE::Slate::Containers::TObservableArray< SegmentType > > InSegmentsSource |
InsightsCore/Widgets/SSegmentedBarGraph.h | ||
void SetSegmentsSource
(
TUniquePtr< SegmentSourceType > Provider |
InsightsCore/Widgets/SSegmentedBarGraph.h |