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
| Returns | Name | Description |
|---|---|---|
MIRI_WIDGET_ARGS | ||
void | SetHeader | |
void | SetCells | |
int32_t | GetNumChildren | |
TSharedPtr<MWidget> | GetChildAt | |
MiriVec2 | ComputeDesiredSize | |
void | ArrangeChildren | |
void | SetSeverity | table-row.json's severity: an Error row is ErrorTint under its cells. |
ETableRowSeverity | GetSeverity | |
MiriColor | SeverityText | The text token a cell of this severity draws in. |
int32_t | OnPaint | |
bool | CanCacheDesiredSize | The 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 overrideGetChildAt
C++
TSharedPtr<MWidget> GetChildAt(int32_t index) const overrideComputeDesiredSize
C++
MiriVec2 ComputeDesiredSize(float scale) const overrideArrangeChildren
C++
void ArrangeChildren(const CGeometry& geo) overrideSetSeverity
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() constSeverityText
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 overrideCanCacheDesiredSize
C++
bool CanCacheDesiredSize() const overrideThe tallest cell, and the cell list only changes through SetCells.
GetTypeName
C++
const char* GetTypeName() const overrideGenerated from Miri/Widgets/MTableHeader.h via miri.json · Dec 5, 2026Version 1.1.0