MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::UI::TestEngine::EntryAttributes Struct Reference

Optional attributes reported to the test engine each frame alongside a widget registration. More...

#include <MRViewer/MRUITestEngine.h>

Public Attributes

std::string_view disabledReason
 Non-empty marks the widget as disabled with this reason. Only read during the call.
bool ignoreBlockingModal = false
 If true, the entry stays enabled while a modal popup is open, e.g. for a value registered outside of any window.

Detailed Description

Optional attributes reported to the test engine each frame alongside a widget registration.

Member Data Documentation

◆ disabledReason

std::string_view MR::UI::TestEngine::EntryAttributes::disabledReason

Non-empty marks the widget as disabled with this reason. Only read during the call.

◆ ignoreBlockingModal

bool MR::UI::TestEngine::EntryAttributes::ignoreBlockingModal = false

If true, the entry stays enabled while a modal popup is open, e.g. for a value registered outside of any window.


The documentation for this struct was generated from the following file: