SCommonButtonTableRow

A [CommonUI](API\Plugins\CommonUI\CommonUI) version of the object table row that is aware of [UCommonButtonBase](API\Plugins\CommonUI\UCommonButtonBase).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/SCommonButtonTableRow.h

Include

#include "SCommonButtonTableRow.h"

Syntax

template<typename ItemType>
class SCommonButtonTableRow : public SObjectTableRow< ItemType >

Remarks

A CommonUI version of the object table row that is aware of UCommonButtonBase. Instead of bothering with handling mouse events directly, we rely on the entry being a button itself and respond to events from it.

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    const TSharedRef< STableViewBase > ...,
    UUserWidget& InChildWidget,
    UListViewBase* InOwnerListView
)

Overridden from SObjectTableRow

Name Description

Protected function Virtual

void

 

InitializeObjectRow()

Protected function Virtual

void

 

OnItemSelectionChanged

(
    bool bIsItemSelected
)

Protected function Virtual

void

 

ResetObjectRow()

Overridden from SWidget

Name Description

Public function Virtual

FReply

 

OnMouseButtonDoubleClick

(
    const FGeometry& InMyGeometry,
    const FPointerEvent& InMouseEvent
)

Called when a mouse button is double clicked. Override this in derived classes.

Public function Virtual

FReply

 

OnMouseButtonDown

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it.

Public function Virtual

FReply

 

OnMouseButtonUp

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse button was release within it.

Public function Virtual

void

 

OnMouseEnter

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

We rely on the button to handle all of these things for us.

Public function Virtual

void

 

OnMouseLeave

(
    const FPointerEvent& MouseEvent
)

The system will use this event to notify a widget that the cursor has left it.

Classes

Name

Description

Public struct

FArguments