QRadioButton* aButton;
if (theIcon.isNull()) {
aButton = new QRadioButton(theName, aWgt);
- aButton->setToolTip(theTooltip);
+ aButton->setToolTip(translate(theTooltip.toStdString()));
}
else {
aButton = new QRadioButton(aWgt);
- aButton->setToolTip(theName);
+ aButton->setToolTip(translate(theName.toStdString()));
}
aLay->addStretch();
aLay->addWidget(aButton);
{
int aSuperCount =
ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon, theTooltip);
- myCombo->addItem(theName);
+ myCombo->addItem(translate(theName.toStdString()));
int aResultCount = myCombo->count();
if (aResultCount == 2)
myCombo->show();
{
ModuleBase_PagedContainer::addPage(thePage, theName, theCaseId, theIcon, theTooltip);
QFrame* aFrame = dynamic_cast<QFrame*>(thePage);
- myToolBox->addItem(aFrame, theName, theIcon );
+ myToolBox->addItem(aFrame, translate(theName.toStdString()), theIcon );
return myToolBox->count();
}