MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetWidgetVisibility

Method SetWidgetVisibility

plugins/base/macro-condition-window.cpp:437–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435}
436
437void MacroConditionWindowEdit::SetWidgetVisibility()
438{
439 if (!_entryData) {
440 return;
441 }
442 SetLayoutVisible(_currentFocusLayout,
443 _entryData->_focus || _entryData->_windowFocusChanged);
444 _windowSelection->setVisible(_entryData->_checkTitle);
445 _windowRegex->setVisible(_entryData->_checkTitle);
446 _textRegex->setVisible(_entryData->GetCheckText());
447 _text->setVisible(_entryData->GetCheckText());
448 adjustSize();
449 updateGeometry();
450}
451
452void MacroConditionWindowEdit::UpdateEntryData()
453{

Callers

nothing calls this directly

Calls 2

SetLayoutVisibleFunction · 0.85
GetCheckTextMethod · 0.80

Tested by

no test coverage detected