Salome HOME
Updated copyright comment
[modules/med.git] / src / MEDGUI / MEDGUIDataBaseDockWidget.cxx
index 813e50be15c9a7ab444f2b9f213e8ef4e7ad248d..4a7795aeddeac49be8ce2ec07ee4c3c3be853088 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -29,6 +29,7 @@
 MEDGUIDataBaseDockWidget::MEDGUIDataBaseDockWidget(CAM_Application *app, QWidget * parent):QDockWidget(parent),_app(app)
 {
   setWindowTitle("MEDUtils DataBase");
+  setObjectName("MEDUtils DataBase");
   setMinimumWidth(270);
   setMinimumHeight(300);
   QWidget *content = new QWidget;
@@ -48,11 +49,11 @@ MEDGUIDataBaseDockWidget::MEDGUIDataBaseDockWidget(CAM_Application *app, QWidget
   //
   QPixmap pixmap;
   SUIT_ResourceMgr* mgr=_app->resourceMgr();
-  pixmap=mgr->loadPixmap("MED","med_field.png");
+  pixmap=mgr->loadPixmap("FIELDS","med_field.png");
   _fields=new QTreeWidgetItem((QTreeWidget*)0,QStringList(QString("Fields")));
   _fields->setIcon(0,QIcon(pixmap));
   _tree_widget->addTopLevelItem(_fields);
-  pixmap=mgr->loadPixmap("MED","med_mesh.png");
+  pixmap=mgr->loadPixmap("FIELDS","med_mesh.png");
   _meshes=new QTreeWidgetItem((QTreeWidget*)0,QStringList(QString("Meshes")));
   _meshes->setIcon(0,QIcon(pixmap));
   _tree_widget->addTopLevelItem(_meshes);