setPreferenceProperty( infoWindowGr, "columns", 1 );
int transparencyPref = addPreference( tr( "VISU_PICKING_PREF_TRANSPARENCY" ), infoWindowGr,
- SalomeApp_Preferences::DblSpin, "VISU", "picking_transparency" );
- setPreferenceProperty( transparencyPref, "min", 0.0 );
- setPreferenceProperty( transparencyPref, "max", 1.0 );
- setPreferenceProperty( transparencyPref, "step", 0.1 );
+ SalomeApp_Preferences::IntSpin, "VISU", "picking_transparency" );
+ setPreferenceProperty( transparencyPref, "min", 0 );
+ setPreferenceProperty( transparencyPref, "max", 100 );
+ setPreferenceProperty( transparencyPref, "step", 10 );
int positionPref = addPreference( tr( "VISU_GAUSS_PREF_POSITION" ), infoWindowGr,
SalomeApp_Preferences::Selector, "VISU", "picking_position" );