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

Method SetupSimpleView

plugins/base/macro-condition-date.cpp:719–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

717}
718
719void MacroConditionDateEdit::SetupSimpleView()
720{
721 SetLayoutVisible(_simpleLayout, true);
722 SetLayoutVisible(_advancedLayout, false);
723 SetLayoutVisible(_patternLayout, false);
724 SetLayoutVisible(_repeatLayout, false);
725 SetLayoutVisible(_repeatUpdateLayout, false);
726 _weekTime->setDisabled(_entryData->_ignoreTime);
727 _weekCondition->setDisabled(_entryData->_ignoreTime);
728 const QSignalBlocker b(_weekTime);
729 _weekTime->setTime(_entryData->GetDateTime1().time());
730 _advancedSettingsTooggle->setText(obs_module_text(
731 "AdvSceneSwitcher.condition.date.showAdvancedSettings"));
732}
733
734void MacroConditionDateEdit::SetupAdvancedView()
735{

Callers

nothing calls this directly

Calls 4

SetLayoutVisibleFunction · 0.85
obs_module_textFunction · 0.85
GetDateTime1Method · 0.80
setTextMethod · 0.80

Tested by

no test coverage detected