Salome HOME
Copyright update: 2016
[modules/homard.git] / src / HOMARDGUI / HOMARDGUI.cxx
index 5f27f3fb077363e377bf231830c54247a1a5f878..a2e40a95f2668f329fecebf5db377c16e6ab1c90 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2011-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2011-2016  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
@@ -18,7 +18,7 @@
 //
 
 //  File   : HOMARDGUI.cxx
-//  Author : Paul RASCLE, EDF
+//  Author : Gerald NICOLAS, EDF
 //  Module : HOMARD
 
 #include "HOMARDGUI.h"
@@ -254,7 +254,7 @@ void HOMARDGUI::createMenus()
   createMenu( separator(), HOMARD_Id,-1);
 //
   HOMARD_Id  = createMenu( tr( "HOM_MEN_YACS" ),  -1,  5, 10 );
-  createMenu( 1401, HOMARD_Id, -1 ); // Création d'un schéma YACS
+  createMenu( 1401, HOMARD_Id, -1 ); // Création d'un schéma YACS
   createMenu( separator(), HOMARD_Id,-1);
 }
 
@@ -629,7 +629,7 @@ bool HOMARDGUI::OnGUIEvent (int theCommandID)
       break;
     }
 
-    case 1401: // Création d'un schema YACS
+    case 1401: // Création d'un schema YACS
     {
       MESSAGE("etape 1401")
       MESSAGE("command " << theCommandID << " activated avec objet " << _ObjectName.toStdString().c_str() );
@@ -638,7 +638,7 @@ bool HOMARDGUI::OnGUIEvent (int theCommandID)
       break;
     }
 
-    case 1402: // Ecriture d'un schéma YACS
+    case 1402: // Ecriture d'un schéma YACS
     {
       MESSAGE("etape 1402")
       MESSAGE("command " << theCommandID << " activated avec objet " << _ObjectName.toStdString().c_str() );
@@ -704,7 +704,9 @@ void HOMARDGUI::windows( QMap<int, int>& theMap ) const
 {
   theMap.clear();
   theMap.insert( SalomeApp_Application::WT_ObjectBrowser, Qt::LeftDockWidgetArea );
+#ifndef DISABLE_PYCONSOLE
   theMap.insert( SalomeApp_Application::WT_PyConsole,     Qt::BottomDockWidgetArea );
+#endif
 }
 
 //=============================================================================