for (const std::pair<uint32_t, Parameter>& p : m.parameters)
{
QString start = QString::fromUtf8(p.second.start.c_str());
m_parameters[p.first] = value;
m_parametersVisibility[p.first] = true;
}
//for (const std::pair<uint32_t, Parameter>& p : m.parameters)
foreach ($m->parameters as $k => $v) {
//QString start = QString::fromUtf8(p.second.start.c_str());
$start = $v->start;
// m_parameters[p.first] = value;
$this->m_parameters[$k] = $value;
// m_parametersVisibility[p.first] = true;
$this->m_parametersVisibility[$k] = True;
}