<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Sam and Paraview Community,<br><br>actually I have an older version of the Paraview's Guide, but it's still a good reference.<br><br>Huum...I still don't know if I should program a QT presonalized properties tab, or<br>if I should adopt the simplest solution; to change it through the XML of my filter.<br><br>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 ? <br><br>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 ?<br><br>Thanks again !<br>Rafael March.<br> <br>--- On <b>Fri, 9/19/08, Samuel Crow <i><samuel_crow_work@rocketmail.com></i></b>
wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Samuel Crow <samuel_crow_work@rocketmail.com><br>Subject: Re: [Paraview] Filter with Personalized "Properties" tab<br>To: paraview@paraview.org, rafaelmarch3@yahoo.com<br>Date: Friday, September 19, 2008, 6:47 PM<br><br><pre>Hello Rafael March,<br><br>If you have the ParaView Guide version 3 I've found chapter 18 on Server<br>Manager XML to be a good reference to all of the different tags that are<br>supported. I haven't even had to write a custom GUI panel since the default<br>gadgets work well enough for most instances.<br><br>What kinds of gadgets are you using in your panel?<br><br>--Sam Crow<br><br>--- On Fri, 9/19/08, Rafael March <rafaelmarch3@yahoo.com> wrote:<br><br>> From: Rafael March <rafaelmarch3@yahoo.com><br>> Subject: Re: [Paraview] Filter with Personalized "Properties"<br>tab<br>> To:
paraview@paraview.org<br>> Date: Friday, September 19, 2008, 6:39 PM<br>> Ok,<br>> <br>> thanks a lot, Kenneth ! One problem at a time ! :)<br>> <br>> I've managed to add some QT Widgets in the properties<br>> tab by extending the pqAutoGeneratedObjectPanel. Now, how<br>> can I handle events generated by the GUI, in order to change<br>> properties of the model displayed in the screen ? I mean,<br>> how can I really connect my filter with the ObjectPanel ?<br>> <br>> Thanks again !<br>> Rafael March.<br>> <br>> --- On Thu, 9/18/08, Moreland, Kenneth<br>> <kmorel@sandia.gov> wrote:<br>> From: Moreland, Kenneth <kmorel@sandia.gov><br>> Subject: Re: [Paraview] Filter with Personalized<br>> "Properties" tab<br>> To: "rafaelmarch3@yahoo.com"<br>> <rafaelmarch3@yahoo.com>,<br>> "paraview@paraview.org"<br>> <paraview@paraview.org><br>> Date: Thursday, September 18,
2008, 2:48 PM<br>> <br>> You can customize the GUI somewhat by modifying the server<br>> manager XML that<br>> describes your filter. For example, you can create a combo<br>> box in the GUI<br>> by adding an EnumerationDomain to an IntVectorProperty or<br>> you could create a<br>> checkbox by adding a BooleanDomain.<br>> <br>> You can also create your own properties panel using Qt<br>> code. The wiki page<br>> on ParaView plugins has a simple example of customizing the<br>> auto-generated<br>> panel. You can provide even more customization (for<br>> example, by using your<br>> own panel created in Qt Designer) by subclassing either<br>> pqNamedObjectPanel<br>> or pqObjectPanel.<br>> <br>> -Ken<br>> <br>> <br>> On 9/18/08 8:28 AM, "Rafael March"<br>> <rafaelmarch3@yahoo.com><br>> wrote:<br>> <br>> > Hey all,<br>> ><br>> > I have my own filter running
well in Paraview. I would<br>> like to extend it<br>> to<br>> > enable adding scalar or vector properties, as well as<br>> changing existing<br>> data<br>> > of nodes and cells. I would like to implement this<br>> feature through a<br>> > customized GUI, like buttons, combo boxes and so on in<br>> the properties tab<br>> of<br>> > the filter.<br>> ><br>> > How can I access and modify this tab ? Should I do it<br>> inside my filters<br>> code ?<br>> ><br>> > Any suggestions ?<br>> ><br>> > Thanks all,<br>> > Rafael March.<br>> ><br>> <br>> <br>> **** Kenneth Moreland<br>> *** Sandia National Laboratories<br>> ***********<br>> *** *** *** email: kmorel@sandia.gov<br>> ** *** ** phone: (505) 844-8919<br>> *** fax: (505) 845-0833<br>> <br>> <br>> <br>> <br>> <br>> <br>>
_______________________________________________<br>> ParaView mailing list<br>> ParaView@paraview.org<br>> http://www.paraview.org/mailman/listinfo/paraview<br><br><br> <br><br></pre></blockquote></td></tr></table><br>