FDecoratedDragDropOp

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/DragAndDrop/DecoratedDragDropOp.h

Include

#include "DragAndDrop/DecoratedDragDropOp.h"

Syntax

class FDecoratedDragDropOp : public FDragDropOperation

Variables

Name Description

Public variable

FText

 

CurrentHoverText

String to show as hover text

Public variable

const FSlateBru...

 

CurrentIconBrush

Icon to be displayed

Public variable

FSlateColor

 

CurrentIconColorAndOpacity

The color of the icon to be displayed.

Protected variable

const FSlateBru...

 

DefaultHoverIcon

Default icon to be displayed

Protected variable

FSlateColor

 

DefaultHoverIconColorAndOpacity

Default color and opacity for the default icon to be displayed.

Protected variable

FText

 

DefaultHoverText

Default string to show as hover text

Constructors

Name Description

Public function

FDecoratedDragDropOp()

Functions

Name Description

Public function Const

FText

 

GetDefaultHoverText()

Gets the default hover text for this drag drop op.

Public function Const

FText

 

GetHoverText()

Public function Const

const FSlate...

 

GetIcon()

Public function Const

FSlateColor

 

GetIconColorAndOpacity()

Public function Static

const FStrin...

 

GetTypeId()

Public function Virtual

void

 

ResetToDefaultToolTip()

Set the decorator back to the icon and text defined by the default

Public function

void

 

SetToolTip

(
    const FText& Text,
    const FSlateBrush* Icon
)

Set the text and icon for this tooltip

Public function

void

 

SetupDefaults()

Setup some default values for the decorator

Overridden from FDragDropOperation

Name Description

Public function Virtual

void

 

Construct()

Overridden to provide public access

Public function Virtual Const

TSharedPtr< ...

 

GetDefaultDecorator()

The widget decorator to use

Public function Virtual Const

bool

 

IsOfTypeImpl

(
    const FString& Type
)

Checks whether this drag and drop operation can cast safely to the specified type.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss