[Paraview] how do filter presses apply button? pv xprt plz hlp!

2009-10-15 Thread Bam Ting
My filter don need to have the user press apply button. It display some value, there are nothing user can change, display only. can filter press apply by hiself? I want when new filter is create that my user no need to worry about apply buton. how? THX - BAMPING

Re: [Paraview] how do filter presses apply button? pv xprt plz hlp!

2009-10-15 Thread David E DeMarle
There is an auto-accept setting in the preferences. It is also possible to make a custom panel for your filter, intercept the qt signal that the accept button watches (sorry I can't find the specifics right now) and automatically accept. David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Dri

Re: [Paraview] how do filter presses apply button? pv xprt plz hlp!

2009-10-16 Thread Bam Ting
David, THX! i need ur hlp! auto-accept is no good, he make every one auto-accept... I don know how qt good.I try custon panel... I see slot pqObjectInspectorWidget::accept, how 2 connect?? I don know how get the instance! Did I make mistake in how? Bp On Thu, Oct 15, 2009 at 5:03 PM, David E