-// Project MULTIPR, IOLS WP1.2.1 - EDF/CS
-// Partitioning/decimation module for the SALOME v3.2 platform
+// Copyright (C) 2007-2010 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
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+// Partitioning/decimation module for the SALOME v3.2 platform
+//
/**
* \file MULTIPR_GUI.cxx
*
{
SUIT_MessageBox::warning(
(QWidget*) MULTIPR_GUI::desktop(),
- QObject::tr("SPLIT_WARN"),
-// "Split warning",
- QObject::tr("NO_PART_SELECTED"));
-// "No parts selected");
+ QString("Split warning"),
+ QString("No parts selected"));
return;
}
{
SUIT_MessageBox::warning(
(QWidget*) MULTIPR_GUI::desktop(),
- QObject::tr("DECIMATION_WARN"),
-// "Decimation warning",
- QObject::tr("NO_PART_SELECTED"));
-// "No parts selected");
+ QString("Decimation warning"),
+ QString("No parts selected"));
return;
}
{
SUIT_MessageBox::warning(
(QWidget*) MULTIPR_GUI::desktop(),
- QObject::tr("DEL_WARN"),
-// "Remove warning",
- QObject::tr("NO_PART_SELECTED"));
-// "No parts selected");
+ QString("Remove warning"),
+ QString("No parts selected"));
return;
}
if (QMessageBox::question(
(QWidget*) MULTIPR_GUI::desktop(),
- QObject::tr("DEL_SELECTED_PARTS"),
-// QObject::tr("Remove selected part(s)"),
- QObject::tr("DEL_SELECTED_PARTS_QUEST"),
-// QObject::tr("Do you want to remove selected part(s)?"),
- QObject::tr("&Yes"), tr("&No"),
+ QString("Remove selected part(s)"),
+ QString("Do you want to remove selected part(s)?"),
+ QString("&Yes"), QString("&No"),
QString::null, 0, 1 ) )
{
return;
{
SUIT_MessageBox::critical(
(QWidget*) MULTIPR_GUI::desktop(),
- QObject::tr("DEL_ERROR"),
-// "Remove error",
- QObject::tr("ERROR_DEL_PART"));
-// "Error while removing selected part(s)");
+ QString("Remove error"),
+ QString("Error while removing selected part(s)"));
}
QApplication::restoreOverrideCursor();