MCPcopy Create free account
hub / github.com/collin80/SavvyCAN / updateFrameLabel

Method updateFrameLabel

frameplaybackwindow.cpp:377–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377void FramePlaybackWindow::updateFrameLabel()
378{
379 int row = currentSeqNum;
380
381 if (row != ui->tblSequence->currentRow())
382 {
383 ui->tblSequence->setCurrentCell(row, 0);
384 }
385
386 if (row == -1)
387 {
388 ui->lblCurrPlayback->setText("");
389 ui->lblPosition->setText("");
390 return;
391 }
392
393 ui->lblCurrPlayback->setText(currentSeqItem->filename);
394
395 ui->lblPosition->setText(QString::number(currentPosition) + tr(" of ") + QString::number(seqItems[row].data.count()));
396}
397
398void FramePlaybackWindow::seqTableCellClicked(int row, int col)
399{

Callers

nothing calls this directly

Calls 1

setTextMethod · 0.80

Tested by

no test coverage detected