]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
nabil tuleap23995 duc/pv590
authorDUC ANH HOANG <duc-anh-externe.hoang@edf.fr>
Wed, 10 Mar 2021 12:26:29 +0000 (13:26 +0100)
committerDUC ANH HOANG <duc-anh-externe.hoang@edf.fr>
Wed, 10 Mar 2021 12:26:29 +0000 (13:26 +0100)
src/GraphicsView/GraphicsView_ViewFrame.cxx
src/GraphicsView/GraphicsView_ViewFrame.h
src/PVViewer/PVViewer_GUIElements.cxx
src/SALOME_PYQT/SalomePyQt/SalomePyQt.sip
src/SALOME_PYQT/SalomePyQt/SalomePyQt_Plot2d.sip

index f075f2392082bdf06e98826099533273b902fd76..1ba3cb75abe6fda1862e3af8b4544e47c22292e7 100644 (file)
@@ -42,7 +42,7 @@
 #include <QMouseEvent>
 #include <QString>
 #include <QWheelEvent>
-
+#include <QPainterPath>
 //=======================================================================
 // Name    : GraphicsView_ViewFrame
 // Purpose : Constructor
index a8507d3bf54e4affd6e479113426c711065462f4..ffa7c359667734ff257ba3a6d22ed3bead8d367f 100644 (file)
@@ -29,7 +29,7 @@ class QGraphicsSceneMouseEvent;
 class QGraphicsSceneWheelEvent;
 
 class QAction;
-
+class QPainterPath;
 class SUIT_Desktop;
 
 class GraphicsView_Viewer;
index 384d362393e56a3497ceb10e9f07ae2965de6ca3..5d9d4f5198f6e22fcf325574ac2398f054065b9f 100644 (file)
@@ -143,7 +143,9 @@ void PVViewer_GUIElements::buildPVWidgets()
     // Catalyst Menu
     if (!catalystMenu) {
       catalystMenu = new QMenu(0);
-#if PARAVIEW_VERSION_MAJOR==5 && PARAVIEW_VERSION_MINOR>=6
+#if PARAVIEW_VERSION_MAJOR==5 && PARAVIEW_VERSION_MINOR>=9
+      pqParaViewMenuBuilders::buildCatalystMenu(*catalystMenu);
+#elif PARAVIEW_VERSION_MAJOR==5 && PARAVIEW_VERSION_MINOR>=6
       pqParaViewMenuBuilders::buildCatalystMenu(*catalystMenu, myDesktop);
 #else
       pqParaViewMenuBuilders::buildCatalystMenu(*catalystMenu);
index bc30e3450af4aaf21e452ef6d5553917388bbccd..05dff3e05e2d0d6ab377756432cc33252888256b 100644 (file)
@@ -130,9 +130,9 @@ class QtxAction : QWidgetAction
 
 %ConvertToSubClassCode
     if ( qobject_cast<QtxAction*>( sipCpp ) )
-      sipClass = sipClass_QtxAction;
+      sipType = sipType_QtxAction;
     else
-      sipClass = NULL;
+      sipType = NULL;
 %End
 
 public:
@@ -153,9 +153,9 @@ class QtxActionSet : QtxAction
 
 %ConvertToSubClassCode
     if ( qobject_cast<QtxActionSet*>( sipCpp ) )
-      sipClass = sipClass_QtxActionSet;
+      sipType = sipType_QtxActionSet;
     else
-      sipClass = NULL;
+      sipType = NULL;
 %End
 
 public:
@@ -192,9 +192,9 @@ class QtxActionGroup : QtxActionSet
 
 %ConvertToSubClassCode
     if ( qobject_cast<QtxActionGroup*>( sipCpp ) )
-      sipClass = sipClass_QtxActionGroup;
+      sipType = sipType_QtxActionGroup;
     else
-      sipClass = NULL;
+      sipType = NULL;
 %End
 
 public:
@@ -226,9 +226,9 @@ class QtxTreeView : public QTreeView
 
 %ConvertToSubClassCode
     if ( qobject_cast<QtxTreeView*>( sipCpp ) )
-      sipClass = sipClass_QtxTreeView;
+      sipType = sipType_QtxTreeView;
     else
-      sipClass = NULL;
+      sipType = NULL;
 %End
 
 public:
@@ -252,9 +252,9 @@ class UserDefinedContent : public QWidget
 
 %ConvertToSubClassCode
     if ( qobject_cast<UserDefinedContent*>( sipCpp ) )
-      sipClass = sipClass_UserDefinedContent;
+      sipType = sipType_UserDefinedContent;
     else
-      sipClass = NULL;
+      sipType = NULL;
 %End
 
 public:
index 66e2af5992d422f97061c4beb10d6076a8fc9c8f..eb0962e3675728e3f8c939b392b55d66f878e37d 100644 (file)
@@ -55,9 +55,9 @@ class Plot2d_Curve
 
 %ConvertToSubClassCode
     if ( dynamic_cast<Plot2d_Curve*>( sipCpp ) )
-      sipClass = sipClass_Plot2d_Curve;
+      sipType = sipType_Plot2d_Curve;
     else
-      sipClass = NULL;
+      sipType = NULL;
 %End
 
 public: