[Paraview] Unlink a property from a GUI widget on a reader panel

Takuya OSHIMA oshima at eng.niigata-u.ac.jp
Wed Sep 5 23:37:45 EDT 2012


I always hope to get all the updates into ParaView but the time
constraint is too tight to work on this now. I'll ping you if I can
prepare something.

Takuya OSHIMA, Ph.D.
Faculty of Engineering, Niigata University
8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN

From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
Subject: Re: [Paraview] Unlink a property from a GUI widget on a reader panel
Date: Tue, 4 Sep 2012 11:25:38 -0400

> No, thank you! BTW, is there an update to the OpenFOAM reader what we
> should be getting into ParaView?
> 
> Utkarsh
> 
> On Tue, Sep 4, 2012 at 11:23 AM, Takuya OSHIMA
> <oshima at eng.niigata-u.ac.jp> wrote:
>> Thanks Utkarsh.
>>
>> Takuya OSHIMA, Ph.D.
>> Faculty of Engineering, Niigata University
>> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>>
>> ----- Original Message -----
>>>> From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>>>> To: Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>
>>>> Cc: paraview at paraview.org
>>>> Date: 2012-09-04 23:02:44
>>>> Subject: Re: [Paraview] Unlink a property from a GUI widget on a reader panel
>>>>
>>>> Looks good to me. I've pushed it to stage.  It dashboards are
>>>> unaffected, it will show up in master after next gatekeeper review.
>>>>
>>>> Utkarsh
>>>>
>>>> On Sat, Sep 1, 2012 at 11:40 AM, Takuya OSHIMA
>>>> <oshima at eng.niigata-u.ac.jp> wrote:
>>>> > I have pushed a proposed patch for the problem to gerrit.
>>>> > http://review.source.kitware.com/#/c/7326/
>>>> > Can someone review please.
>>>> >
>>>> > Takuya OSHIMA, Ph.D.
>>>> > Faculty of Engineering, Niigata University
>>>> > 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>>>> >
>>>> > From: Takuya OSHIMA <oshima at eng.niigata-u.ac.jp>
>>>> > Subject: [Paraview] Unlink a property from a GUI widget on a reader panel
>>>> > Date: Mon, 27 Aug 2012 23:35:06 +0900   (東京 (標準時))
>>>> >
>>>> >> Hi,
>>>> >>
>>>> >> I have a checkbox on my custom reader panel which is automatically
>>>> >> generated in connection with an IntVector boolean domain property from
>>>> >> the SM XML proxy definition, which is set to immediate_update.
>>>> >>
>>>> >> In order for checking/unchecking the checkbox to take effect in the
>>>> >> server side immediately without turning the Apply button to green, In
>>>> >> addition to setting the immediate_update attribute I unlink the
>>>> >> default property link and setup/take care of an alternative link by
>>>> >>
>>>> >>   pqNamedWidgets::unlinkObject(regionNames, pqSMProxy(this->proxy()),
>>>> >>       "ShowRegionNames", this->propertyManager());
>>>> >>   this->Implementation->Links.addPropertyLink(regionNames, "checked",
>>>> >>       SIGNAL(toggled(bool)), this->proxy(), showRegionNames);
>>>> >>   this->Implementation->VTKConnect->Connect(showRegionNames,
>>>> >>       vtkCommand::ModifiedEvent, this, SLOT(onShowRegionNamesModified()));
>>>> >>
>>>> >> where regonNames is the QCheckBox and showRegionNames is the
>>>> >> vtkSMIntVectorProperty. This has worked well with PV 3.14.1 and
>>>> >> earlier versions, but with the git-master the Apply button turns to
>>>> >> green when the checkbox is clicked. Is there a way to immediately push
>>>> >> the property to the server without changing the Apply button state for
>>>> >> the git-master?
>>>> >>
>>>> >> Just as a side note, I tested commit
>>>> >> 3bb4f74eff3f0670df5bef12c1e29b77b394a963 (Fix auto-apply with the new
>>>> >> properties panel) from the next branch but it did not help (unless
>>>> >> turning on Auto Accept in the general setting).
>>>> >>
>>>> >> Takuya OSHIMA, Ph.D.
>>>> >> Faculty of Engineering, Niigata University
>>>> >> 8050 Ikarashi-Ninocho, Nishi-ku, Niigata, 950-2181, JAPAN
>>>> >> _______________________________________________
>>>> >> 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
>>>> > _______________________________________________
>>>> > 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