[Paraview-developers] Intercepting Accept of the pqPropertiesPanel

anton.piccardo-selg at stfc.ac.uk anton.piccardo-selg at stfc.ac.uk
Thu Sep 10 05:04:48 EDT 2015


Hi,

I had another go at customizing the pqApplyBehaviour and that does what we need. Adding our lock functionality to the  applied(pqPropertiesPanel*, pqProxy*) and   applied(pqPropertiesPanel*) methods does the job for us.

Many thanks and best regards,

Anton
________________________________
From: Piccardo-Selg, Anton (-,RAL,ISIS)
Sent: 09 September 2015 21:17
To: paraview-developers at paraview.org
Subject: Intercepting Accept of the pqPropertiesPanel

Hi,

I was wondering if it is possible to intercept the clicked signal of the Accept button of the pqPropertiesPanel object. The signal is connected to the Apply slot of the pqPropertiesPanel object and in turn updates the pipeline.  For our application I need to lock some settings on our side during the pipeline update -- but it seems virtually impossible to hook into this.

I had a quick look at customizing the pqApplyBehaviour, but this seems to be only relevant after the Accept button has been clicked and the pipeline has already updated. Is there a recommended way to add custom behaviour to the propertiesPanel for the case described?

Many thanks and best regards,

Anton


More information about the Paraview-developers mailing list