Navigation
Unreal Engine C++ API Reference > Editor > GraphEditor
Inheritance Hierarchy
References
Module | GraphEditor |
Header | /Engine/Source/Editor/GraphEditor/Public/SGraphPalette.h |
Include | #include "SGraphPalette.h" |
Syntax
class SGraphPaletteItem : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)
Remarks
Widget for displaying a single item
Variables
Type | Name | Description |
---|---|---|
TWeakPtr< FEdGr... | ActionPtr | The item that we want to display with this widget |
TSharedPtr< SIn... | InlineRenameWidget | Holds the inline renaming widget if one was created |
FCreateWidgetMo... | MouseButtonDownDelegate | Delegate executed when mouse button goes down |
Functions
Type | Name | Description |
---|---|---|
void | Construct ( const FArguments& InArgs, FCreateWidgetForActionData*con... ) | |
TSharedRef< ... | CreateIconWidget ( const FText& IconToolTip, const FSlateBrush* IconBrush, const FSlateColor& IconColor ) | Create an icon type widget |
TSharedRef< ... | CreateIconWidget ( const FText& IconToolTip, const FSlateBrush* IconBrush, const FSlateColor& IconColor, const FString& DocLink, const FString& DocExcerpt, const FSlateBrush* SecondaryIc..., const FSlateColor& SecondaryColor ) | Creates an icon type widget, including big tooltip link |
TSharedRef< ... | CreateTextSlotWidget ( FCreateWidgetForActionData*con..., TAttribute< bool > bIsReadOnly ) | Create the text widget |
FText | GetDisplayText () | Callback to get the display text |
FText | GetItemTooltip () | Callback to get the tooltip |
void | OnNameTextCommitted ( const FText& NewText, ETextCommit::Type InTextCommit ) | Callback when rename text is committed |
bool | OnNameTextVerifyChanged ( const FText& InNewText, FText& OutErrorMessage ) | Callback when rename text is being verified on text changed |
Overridden from SWidget
Type | Name | Description |
---|---|---|
void | OnDragEnter ( const FGeometry& MyGeometry, const FDragDropEvent& DragDropEven... ) | DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. |
void | OnDragLeave ( const FDragDropEvent& DragDropEven... ) | Called during drag and drop when the drag leaves a widget. |
FReply | OnDrop ( const FGeometry& MyGeometry, const FDragDropEvent& DragDropEven... ) | Called when the user is dropping something onto a widget; terminates drag and drop. |
FReply | OnMouseButtonDown ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) | MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
Classes
Type | Name | Description |
---|---|---|
Public struct | FArguments |
Deprecated Functions
Type | Name | Description |
---|---|---|
TSharedRef< ... | CreateTextSlotWidget ( const FSlateFontInfo& NameFont, FCreateWidgetForActionData*con..., TAttribute< bool > bIsReadOnly ) | CreateTextSlotWidget that takes a font parameter is deprecated |