[Paraview] new property panel, widget order question

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Jul 18 12:14:20 EDT 2013


Alas, this is working as it was designed for. Group "labels" are not
treated as unique keys. Every time a distinct group is found it gets
added to the panel. We could add a mechanism to add group "names" and
keep them unique and merge properties together, but that would need
some coding.

Utkarsh

On Thu, Jul 18, 2013 at 4:13 AM, Felipe Bordeu
<felipe.bordeu at ec-nantes.fr> wrote:
> I change my plugin to the new property panel architecture. Very nice, now I
> can reuse  some of the code that control the widgets in my other filters.
>
> But, (there is always a but)...
>
> A have a base class  ("Base" derived from vtkAlgorithm), with his own
> server_manager_xml file.
>
> Now I have my final class ("Final") derived from Base. Of course this class
> has his own server_manager_xml ( using the base_proxygroup, base_proxyname
> tags for proper configuration).
>
> My problem is that at the end of this file I use the PropertyGroup to group
> the widgets but this not work. Example:
> in the server_manager_xml (of the final class)
> ...
> <PropertyGroup label="Main">
>        <Property name="PointArrayStatus" />                        <------
> this came from Final
>        <Property name="VisualizationSpaceStatus" />            <------ this
> came from Base
> </PropertyGroup>
> <PropertyGroup label="Options">
>        <Property name="Refresh" />
> <------ this came from Base
>        <Property name="ComputeDerivatives" />                   <------ this
> came from Base
> </PropertyGroup>
> ...
>
> Inside ParaView the panel has the following order :
> [- Properties]
> Main
>   VisualizationSpaceStatus
> Options
>   Refresh
>   ComputeDerivatives
> Main
>   PointArrayStatus
> [- Display]
> ...
>
> I think paraview expose all the base class widgets first and only then
> expose the final class widgets.
>
> Can I change this behaviour to correctly order my widgets???
>
> Thanks to all
> Felipe
>
> --
> Felipe Bordeu Weldt
> Ingénieur de Recherche
> -------------------------------------
> Tél. : 33 (0)2 40 37 16 57
> Fax. : 33 (0)2 40 74 74 06
> Felipe.Bordeu at ec-nantes.fr
> Institut GeM - UMR CNRS 6183
> École Centrale Nantes
> 1 Rue de La Noë, 44321 Nantes, FRANCE
> -------------------------------------
>
>
> _______________________________________________
> 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