[Paraview] Triggering Update for Custom Panel Plugin

Mike Jackson imikejackson at gmail.com
Wed Mar 26 16:12:08 EDT 2008


I use the following:

emit modified();
     this->referenceProxy()->setModifiedState(pqProxy::MODIFIED);

and that seems to have the desired effect.

-- 
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
>>
>>
>>
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>
>



More information about the ParaView mailing list