(QAbstractItemView::EditTriggers)(QAbstractItemView::AllEditTriggers &(~QAbstractItemView::CurrentChanged)));
QStringList aLabels;
- aLabels.append( "Position" );
- aLabels.append( "Set default" );
+ aLabels.append( tr("Position") );
+ aLabels.append( tr("Set default") );
myPosTable->setHorizontalHeaderLabels( aLabels );
myPosTable->setRowCount(aNbPlanes);
QStringList aLabels;
- QString str("Plane# %1");
+ QString str(tr("PLANE_NUMBER"));
int aMin = (aNbRows < aNbPlanes)? aNbRows : aNbPlanes;
for (int i = 0; i<aMin; i++) {
myPosTable->item( i, 0 )->setText( QString::number(myCutPlanes->GetPlanePosition(i)));
VisuGUI_CutPlanesDlg::VisuGUI_CutPlanesDlg (SalomeApp_Module* theModule)
: VisuGUI_ScalarBarBaseDlg(theModule)
{
- setWindowTitle("Cut Planes Definition");
+ setWindowTitle(tr("Cut Planes Definition"));
setSizeGripEnabled(true);
QVBoxLayout* TopLayout = new QVBoxLayout (this);
// Tab pane
myTabBox = new QTabWidget(this);
myCutPane = new VisuGUI_CutPlanesPane(this/*, myMgr*/);
- myTabBox->addTab(myCutPane, "Cut Planes");
+ myTabBox->addTab(myCutPane, tr("Cut Planes"));
myInputPane = new VisuGUI_InputPane(VISU::TCUTPLANES, theModule, this);
- myTabBox->addTab(GetScalarPane(), "Scalar Bar");
- myTabBox->addTab(myInputPane, "Input");
+ myTabBox->addTab(GetScalarPane(), tr("Scalar Bar"));
+ myTabBox->addTab(myInputPane, tr("Input"));
TopLayout->addWidget(myTabBox);