VisuGUI
::OnSweep()
{
- mySweep->toggleViewAction()->setChecked(true);
+ OnDisplayPrs();
+ if ( !mySweep->toggleViewAction()->isChecked() )
+ mySweep->toggleViewAction()->trigger();
+ mySweep->onSelectionChanged();
mySweep->onFirst();
mySweep->onPlay(true);
}
tr("MEN_CREATE_TABLE"), "", 0, aParent, false,
this, SLOT(OnCreateTable()));
- aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_SWEEP"));
+ aPixmap = aResourceMgr->loadPixmap("VISU",tr("ICON_SWEEP_PANEL"));
createAction( VISU_SWEEP, tr("MEN_SWEEP"), QIcon(aPixmap),
tr("MEN_SWEEP"), "", 0, aParent, false,
this, SLOT(OnSweep()));
int timestep = addPreference( tr( "VISU_TIME_STEP" ), sweepGroup,
LightApp_Preferences::DblSpin, "VISU", "sweeping_time_step" );
- int nbcycles = addPreference( tr( "VISU_NB_CYCLES" ), sweepGroup,
- LightApp_Preferences::IntSpin, "VISU", "sweeping_number_cycles" );
+ /* int nbcycles = addPreference( tr( "VISU_NB_CYCLES" ), sweepGroup,
+ LightApp_Preferences::IntSpin, "VISU", "sweeping_number_cycles" );*/
int nbsteps = addPreference( tr( "VISU_NB_STEPS" ), sweepGroup,
LightApp_Preferences::IntSpin, "VISU", "sweeping_number_steps" );
int rangeSw = addPreference( tr( "VISU_IS2PI" ), sweepGroup, LightApp_Preferences::Selector, "VISU", "sweeping_is2PI" );
setPreferenceProperty( timestep, "min", 0.1 );
setPreferenceProperty( timestep, "step", 0.1 );
setPreferenceProperty( timestep, "max", 1000 );
- setPreferenceProperty( nbcycles, "max", 100 );
+ // setPreferenceProperty( nbcycles, "max", 100 );
setPreferenceProperty( nbsteps, "max", 200 );
}
}