Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SBoxPanel
- SVerticalBox
- SDragAndDropVerticalBox
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h |
| Include | #include "Widgets/SBoxPanel.h" |
Syntax
class SDragAndDropVerticalBox : public SVerticalBox
Remarks
A Vertical Box Panel. See SBoxPanel for more info.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| void | OnDragEnter
(
FGeometry const& MyGeometry, |
||
| void | OnDragLeave
(
FDragDropEvent const& DragDropEvent |
||
| SDragAndDropVerticalBox & | SetDropIndicator_Above
(
const FSlateBrush& InValue |
Set the Drop indicators | |
| SDragAndDropVerticalBox & | SetDropIndicator_Below
(
const FSlateBrush& InValue |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FReply | OnDragDetected
(
const FGeometry& MyGeometry, |
Called when Slate detects that a widget started to be dragged. | |
| FReply | OnDragOver
(
const FGeometry& MyGeometry, |
Called during drag and drop when the the mouse is being dragged over a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | |
| FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Drag detection and handling | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EItemDropZone | Where we are going to drop relative to the target item. |
Typedefs
| Name | Description |
|---|---|
| FOnAcceptDrop | Delegate signature for handling the drop of FDragDropEvent onto target of type ItemType |
| FOnCanAcceptDrop | Delegate signature for querying whether this FDragDropEvent will be handled by the drop target of type ItemType. |
| FOnDragAndDropVerticalBoxDragDetected | |
| FOnDragAndDropVerticalBoxDragEnter | |
| FOnDragAndDropVerticalBoxDragLeave | |
| FOnDragAndDropVerticalBoxDrop |