-// Copyright (C) 2007-2013 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
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;
//
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);