class

MTableRow

A row whose cells sit at the SAME column offsets its bound header computes (U1) — put an MTableHeader above a list, hand each generated row this widget with the header pointer, and columns line up and track live drag-resizes with no per-panel layout math.

Module
Miri
Header
#include "Miri/Widgets/MTableHeader.h"
Namespace
Miri

Public functions

ReturnsNameDescription
MIRI_WIDGET_ARGS
voidSetHeader
voidSetCells
int32_tGetNumChildren
TSharedPtr<MWidget>GetChildAt
MiriVec2ComputeDesiredSize
voidArrangeChildren
voidSetSeveritytable-row.json's severity: an Error row is ErrorTint under its cells.
ETableRowSeverityGetSeverity
MiriColorSeverityTextThe text token a cell of this severity draws in.
int32_tOnPaint
boolCanCacheDesiredSizeThe tallest cell, and the cell list only changes through SetCells.
const char*GetTypeName

Function details

MIRI_WIDGET_ARGS

C++
MIRI_WIDGET_ARGS(MTableRow) MIRI_WIDGET_ARGS_END() void Construct(const CArguments&)

SetHeader

C++
void SetHeader(TSharedPtr<MTableHeader> header)

SetCells

C++
void SetCells(std::vector<TSharedPtr<MWidget>> cells)

GetNumChildren

C++
int32_t GetNumChildren() const override

GetChildAt

C++
TSharedPtr<MWidget> GetChildAt(int32_t index) const override

ComputeDesiredSize

C++
MiriVec2 ComputeDesiredSize(float scale) const override

ArrangeChildren

C++
void ArrangeChildren(const CGeometry& geo) override

SetSeverity

C++
void SetSeverity(ETableRowSeverity severity)

table-row.json's severity: an Error row is ErrorTint under its cells. The hosting list paints hover, selection and focus.

GetSeverity

C++
ETableRowSeverity GetSeverity() const

SeverityText

C++
static MiriColor SeverityText(ETableRowSeverity severity)

The text token a cell of this severity draws in.

OnPaint

C++
int32_t OnPaint(const CMiriPaintArgs& args, const CGeometry& geo, CMiriRenderer& renderer, int32_t layerId) const override

CanCacheDesiredSize

C++
bool CanCacheDesiredSize() const override

The tallest cell, and the cell list only changes through SetCells.

GetTypeName

C++
const char* GetTypeName() const override
Generated from Miri/Widgets/MTableHeader.h via miri.json · Dec 5, 2026Version 1.1.0