[Paraview] Custom Panel Force Accept

Biddiscombe, John A. biddisco at cscs.ch
Tue Apr 19 11:15:50 EDT 2011


calling this->setModified isn't enough. You need to make sure the proxy object that represents the thing you're tweaking has its property value modified, then when accept is called, the proxy will push it's values and request data ought to be triggered

JB

-----Original Message-----
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Brian C. Panneton (CONTR)
Sent: 19 April 2011 17:05
To: paraview at paraview.org
Subject: [Paraview] Custom Panel Force Accept

I have a custom panel which has a QListWidget. The panel updates the

widget when another panel widget gets changed. I have a SLOT which 
catches this change, modifies the QListWidget. I have another SLOT catch 
when the QListWidgetItems are checked/unchecked and calls 
this->setModified(). Thus the accept button is highlighted. However, 
when you click accept, RequestData does not get called. Is there a way 
to catch the accept signal and force a RequestData?

Thanks,
Brian Panneton


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list