Navigation
API > API/Editor > API/Editor/GraphEditor
| Name | SCommentBubble |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/SCommentBubble.h |
| Include Path | #include "SCommentBubble.h" |
Syntax
class SCommentBubble : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SCommentBubble
- FSlateControlledConstruction → SWidget → SCompoundWidget → SCommentBubble
Structs
| Name | Remarks |
|---|---|
| FArguments |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct this widget. Called by the SNew() Slate macro. | SCommentBubble.h | |
float GetArrowCenterOffset() |
Returns the offset to the arrow center accounting for zoom on either the comment bubble or the title bar button based on current state | SCommentBubble.h | |
FVector2D GetOffset() |
Returns the offset from the SNode center slot | SCommentBubble.h | |
FVector2f GetOffset2f() |
SCommentBubble.h | ||
FVector2D GetSize() |
Returns the bubble size | SCommentBubble.h | |
FVector2f GetSize2f() |
SCommentBubble.h | ||
bool IsBubbleVisible() |
Returns if comment bubble is visible | SCommentBubble.h | |
bool IsScalingAllowed() |
Returns if graph scaling can be applied to this bubble | SCommentBubble.h | |
void OnCommentBubbleToggle
(
ECheckBoxState State |
Called to display/hide the comment bubble | SCommentBubble.h | |
virtual FCursorReply OnCursorQuery
(
const FGeometry& MyGeometry, |
SCommentBubble.h | ||
void OnPinStateToggle
(
ECheckBoxState State |
Called when a node's comment bubble pinned state is changed | SCommentBubble.h | |
void SetCommentBubbleVisibility
(
bool bVisible |
Directly sets the bubble's visibility, without assuming it was from a user action (no undo transaction, or OnToggled callback) | SCommentBubble.h | |
bool TextBlockHasKeyboardFocus() |
Returns if the text block currently has keyboard focus | SCommentBubble.h | |
virtual void Tick
(
const FGeometry& AllottedGeometry, |
SCommentBubble.h | ||
void TickVisibility
(
const double InCurrentTime, |
Updates the comment Visibility | SCommentBubble.h | |
void UpdateBubble() |
Called to update the bubble widget layout | SCommentBubble.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlateColor GetBubbleColor() |
Returns the color of the main bubble | SCommentBubble.h | |
EVisibility GetBubbleVisibility() |
Called to determine if the comment bubble's current visibility | SCommentBubble.h | |
FSlateColor GetForegroundColor() |
Returns the foreground color for the text and buttons, taking into account the bubble color | SCommentBubble.h | |
ECheckBoxState GetPinnedButtonCheck() |
Returns pinned check state | SCommentBubble.h | |
FSlateColor GetReadOnlyTextForegroundColor() |
SCommentBubble.h | ||
FText GetScaleButtonTooltip() |
Returns the current scale button tooltip | SCommentBubble.h | |
FSlateColor GetTextBackgroundColor() |
SCommentBubble.h | ||
FSlateColor GetTextForegroundColor() |
SCommentBubble.h | ||
ECheckBoxState GetToggleButtonCheck() |
Returns bubble toggle check state | SCommentBubble.h | |
FSlateColor GetToggleButtonColor() |
Returns the color for the toggle bubble including the opacity value | SCommentBubble.h | |
EVisibility GetToggleButtonVisibility() |
Called to determine if the toggle button's current visibility | SCommentBubble.h | |
bool IsReadOnly() |
Called to determine if the comment bubble is readonly | SCommentBubble.h | |
void OnCommentTextCommitted
(
const FText& NewText, |
Called when the comment text is committed | SCommentBubble.h |