void UAVObjectBrowser::loadConfiguration(IUAVGadgetConfiguration* config) { UAVObjectBrowserConfiguration *m = qobject_cast<UAVObjectBrowserConfiguration*>(config); m_widget->setRecentlyUpdatedColor(m->recentlyUpdatedColor()); m_widget->setManuallyChangedColor(m->manuallyChangedColor()); m_widget->setRecentlyUpdatedTimeout(m->recentlyUpdatedTimeout()); }
void UAVObjectBrowser::loadConfiguration(IUAVGadgetConfiguration* config) { UAVObjectBrowserConfiguration *m = qobject_cast<UAVObjectBrowserConfiguration*>(config); m_config=m; m_widget->setRecentlyUpdatedColor(m->recentlyUpdatedColor()); m_widget->setManuallyChangedColor(m->manuallyChangedColor()); m_widget->setRecentlyUpdatedTimeout(m->recentlyUpdatedTimeout()); m_widget->setOnlyHilightChangedValues(m->onlyHighlightChangedValues()); m_widget->setViewOptions(m->categorizedView(),m->scientificView(),m->showMetaData()); }