[Paraview] Filter with Personalized "Properties" tab
Samuel Crow
samuel_crow_work at rocketmail.com
Fri Sep 19 14:47:15 EDT 2008
Hello Rafael March,
If you have the ParaView Guide version 3 I've found chapter 18 on Server Manager XML to be a good reference to all of the different tags that are supported. I haven't even had to write a custom GUI panel since the default gadgets work well enough for most instances.
What kinds of gadgets are you using in your panel?
--Sam Crow
--- On Fri, 9/19/08, Rafael March <rafaelmarch3 at yahoo.com> wrote:
> From: Rafael March <rafaelmarch3 at yahoo.com>
> Subject: Re: [Paraview] Filter with Personalized "Properties" tab
> To: paraview at paraview.org
> Date: Friday, September 19, 2008, 6:39 PM
> 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
>
>
>
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list