SMultiBlockBaseWidget

MultiBlock Slate base widget (pure virtual).

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBox.h

Include

#include "Framework/MultiBox/MultiBox.h"

Syntax

class SMultiBlockBaseWidget :
    public IMultiBlockBaseWidget,
    public SCompoundWidget

Remarks

MultiBlock Slate base widget (pure virtual). You'll derive your own MultiBlock class from this base class.

Variables

Name Description

Protected variable

bool

 

bSectionContainsIcons

Does the section this block resides in contain blocks with icons?

Protected variable

EMultiBlockLoca...

 

Location

The MultiBlocks location relative to the other blocks in the set

Protected variable

TSharedPtr< con...

 

MultiBlock

The MultiBlock we're associated with

Protected variable

TWeakPtr< SMult...

 

OwnerMultiBoxWidget

Weak reference back to the MultiBox widget that owns us

Overridden from IMultiBlockBaseWidget

Name Description

Public function Virtual

TSharedRef< ...

 

AsWidget()

IMultiBlockBaseWidget interface

Public function Virtual Const

TSharedRef< ...

 

AsWidget()

Interprets this object as a SWidget

Public function Virtual

EMultiBlockL...

 

GetMultiBlockLocation()

Returns this MultiBlocks location

Public function Virtual Const

bool

 

IsInEditMode()

Returns true if editing this widget

Public function Virtual

void

 

SetMultiBlock

(
    TSharedRef< const FMultiBlock > InM...
)

Associates this widget with a MultiBlock

Public function Virtual

void

 

SetMultiBlockLocation

(
    EMultiBlockLocation::Type InLocatio...,
    bool bSectionContainsIcons
)

Sets the blocks location relative to the other blocks

Public function Virtual

void

 

SetOwnerMultiBoxWidget

(
    TSharedRef< SMultiBoxWidget > InOwn...
)

Associates the owner MultiBox widget with this widget

Overridden from SWidget

Name Description

Public function Virtual

void

 

OnDragEnter

(
    const FGeometry& MyGeometry,
    const FDragDropEvent& DragDropEven...
)

SWidget Interface

Public function Virtual

FReply

 

OnDragOver

(
    const FGeometry& MyGeometry,
    const FDragDropEvent& DragDropEven...
)

Called during drag and drop when the the mouse is being dragged over a widget.

Public function Virtual

FReply

 

OnDrop

(
    const FGeometry& MyGeometry,
    const FDragDropEvent& DragDropEven...
)

Called when the user is dropping something onto a widget; terminates drag and drop.

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