Hello everyone,
I created several plugins (source + filters) and a patch which could alter source’s / filter’s properties. However, when I change one of these properties (programmatically, from the patch), the pipeline doesn’t update automatically, although I have turned ON Edit | Settings | General → Auto Apply. When I update the same properties by clicking on them in Properties panel, the pipeline is automatically updated. So, because of this, I need to get appropriate pqPipelineSource and set its state to pqProxy::MODIFIED which makes appropriate button green and after clicking it it automatically updates the pipeline correctly.
I update above properties using call: pqSMAdaptor::setElementProperty(proxy->GetProperty(“PropertyName”), NewPropertyValue);
Is there a way to make this automatically? I mean, some regular way, without finding QWidget representing Apply button and sending it a clicked() signal
Thanks,
Nenad.