<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <span>Thanks this worked well.<br><br>Anton<br></span><br><br><font color="#990099">-----Utkarsh Ayachit <utkarsh.ayachit@kitware.com> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: Anton.Piccardo-Selg@tessella.com<br>From: Utkarsh Ayachit <utkarsh.ayachit@kitware.com><br>Date: 01/05/2015 06:00PM<br>Cc: ParaView Developers <paraview-developers@paraview.org><br>Subject: Re: [Paraview-developers] Which signal to use when trying to register a change of the background color of a view?<br><br><div dir="ltr">There's no Qt signal, but there are VTK events.<div><br><div>There are multiple ways:<div>+ Listen to vtkCommand::ModifiedEvent fired by the property itself.<br></div><div>+ Listen to vtkCommand::PropertyModifiedEvent fired by the view proxy. In it's call data, the name of the modified property will be provided.</div><div>+ Listen to vtkCommand::PropertyModifiedEvent fired by vtkSMSessionProxyManager. It's call data is an instance of vtkSMProxyManager::ModifiedPropertyInformation which has reference to the proxy that was modified and the name of the property that was modified.</div><div><br></div><div>Utkarsh</div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 5, 2015 at 3:25 AM,  <span dir="ltr"><<a href="mailto:Anton.Piccardo-Selg@tessella.com" target="_blank">Anton.Piccardo-Selg@tessella.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"> <font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"><span>Hi, <br><br>I am currently working on a customization of the ParaView application. The app makes use of the <i>pqViewSettingsReaction </i>class  to provide the user with the ability to change the background color of a  view. This works well, but I would like to keep track of the newly  selected color. <br><br>Hence my question: What is the appropriate signal to register a newly applied background color by the user?  I would like to be notified when the user switches the background color and then retrieve the new background color.<br><br>Thanks and best regards, <br><br>Anton</span></font><div><p><font size="1" face="arial">This message is commercial in confidence and may be privileged.  It is intended for the <br>addressee(s) only.  Access to this message by anyone else is unauthorized and strictly prohibited.  <br>If you have received this message in error, please inform the sender immediately.  Please note that <br>messages sent or received by the Tessella e-mail system may be monitored and stored in an <br>information retrieval system.</font></p><br><br></div></font> <br>_______________________________________________<br> Paraview-developers mailing list<br> <a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br> <br></blockquote></div><br></div> </div></div><div><p><font size="1" face="arial">This message is commercial in confidence and may be privileged.  It is intended for the <br>addressee(s) only.  Access to this message by anyone else is unauthorized and strictly prohibited.  <br>If you have received this message in error, please inform the sender immediately.  Please note that <br>messages sent or received by the Tessella e-mail system may be monitored and stored in an <br>information retrieval system.</font></p><br><br></div></font>