#include <SArticyObjectToolTip.h>
A custom tooltip widget for displaying details about an Articy object.
◆ AddToToolTipInfoBox()
| void SArticyObjectToolTip::AddToToolTipInfoBox |
( |
const TSharedRef< SVerticalBox > & | InfoBox, |
|
|
const FText & | Key, |
|
|
const FText & | Value, |
|
|
bool | bImportant ) const |
|
protected |
Adds key-value type content to the tooltip info box.
- Parameters
-
| InfoBox | The info box to add the content to. |
| Key | The key text. |
| Value | The value text. |
| bImportant | Whether the content is considered important. |
◆ Construct()
| void SArticyObjectToolTip::Construct |
( |
const FArguments & | InArgs | ) |
|
Constructs the tooltip widget.
- Parameters
-
| InArgs | The declaration data for this widget. |
◆ CreateContentForEmpty()
| TSharedRef< SWidget > SArticyObjectToolTip::CreateContentForEmpty |
( |
| ) |
|
|
protected |
Creates the content for an empty or invalid Articy object tooltip.
- Returns
- The constructed content widget.
◆ CreateToolTipContent()
| TSharedRef< SWidget > SArticyObjectToolTip::CreateToolTipContent |
( |
| ) |
|
|
protected |
Creates the content for a valid Articy object tooltip.
- Returns
- The constructed content widget.
◆ CreateTooltipWidget()
| TSharedRef< SWidget > SArticyObjectToolTip::CreateTooltipWidget |
( |
FText | NameText, |
|
|
TSharedRef< SVerticalBox > | InfoBox ) |
|
protected |
Creates the tooltip widget with the specified content.
- Parameters
-
| NameText | The name text to display in the tooltip. |
| InfoBox | The information box containing additional details. |
- Returns
- The constructed tooltip widget.
◆ OnClosed()
| void SArticyObjectToolTip::OnClosed |
( |
| ) |
|
|
overridevirtual |
Called when the tooltip is closed.
◆ OnOpening()
| void SArticyObjectToolTip::OnOpening |
( |
| ) |
|
|
overridevirtual |
Called when the tooltip is opening.
◆ UpdateWidget()
| void SArticyObjectToolTip::UpdateWidget |
( |
| ) |
|
|
protected |
Updates the tooltip widget's content.
◆ ArticyIdAttribute
| TAttribute<FArticyId> SArticyObjectToolTip::ArticyIdAttribute |
|
protected |
The attribute containing the Articy ID to display.
◆ CachedArticyId
| FArticyId SArticyObjectToolTip::CachedArticyId |
|
mutableprotected |
Cached Articy ID for the current object.
◆ CachedArticyObject
| TWeakObjectPtr<UArticyObject> SArticyObjectToolTip::CachedArticyObject |
|
mutableprotected |
Cached Articy object pointer.
◆ TooltipBrush
| FSlateBrush SArticyObjectToolTip::TooltipBrush |
|
protected |
Brush for displaying the tooltip image.
The documentation for this class was generated from the following files:
- Source/ArticyEditor/Public/Slate/AssetPicker/SArticyObjectToolTip.h
- Source/ArticyEditor/Private/Slate/AssetPicker/SArticyObjectToolTip.cpp