void HITLGadget::loadConfiguration(IUAVGadgetConfiguration* config) { HITLConfiguration *m = qobject_cast<HITLConfiguration*>(config); // IL2 <-- Is this still necessary? [KDS] emit changeConfiguration(); m_widget->setSettingParameters(m->Settings()); }
void HITLGadget::loadConfiguration(IUAVGadgetConfiguration* config) { HITLConfiguration *m = qobject_cast<HITLConfiguration*>(config); // FG // simulator->setFGPathBin( m->fgPathBin() ); // simulator->setFGPathData( m->fgPathData() ); // simulator->setFGManualControl( m->fgManualControl() ); // // IL2 emit changeConfiguration(); m_widget->setSettingParameters(m->Settings()); // m_widget->setSimulatorId(m->SimulatorId()); // m_widget->setPathBin(m->PathBin()); // m_widget->setPathData(m->PathData()); // m_widget->setHostName(m->HostName()); // m_widget->setLatitude(m->Latitude()); // m_widget->setLongitude(m->Longitude()); // m_widget->setOutPort(m->OutPort()); // m_widget->setInPort(m->InPort()); // m_widget->setManualControl(m->ManualControl()); }
void HITLGadget::loadConfiguration(IUAVGadgetConfiguration* config) { HITLConfiguration *m = qobject_cast<HITLConfiguration*>(config); emit changeConfiguration(); m_widget->setSettingParameters(m->Settings()); }