| 717 | } |
| 718 | |
| 719 | void 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 | |
| 734 | void MacroConditionDateEdit::SetupAdvancedView() |
| 735 | { |
nothing calls this directly
no test coverage detected