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

Method SetDuration

lib/utils/duration-control.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void DurationSelection::SetDuration(const Duration &d)
48{
49 _current = d;
50 _duration->SetValue(d._value);
51 const QSignalBlocker b(_unitSelection);
52 _unitSelection->setCurrentIndex(static_cast<int>(d._unit));
53}
54
55void DurationSelection::_DurationChanged(const NumberVariable<double> &value)
56{

Callers 3

SequenceTriggerPageMethod · 0.45
AddStepMethod · 0.45
AudioSourcePageMethod · 0.45

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected