mySMESHGUI( theModule )
{
setModal( true );
- setWindowTitle( tr( "Preferences - Set Color" ) );
+ setWindowTitle( tr( "Properties (color, line width, shrink size, ...)" ) );
setSizeGripEnabled( true );
// -------------------------------
QLabel* TextLabel_Fill = new QLabel( tr( "Surface color" ), ButtonGroup1 );
toolSurfColor = new QtxBiColorTool(ButtonGroup1);
- toolSurfColor->setText("Back surface color");
+ toolSurfColor->setText( tr( "Back surface color" ));
QLabel* TextLabel_Outline = new QLabel( tr( "Outline color" ), ButtonGroup1 );
btnOutlineColor = new QtxColorButton( ButtonGroup1 );
SpinBox_0DElements_Size->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
SpinBox_0DElements_Size->setButtonSymbols( QSpinBox::PlusMinus );
- QLabel* TextLabel_Width = new QLabel( tr( "Width" ), ButtonGroup1 );
+ QLabel* TextLabel_Width = new QLabel( tr( "Line width" ), ButtonGroup1 );
SpinBox_Width = new SalomeApp_IntSpinBox( ButtonGroup1 );
SpinBox_Width->setAcceptNames( false ); // No Notebook variables allowed
- SpinBox_Width->setRange( 0, 5 );
+ SpinBox_Width->setRange( 1, 5 );
SpinBox_Width->setSingleStep( 1 );
SpinBox_Width->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Fixed ) );
SpinBox_Width->setButtonSymbols( QSpinBox::PlusMinus );