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

Method SetSteps

plugins/base/utils/source-interaction-step-list.cpp:19–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void SourceInteractionStepList::SetSteps(
20 const std::vector<SourceInteractionStep> &steps)
21{
22 _steps = steps;
23
24 _list->clear();
25 for (const auto &step : _steps) {
26 _list->addItem(QString::fromStdString(step.ToString()));
27 }
28
29 UpdateListSize();
30
31 _list->setCurrentRow(-1);
32}
33
34void SourceInteractionStepList::UpdateStep(int row,
35 const SourceInteractionStep &step)

Callers 2

UpdateEntryDataMethod · 0.80
AcceptRecordedMethod · 0.80

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected