1 // PARAVIS : ParaView wrapper SALOME module
3 // Copyright (C) 2010-2014 CEA/DEN, EDF R&D
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with this library; if not, write to the Free Software
17 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 // File : PVGUI_ParaViewSettingsPane.h
22 // Author : Vitaly Smetannikov
26 #ifndef PVGUI_ParaViewSettingsPane_H
27 #define PVGUI_ParaViewSettingsPane_H
29 #include <QtxPagePrefMgr.h>
33 #include "vtkPVConfig.h"
35 class pqOptionsContainer;
36 class OptionsDialogForm;
41 class PVGUI_ParaViewSettingsPane : public QtxUserDefinedContent
46 PVGUI_ParaViewSettingsPane(QWidget *parent=0);
47 virtual ~PVGUI_ParaViewSettingsPane();
49 /// Implementation of QtxUserDefinedContent interface
50 virtual void store(QtxResourceMgr* theRes, QtxPreferenceMgr* thePref);
51 virtual void retrieve(QtxResourceMgr* theRes, QtxPreferenceMgr* thePref);
55 /// Calls each page to apply any changes.
58 /// Calls each page to reset any changes.
61 void onRequestParaviewSettings();
64 /// Emitted before the option changes are applied.
65 void aboutToApplyChanges();
67 /// Emitted after the option changes have been applied.
68 void appliedChanges();
71 OptionsDialogForm *Form; /// Stores the form and class data.