aLay->addWidget(myMainWidget);
QGridLayout* aLayout = new QGridLayout(myMainWidget);
- aLayout->addWidget(new QLabel("Values:"), 0, 0);
+ aLayout->addWidget(new QLabel(tr("Values:")), 0, 0);
myComboBox = new QComboBox(myMainWidget);
myComboBox->addItem("Value_1");
: QWidget(theParent), myDefaultValue(0)
{
QGridLayout* aLayout = new QGridLayout(this);
- aLayout->addWidget(new QLabel("Values:"), 0, 0);
+ aLayout->addWidget(new QLabel(tr("Values:")), 0, 0);
myComboBox = new QComboBox(this);
myComboBox->addItem("Value_1");
XGUI_ColorDialog::XGUI_ColorDialog(QWidget* theParent)
: QDialog(theParent)
{
- setWindowTitle("Color");
+ setWindowTitle(tr("Color"));
QGridLayout* aLay = new QGridLayout(this);
QRadioButton* aRandomChoiceBtn = new QRadioButton(this);
myColorButton->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
aLay->addWidget(myColorButton, 0, 1);
- QLabel* aRandomLabel = new QLabel("Random", this);
+ QLabel* aRandomLabel = new QLabel(tr("Random"), this);
aLay->addWidget(aRandomLabel, 1, 1);
QDialogButtonBox* aButtons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,
XGUI_DeflectionDialog::XGUI_DeflectionDialog(QWidget* theParent)
: QDialog(theParent)
{
- setWindowTitle("Deflection");
+ setWindowTitle(tr("Deflection"));
QGridLayout* aLay = new QGridLayout(this);
myDeflection = new ModuleBase_DoubleSpinBox(this);
myDeflection->setDecimals(12);
myDeflection->setRange(0, 1);
myDeflection->setSingleStep(0.001);
- aLay->addWidget(new QLabel("Deviation", this), 0, 0);
+ aLay->addWidget(new QLabel(tr("Deflection value"), this), 0, 0);
aLay->addWidget(myDeflection, 0, 1);
QDialogButtonBox* aButtons = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel,