{
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();