*/
void Plot2d_SetupCurveDlg::createControls( Plot2d_ViewFrame* vf )
{
- setCaption( tr("TLT_SETUP_CURVE") );
+ if ( vf )
+ setCaption( tr("TOT_PLOT2D_EDIT_LEGEND") );
+ else
+ setCaption( tr("TLT_SETUP_CURVE") );
setSizeGripEnabled( TRUE );
QFrame* main = mainFrame();
setBorderEnabled( true, BottomArea );
setButtonPosition( Left, OK );
setButtonPosition( Right, Cancel );
- ((QPushButton*)(button( Cancel )))->setAutoDefault( true );
+ ((QPushButton*)(button( OK )))->setAutoDefault( true );
connect( myName, SIGNAL( textChanged( const QString& ) ), this, SLOT( onNameChanged( const QString& ) ) );
connect( myColorBtn, SIGNAL( clicked() ), this, SLOT( onColorChanged() ) );
msgstr "Enables/disables legend"
msgid "TOT_PLOT2D_EDIT_LEGEND"
-msgstr "Edit Legend"
+msgstr "Set up curves"
msgid "MEN_PLOT2D_EDIT_LEGEND"
-msgstr "Edit &Legend"
+msgstr "Set up curves"
msgid "PRP_PLOT2D_EDIT_LEGEND"
-msgstr "Edit curves legend"
+msgstr "Set up curves"
msgid "TOT_PLOT2D_CURVES_POINTS"
msgstr "Draw points"