| 375 | } |
| 376 | |
| 377 | void 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 | |
| 398 | void FramePlaybackWindow::seqTableCellClicked(int row, int col) |
| 399 | { |