void ApplyUndefinedValueDefinition::undefinedvalue(double tr) { if (!attribute()->layer()) return; attribute()->layer()->drawer()->setAttribute("undefinedvalue", tr); attribute()->layer()->drawer()->unprepare(Ilwis::Geodrawer::DrawerInterface::ptRENDER); attribute()->layer()->drawer()->prepare(Ilwis::Geodrawer::DrawerInterface::ptRENDER, IOOptions()); attribute()->layer()->drawer()->redraw(); }
void VisualAttributeEditor::attributesChanged(Raw , const QVariantMap& ){ if ( _visualAttribute->layer()){ _visualAttribute->layer()->drawer()->unprepare(Ilwis::Geodrawer::DrawerInterface::ptRENDER); _visualAttribute->layer()->drawer()->prepare(Ilwis::Geodrawer::DrawerInterface::ptRENDER, IOOptions()); _visualAttribute->layer()->drawer()->redraw(); } }