Re: [Paraview] Paraview Plugin: two enumerations next to each other

2014-12-07 Thread Utkarsh Ayachit
Attached is an example plugin code that demonstrates how this could be done. Utkarsh On Wed, Nov 19, 2014 at 12:24 PM, Gonzalo Brito Gadeschi wrote: > I'm trying to write an IntVectorProperty with two drop down list next to > each other. > > Ideally it would call a function that takes to argumen

Re: [Paraview] Paraview Plugin: two enumerations next to each other

2014-11-20 Thread Utkarsh Ayachit
The default widget portfolio in ParaView doesn't support such a property. However, you can implement a custom pqPropertyWidget subclass that places 2 combo-boxes. Use pqIntVectorPropertyWidget [1] as a reference. [2],[3] may be useful reads to understand the property-widget infrastructure in ParaVi

[Paraview] Paraview Plugin: two enumerations next to each other

2014-11-19 Thread Gonzalo Brito Gadeschi
I'm trying to write an IntVectorProperty with two drop down list next to each other. Ideally it would call a function that takes to arguments, and passes the value of each drop down menu to each argument. I am however open to workarounds. This is my best attempt but of course it crashes paraview: