MCPcopy Create free account
hub / github.com/BehaviorTree/Groot / on_timeSlider_valueChanged

Method on_timeSlider_valueChanged

bt_editor/sidepanel_replay.cpp:252–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252void SidepanelReplay::on_timeSlider_valueChanged(int value)
253{
254 if( ui->spinBox->value() != value)
255 {
256 ui->spinBox->setValue( value );
257 }
258
259 int row = _timepoint[value].second;
260 ui->tableView->scrollTo( _table_model->index(row,0), QAbstractItemView::PositionAtCenter);
261
262 onRowChanged( row );
263}
264
265void SidepanelReplay::onRowChanged(int current_row)
266{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected