Addition of time normalization. Will reset the timing to start at zero and work up from there.

This commit is contained in:
Collin Kidder
2015-06-23 22:14:48 -04:00
parent 37f30116e7
commit 7f17aa8495
5 changed files with 30 additions and 0 deletions
+6
View File
@@ -130,6 +130,7 @@ MainWindow::MainWindow(QWidget *parent) :
connect(ui->actionSave_Decoded_Frames, SIGNAL(triggered(bool)), this, SLOT(handleSaveDecoded()));
connect(ui->actionSingle_Multi_State, SIGNAL(triggered(bool)), this, SLOT(showSingleMultiWindow()));
connect(ui->actionFile_Comparison, SIGNAL(triggered(bool)), this, SLOT(showComparisonWindow()));
connect(ui->btnNormalize, SIGNAL(clicked(bool)), this, SLOT(normalizeTiming()));
lbStatusConnected.setText(tr("Not connected"));
updateFileStatus();
@@ -268,6 +269,11 @@ void MainWindow::clearFrames()
emit framesUpdated(-1);
}
void MainWindow::normalizeTiming()
{
model->normalizeTiming();
}
void MainWindow::changeBaudRates()
{
int Speed1 = 0, Speed2 = 0;