[Paraview] Filter with Personalized "Properties" tab
Rafael March
rafaelmarch3 at yahoo.com
Fri Sep 19 14:39:50 EDT 2008
Ok,
thanks a lot, Kenneth ! One problem at a time ! :)
I've managed to add some QT Widgets in the properties tab by extending the pqAutoGeneratedObjectPanel. Now, how can I handle events generated by the GUI, in order to change properties of the model displayed in the screen ? I mean, how can I really connect my filter with the ObjectPanel ?
Thanks again !
Rafael March.
--- On Thu, 9/18/08, Moreland, Kenneth <kmorel at sandia.gov> wrote:
From: Moreland, Kenneth <kmorel at sandia.gov>
Subject: Re: [Paraview] Filter with Personalized "Properties" tab
To: "rafaelmarch3 at yahoo.com" <rafaelmarch3 at yahoo.com>, "paraview at paraview.org" <paraview at paraview.org>
Date: Thursday, September 18, 2008, 2:48 PM
You can customize the GUI somewhat by modifying the server manager XML that
describes your filter. For example, you can create a combo box in the GUI
by adding an EnumerationDomain to an IntVectorProperty or you could create a
checkbox by adding a BooleanDomain.
You can also create your own properties panel using Qt code. The wiki page
on ParaView plugins has a simple example of customizing the auto-generated
panel. You can provide even more customization (for example, by using your
own panel created in Qt Designer) by subclassing either pqNamedObjectPanel
or pqObjectPanel.
-Ken
On 9/18/08 8:28 AM, "Rafael March" <rafaelmarch3 at yahoo.com>
wrote:
> Hey all,
>
> I have my own filter running well in Paraview. I would like to extend it
to
> enable adding scalar or vector properties, as well as changing existing
data
> of nodes and cells. I would like to implement this feature through a
> customized GUI, like buttons, combo boxes and so on in the properties tab
of
> the filter.
>
> How can I access and modify this tab ? Should I do it inside my filters
code ?
>
> Any suggestions ?
>
> Thanks all,
> Rafael March.
>
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** fax: (505) 845-0833
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080919/d8f172ed/attachment.htm>
More information about the ParaView
mailing list