int anActionFlags =
CurveCreator_Widget::DisableNewSection | CurveCreator_Widget::DisableDetectionMode |
CurveCreator_Widget::DisableClosedSection;
- myEditorWidget = new CurveCreator_Widget( this, NULL, anActionFlags );
+ QStringList aCoordTitles;
+ aCoordTitles << tr( "U_TITLE" ) << tr( "Z_TITLE" );
+ myEditorWidget = new CurveCreator_Widget( this, NULL, anActionFlags, aCoordTitles );
addWidget( myEditorWidget, 3 );
myAddElementBox = new QGroupBox( tr( "ADD_ELEMENT" ), this );
// Show the coordinates
QString aX = HYDROGUI_Tool::GetCoordinateString( aPnt.X() );
QString anY = HYDROGUI_Tool::GetCoordinateString( aPnt.Y() );
- myCoordLabel->setText( tr("COORDINATES_INFO").arg( aX ).arg( anY ) );
+ myCoordLabel->setText( tr("UZ_COORDINATES_INFO").arg( aX ).arg( anY ) );
}
}