Navigation
API > API/Editor > API/Editor/GraphEditor
Widget for displaying a single item
| Name | SGraphPaletteItem |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/SGraphPalette.h |
| Include Path | #include "SGraphPalette.h" |
Syntax
class SGraphPaletteItem : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SGraphPaletteItem
- FSlateControlledConstruction → SWidget → SCompoundWidget → SGraphPaletteItem
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionPtr | TWeakPtr< FEdGraphSchemaAction > | The item that we want to display with this widget | SGraphPalette.h | |
| InlineRenameWidget | TSharedPtr< SInlineEditableTextBlock > | Holds the inline renaming widget if one was created | SGraphPalette.h | |
| MouseButtonDownDelegate | FCreateWidgetMouseButtonDown | Delegate executed when mouse button goes down | SGraphPalette.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
SGraphPalette.h | ||
virtual void OnDragEnter
(
const FGeometry& MyGeometry, |
SGraphPalette.h | ||
virtual void OnDragLeave
(
const FDragDropEvent& DragDropEvent |
SGraphPalette.h | ||
virtual FReply OnDrop
(
const FGeometry& MyGeometry, |
SGraphPalette.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
SGraphPalette.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< SWidget > CreateIconWidget
(
const FText& IconToolTip, |
Create an icon type widget | SGraphPalette.h | |
TSharedRef< SWidget > CreateIconWidget
(
const FText& IconToolTip, |
Creates an icon type widget, including big tooltip link | SGraphPalette.h | |
virtual TSharedRef< SWidget > CreateTextSlotWidget
(
FCreateWidgetForActionData*const InCreateData, |
Create the text widget | SGraphPalette.h | |
virtual TSharedRef< SWidget > CreateTextSlotWidget
(
const FSlateFontInfo& NameFont, |
SGraphPalette.h | ||
virtual FText GetDisplayText() |
Callback to get the display text | SGraphPalette.h | |
virtual FText GetItemTooltip() |
Callback to get the tooltip | SGraphPalette.h | |
virtual void OnNameTextCommitted
(
const FText& NewText, |
Callback when rename text is committed | SGraphPalette.h | |
virtual bool OnNameTextVerifyChanged
(
const FText& InNewText, |
Callback when rename text is being verified on text changed | SGraphPalette.h |