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

Method PopulateTempVarCombo

lib/utils/temp-variable.cpp:1019–1030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019void TempVarOutputMappingsWidget::PopulateTempVarCombo(
1020 FilterComboBox *combo) const
1021{
1022 if (!_segment) {
1023 return;
1024 }
1025 for (const auto &var : _segment->GetOwnTempVars()) {
1026 QVariant v;
1027 v.setValue(var.GetRef());
1028 combo->addItem(QString::fromStdString(var.Name()), v);
1029 }
1030}
1031
1032} // namespace advss

Callers

nothing calls this directly

Calls 4

GetOwnTempVarsMethod · 0.80
GetRefMethod · 0.80
setValueMethod · 0.45
NameMethod · 0.45

Tested by

no test coverage detected