mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Allow to alter model set simulator in pilot client
* selector can be read only * functions in context to obtain model set from loader/matcher, this will not be used when a plugin driver is present * adjusted UI
This commit is contained in:
@@ -107,6 +107,16 @@ namespace BlackCore
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Simulation::CSimulatorInfo>(QLatin1String("simulatorsWithInitializedModelSet"));
|
||||
}
|
||||
|
||||
CSimulatorInfo CContextSimulatorProxy::getModelSetLoaderSimulator() const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Simulation::CSimulatorInfo>(QLatin1String("getModelSetLoaderSimulator"));
|
||||
}
|
||||
|
||||
void CContextSimulatorProxy::setModelSetLoaderSimulator(const CSimulatorInfo &simulator)
|
||||
{
|
||||
m_dBusInterface->callDBus(QLatin1String("setModelSetLoaderSimulator"), simulator);
|
||||
}
|
||||
|
||||
QStringList CContextSimulatorProxy::getModelSetStrings() const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<QStringList>(QLatin1String("getModelSetStrings"));
|
||||
|
||||
Reference in New Issue
Block a user