UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UICommandDragDropOp.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Input/DragAndDrop.h"
9
10class SWidget;
11
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DRAG_DROP_OPERATOR_TYPE(TYPE, BASE)
Definition DragAndDrop.h:207
EMultiBlockType
Definition MultiBoxDefs.h:77
Definition DragAndDrop.h:141
Definition DragAndDrop.h:21
Definition NameTypes.h:617
Definition UICommandDragDropOp.h:17
static SLATE_API TSharedRef< FUICommandDragDropOp > New(FName InItemName, EMultiBlockType InBlockType, bool bInIsDraggingSection, FName InOriginMultiBox, TSharedPtr< SWidget > CustomDectorator, FVector2D DecoratorOffset)
Definition UICommandDragDropOp.cpp:11
virtual SLATE_API void OnDragged(const class FDragDropEvent &DragDropEvent) override
Definition UICommandDragDropOp.cpp:20
FUICommandDragDropOp(FName InItemName, EMultiBlockType InBlockType, bool bInIsDraggingSection, FName InOriginMultiBox, TSharedPtr< SWidget > InCustomDecorator, FVector2D DecoratorOffset)
Definition UICommandDragDropOp.h:24
virtual SLATE_API void OnDrop(bool bDropWasHandled, const FPointerEvent &MouseEvent) override
Definition UICommandDragDropOp.cpp:27
virtual SLATE_API TSharedPtr< SWidget > GetDefaultDecorator() const override
Definition UICommandDragDropOp.cpp:34
bool bIsDraggingSection
Definition UICommandDragDropOp.h:52
EMultiBlockType BlockType
Definition UICommandDragDropOp.h:49
TSharedPtr< SWidget > CustomDecorator
Definition UICommandDragDropOp.h:58
FName ItemName
Definition UICommandDragDropOp.h:46
FSimpleDelegate OnDropNotification
Definition UICommandDragDropOp.h:64
void SetOnDropNotification(FSimpleDelegate InOnDropNotification)
Definition UICommandDragDropOp.h:36
FName OriginMultiBox
Definition UICommandDragDropOp.h:55
FVector2D Offset
Definition UICommandDragDropOp.h:61
Definition SWidget.h:165
Definition SharedPointer.h:692
Definition SharedPointer.h:153
Definition Events.h:695