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
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
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: