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

Method on_spinBox_valueChanged

bt_editor/sidepanel_replay.cpp:238–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236
237
238void SidepanelReplay::on_spinBox_valueChanged(int value)
239{
240 if( ui->timeSlider->value() != value)
241 {
242 ui->timeSlider->setValue( value );
243 }
244
245 int row = _timepoint[value].second;
246
247 ui->tableView->scrollTo( _table_model->index(row,0), QAbstractItemView::PositionAtCenter );
248
249 onRowChanged( row );
250}
251
252void SidepanelReplay::on_timeSlider_valueChanged(int value)
253{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected