Hi Sam and Paraview Community,

actually I have an older version of the Paraview's Guide, but it's still a good 
reference.

Huum...I still don't know if I should program a QT presonalized properties tab, 
or
if I should adopt the simplest solution; to change it through the XML of my 
filter.

I feel that QT code would give me more freedom to change the layout of the 
components, for instance, or to organize Widgets with borders, tabs and so on. 
Do you know if it's possible to do this kind of stuff through the XML ? 

And which method or class should I use to program the interaction of the 
ObjectPanel and The UnstructuredGrid displayed in the screen; if I choose the 
QT programming solution ?

Thanks again !
Rafael March.
 
--- On Fri, 9/19/08, Samuel Crow <[EMAIL PROTECTED]> wrote:
From: Samuel Crow <[EMAIL PROTECTED]>
Subject: Re: [Paraview] Filter with Personalized "Properties" tab
To: paraview@paraview.org, [EMAIL PROTECTED]
Date: Friday, September 19, 2008, 6:47 PM

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 <[EMAIL PROTECTED]> wrote:

> From: Rafael March <[EMAIL PROTECTED]>
> Subject: Re: [Paraview] Filter with Personalized "Properties"
tab
> To: paraview@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
> <[EMAIL PROTECTED]> wrote:
> From: Moreland, Kenneth <[EMAIL PROTECTED]>
> Subject: Re: [Paraview] Filter with Personalized
> "Properties" tab
> To: "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]>,
> "paraview@paraview.org"
> <paraview@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"
> <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]
> **  ***  **  phone: (505) 844-8919
>     ***      fax:   (505) 845-0833
> 
> 
> 
> 
> 
> 
>       _______________________________________________
> ParaView mailing list
> ParaView@paraview.org
> http://www.paraview.org/mailman/listinfo/paraview


      




      
_______________________________________________
ParaView mailing list
ParaView@paraview.org
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to