[Paraview-developers] pqObjectInspector
Biddiscombe, John A.
biddisco at cscs.ch
Wed Oct 22 06:28:32 EDT 2014
Dan, Utkarsh
Thanks for the links. (I didn’t want to use a property widget as I need the apply button feature in my own dock window etc).
I’m of the opinion that the greyed out buttons (for view/display/etc) should be invisible if the panel mode does not include them.
Attached is a patch to hide them. #001
I needed to subclass panel properties to override some methods so that I can intercept apply and other methods.
Attached is a patch which makes a couple of functions virtual and also adds a preapplied signal emitted before new properties are ‘applied’. #002,
The gear search thingy seems very broken - I’ll submit a patch if and when I find what’s wrong.
it’d be lovely if these patches could be applied to master.
(PS. any news of when I can do this via a github #PR and have it part of the accepted means of contributing?)
thanks very much, all seems to be working as before now, (subject to a few ongoing tweaks)
JB
From: Dan Lipsa [mailto:dan.lipsa at kitware.com]
Sent: 20 October 2014 16:28
To: Biddiscombe, John A.
Cc: paraview-developers at paraview.org<mailto:paraview-developers at paraview.org>
Subject: Re: [Paraview-developers] pqObjectInspector
See also
http://www.paraview.org/Wiki/Plugin_HowTo#Adding_Customizations_for_Properties_Panel
Dan
On Mon, Oct 20, 2014 at 10:25 AM, Dan Lipsa <dan.lipsa at kitware.com<mailto:dan.lipsa at kitware.com>> wrote:
Hi John,
Not a direct answer to your question but I found the following wiki entry useful in adding/debugging entries in the properties panel.
See especially the environment variable PV_DEBUG_PANELS
http://www.paraview.org/Wiki/ParaView/Properties_Panel
Dan
On Mon, Oct 20, 2014 at 9:52 AM, Biddiscombe, John A. <biddisco at cscs.ch<mailto:biddisco at cscs.ch>> wrote:
I managed to get something working with a pqPropertiesPanel and creating my own pqPipelineSource, so properties become visible.
Question:
My panel has SOURCE_PROPERTIES set, but I get two (of each) greyed out, save and default buttons for (presumable) the view properties and display properties which I don’t need. Can I make them hidden?
There appears to be a bug in the advanced properties gear button thingy, because one you type something in there, everything disappears and never comes back! (I noticed in the main preferences, lots of options are hidden until you enter a space in the search box, then tons appear - as if by magic - could there be something wrong with the property search feature?)
ta
JB
From: Paraview-developers [mailto:paraview-developers-bounces at paraview.org<mailto:paraview-developers-bounces at paraview.org>] On Behalf Of Biddiscombe, John A.
Sent: 17 October 2014 14:48
To: paraview-developers at paraview.org<mailto:paraview-developers at paraview.org>
Subject: [Paraview-developers] pqObjectInspector
I used to use pqObjectInspector quite heavily, in fact my plugin has a subclass of it which displays all the properties of my live-viz manager class inside a window.
Now that pqObjectInspector has gone, I tried to use a pqPropertiesPanel, but it does not have a setProxy method, and only seems to want pqPipeLinesource objects.
is there something I can use to display all my stuff and have an accept/reset button like the old object inspector ?
thanks
JB
--
John Biddiscombe, email:biddisco @.at.@ cscs.ch<http://cscs.ch>
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.07<tel:%2B41%20%2891%29%20610.82.07>
Via Trevano 131, 6900 Lugano, Switzerland | Fax: +41 (91) 610.82.82<tel:%2B41%20%2891%29%20610.82.82>
_______________________________________________
Paraview-developers mailing list
Paraview-developers at paraview.org<mailto:Paraview-developers at paraview.org>
http://public.kitware.com/mailman/listinfo/paraview-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20141022/27e7f35e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Hide-buttons-which-are-not-used-for-a-panel-mode.patch
Type: application/octet-stream
Size: 1363 bytes
Desc: 0001-Hide-buttons-which-are-not-used-for-a-panel-mode.patch
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20141022/27e7f35e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-preapplied-signal-to-pqPropertiesPanel-make-some.patch
Type: application/octet-stream
Size: 2360 bytes
Desc: 0002-Add-preapplied-signal-to-pqPropertiesPanel-make-some.patch
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20141022/27e7f35e/attachment-0003.obj>
More information about the Paraview-developers
mailing list