|
|
@ -48,56 +48,56 @@ void output_statistic::recMsgFromDialogSetup()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
QFile file("../conf/camera0_statistic.txt");
|
|
|
|
QFile file("D:/conf/camera0_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|
ui.textBrowser_1->setText(in.readAll());
|
|
|
|
ui.textBrowser_1->setText(in.readAll());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
file.setFileName("../conf/camera1_statistic.txt");
|
|
|
|
file.setFileName("D:/conf/camera1_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|
ui.textBrowser_2->setText(in.readAll());
|
|
|
|
ui.textBrowser_2->setText(in.readAll());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
file.setFileName("../conf/camera2_statistic.txt");
|
|
|
|
file.setFileName("D:/conf/camera2_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|
ui.textBrowser_3->setText(in.readAll());
|
|
|
|
ui.textBrowser_3->setText(in.readAll());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
file.setFileName("../conf/camera3_statistic.txt");
|
|
|
|
file.setFileName("D:/conf/camera3_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|
ui.textBrowser_4->setText(in.readAll());
|
|
|
|
ui.textBrowser_4->setText(in.readAll());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
file.setFileName("../conf/camera4_statistic.txt");
|
|
|
|
file.setFileName("D:/conf/camera4_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|
ui.textBrowser_5->setText(in.readAll());
|
|
|
|
ui.textBrowser_5->setText(in.readAll());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
file.setFileName("../conf/camera5_statistic.txt");
|
|
|
|
file.setFileName("D:/conf/camera5_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|
ui.textBrowser_6->setText(in.readAll());
|
|
|
|
ui.textBrowser_6->setText(in.readAll());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
file.setFileName("../conf/camera6_statistic.txt");
|
|
|
|
file.setFileName("D:/conf/camera6_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|
ui.textBrowser_7->setText(in.readAll());
|
|
|
|
ui.textBrowser_7->setText(in.readAll());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
file.setFileName("../conf/camera7_statistic.txt");
|
|
|
|
file.setFileName("D:/conf/camera7_statistic.txt");
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
if (file.open(QIODevice::ReadOnly | QIODevice::Text))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QTextStream in(&file);
|
|
|
|
QTextStream in(&file);
|
|
|
|