ezEngine Release 26.9
Loading...
Searching...
No Matches
ezQtScopedUnattended Class Reference

#include <UIServices.moc.h>

Detailed Description

Makes the enclosed code run as if no user were present, see ezQtUiServices::IsUnattended().

For automated calls into an editor that a user is otherwise sitting in front of - an MCP tool call, for instance. Their dialogs must not block, while the same dialogs opened by the user's own menu clicks still have to appear, so the state cannot be set globally.

Scopes nest and restore the previous state. Note that this does not undo ezQtUiServices::SetUnattended() or headless mode: those stay in effect for the whole process.


The documentation for this class was generated from the following files: