|
@@ -194,6 +194,12 @@ MainWindow::MainWindow(QWidget *parent)
|
|
|
mpbigpicdlg->setModal(false);
|
|
|
connect(mpbigpicdlg,SIGNAL(finished(int)),this,SLOT(onCloseBigDlg()));
|
|
|
|
|
|
+ QLabel * pLabel = new QLabel();
|
|
|
+ pLabel->setFixedWidth(600);
|
|
|
+ pLabel->setText("Latency");
|
|
|
+ mpLabelLatency = pLabel;
|
|
|
+ ui->statusbar->addPermanentWidget(pLabel);
|
|
|
+
|
|
|
setWindowTitle(mstrProgName +mstrVIN+ mstrGPSTime + mstrPicTime);
|
|
|
|
|
|
}
|
|
@@ -634,6 +640,17 @@ void MainWindow::onTimerUpdateView()
|
|
|
{
|
|
|
static qint64 time_gps = 0;
|
|
|
|
|
|
+ unsigned int i;
|
|
|
+
|
|
|
+ char strlatency[1000];
|
|
|
+ char strtem[100];
|
|
|
+ snprintf(strlatency,1000,"Latency(Up|FrameRate|Down): ");
|
|
|
+ snprintf(strtem,100,"FT(%d|%d|%d) ",mgrpcpc->GetPicLatency(0),mgrpcpc->GetFrameRate(0),mgrpcpc->GetPicDownLatency(0));strncat(strlatency,strtem,1000);
|
|
|
+ snprintf(strtem,100,"RR(%d|%d|%d) ",mgrpcpc->GetPicLatency(1),mgrpcpc->GetFrameRate(1),mgrpcpc->GetPicDownLatency(1));strncat(strlatency,strtem,1000);
|
|
|
+ snprintf(strtem,100,"LT(%d|%d|%d) ",mgrpcpc->GetPicLatency(2),mgrpcpc->GetFrameRate(2),mgrpcpc->GetPicDownLatency(2));strncat(strlatency,strtem,1000);
|
|
|
+ snprintf(strtem,100,"RT(%d|%d|%d) ",mgrpcpc->GetPicLatency(3),mgrpcpc->GetFrameRate(3),mgrpcpc->GetPicDownLatency(3));strncat(strlatency,strtem,1000);
|
|
|
+
|
|
|
+ mpLabelLatency->setText(strlatency);
|
|
|
|
|
|
|
|
|
if(gTimeGPSIMUUpdate != time_gps)
|