I have not tried this from a plug in, but I can't think of any reason why it would not work:
#include "pqApplicationCore.h" #include "pqSettings.h" ... pqSettings *settings = pqApplicationCore::instance()->settings(); pqSettings is a subclass of QSettings (it adds a few methods for saving and restoring the positions of windows). The one returned by the pqApplicationCore singleton instance will point to ParaView's settings file. -Ken On 1/2/11 7:04 PM, "Nenad Vujicic" <[email protected]> wrote: Hello everyone, I have developed exporter plug-in for ParaView with 50+ input parameters. At the moment, I'm setting parameters from dialog I start on menu action and preserve their values between ParaView sessions by using QSettings object. Is it possible to save these values in ParaView state files without changing ParaView main sources? Thanks, Nenad. _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview **** Kenneth Moreland *** Sandia National Laboratories *********** *** *** *** email: [email protected] ** *** ** phone: (505) 844-8919 *** web: http://www.cs.unm.edu/~kmorel
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
