Salome HOME
CMake: minimal set of changes so that ParaViS configures and compiles.
[modules/paravis.git] / src / PVGUI / PVGUI_Module.h
index 4bbcd749fd5ddd3246d519baac1d86e104333a9e..90c331469d2c7504017045ad88a388b2e37eb4fc 100644 (file)
@@ -1,6 +1,6 @@
 // PARAVIS : ParaView wrapper SALOME module
 //
-// Copyright (C) 2010-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2013  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -31,6 +31,8 @@
 #include <ostream>
 #include <vtkType.h>
 
+#include <pqVariableType.h>
+
 class QMenu;
 class QDockWidget;
 class QToolBar;
@@ -42,6 +44,8 @@ class pqMainWindowCore;
 class vtkEventQtSlotConnect;
 class pqPythonScriptEditor;
 class pqPVApplicationCore;
+class pqDataRepresentation;
+class pqRepresentation;
 
 
 class PVGUI_Module : public SalomeApp_Module
@@ -109,6 +113,7 @@ class PVGUI_Module : public SalomeApp_Module
         OutputWindowId,
         PythonShellId,
         ShowTraceId,
+        RestartTraceId,
 
         // Menu "Help" 
         AboutParaViewId,
@@ -220,10 +225,15 @@ private slots:
   //void showHelp(const QString& url);
 
   void onFinishedAddingServer(pqServer*);
+  void onDataRepresentationCreated(pqDataRepresentation*);
+  void onDataRepresentationUpdated();
+  void onVariableChanged(pqVariableType, const QString);
+  void onRepresentationChanged(pqRepresentation*);
 
   void onStartProgress();
   void onEndProgress();
   void onShowTrace();
+  void onRestartTrace();
 
   void onNewParaViewWindow();
 
@@ -261,6 +271,7 @@ private:
   WgMap                  myDockWidgets;
   WgMap                  myToolbars;
   WgMap                  myToolbarBreaks;
+  QList<QMenu*>          myMenus;
 
   QStringList            myTemporaryFiles;