Exemplo n.º 1
0
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());
}
Exemplo n.º 2
0
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->setOnlyHighlightChangedValues(m->onlyHighlightChangedValues());
    m_widget->setViewOptions(m->categorizedView(),m->scientificView(),m->showMetaData(),m->hideNotPresentOnHw());
    m_widget->setNotPresentOnHwColor(m->notPresentOnHwColor());
    m_widget->initialize();
}