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

Method GetSteps

lib/utils/first-run-wizard-sequence.cpp:248–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248QVector<QPair<QString, Duration>> SequenceScenesPage::GetSteps() const
249{
250 QVector<QPair<QString, Duration>> steps;
251 steps.reserve(_rows.size());
252 for (int i = 0; i < _rows.size(); ++i) {
253 const Duration delay = (i < _rows.size() - 1)
254 ? _rows[i].delay->GetDuration()
255 : Duration();
256 steps.append({_rows[i].scene->currentText(), delay});
257 }
258 return steps;
259}
260
261void SequenceScenesPage::onAddStepClicked()
262{

Callers 2

initializePageMethod · 0.80
validatePageMethod · 0.80

Calls 3

sizeMethod · 0.80
DurationClass · 0.70
GetDurationMethod · 0.45

Tested by

no test coverage detected