[Paraview] Triggering Update for Custom Panel Plugin

clinton at elemtech.com clinton at elemtech.com
Wed Mar 26 12:34:54 EDT 2008


Calling pqProxyPanel::setModified is the only way to enable it.
Perhaps you have code that disables it afterwards?

You can set a breakpoint in pqObjectInspectorWidget::canAccept and double 
check that its being enabled when you want, and not disabled when you don't 
want it to.

Clint

On Wednesday 26 March 2008 10:13:46 am Mike Jackson wrote:
> That didn't seem to work.
>
> --
> Mike Jackson   Senior Research Engineer
> Innovative Management & Technology Services
>
> On Mar 26, 2008, at 10:47 AM, clinton at elemtech.com wrote:
> > Call the setModified() on your panel.
> >
> > Clint
> >
> > On Wednesday 26 March 2008 8:03:44 am Mike Jackson wrote:
> >> I am writing a custom GUI for my filters. Part of the GUI are buttons
> >> that allow the user to select a color for certain parts of their
> >> data. I generally have things working but when the user selects a
> >> different color the "Apply" button remains disabled. Is there a
> >> method call that can be made that would tell ParaView to re-enable
> >> the "Apply" button? I have some other UI elements in the GUI which
> >> are auto hooked up to SM XML and changing any of those values will
> >> trigger the "Apply" button in the proper way.
> >>
> >> Thanks for any help.
> >> --
> >> Mike Jackson
> >> imikejackson & gmail * com




More information about the ParaView mailing list