Changeset 6275 in ntrip for trunk/BNC/src/rinex/reqcanalyze.cpp


Ignore:
Timestamp:
Oct 31, 2014, 6:33:17 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r6272 r6275  
    6868  _obsFileNames = settings.value("reqcObsFile").toString().split(",", QString::SkipEmptyParts);
    6969  _navFileNames = settings.value("reqcNavFile").toString().split(",", QString::SkipEmptyParts);
     70
     71  connect(this, SIGNAL(dspSkyPlot(const QString&, const QByteArray&, QVector<t_polarPoint*>*,
     72                                  const QByteArray&, QVector<t_polarPoint*>*,
     73                                  const QByteArray&, double)),
     74          this, SLOT(slotDspSkyPlot(const QString&, const QByteArray&, QVector<t_polarPoint*>*,
     75                                    const QByteArray&, QVector<t_polarPoint*>*,
     76                                    const QByteArray&, double)));
     77
     78  connect(this, SIGNAL(dspAvailPlot(const QString&, const QByteArray&)),
     79          this, SLOT(slotDspAvailPlot(const QString&, const QByteArray&)));
    7080}
    7181
     
    551561    QFileInfo  fileInfo(obsFile->fileName());
    552562    QByteArray title = fileInfo.fileName().toAscii();
    553     dspSkyPlot(obsFile->fileName(), "MP1", dataMP1, "MP2", dataMP2, "Meters", 2.0);
    554     dspSkyPlot(obsFile->fileName(), "SNR1", dataSNR1, "SNR2", dataSNR2, "dbHz", 54.0);
    555     dspAvailPlot(obsFile->fileName(), title);
     563    emit dspSkyPlot(obsFile->fileName(), "MP1", dataMP1, "MP2", dataMP2, "Meters", 2.0);
     564    emit dspSkyPlot(obsFile->fileName(), "SNR1", dataSNR1, "SNR2", dataSNR2, "dbHz", 54.0);
     565    emit dspAvailPlot(obsFile->fileName(), title);
    556566  }
    557567  else {
     
    577587//
    578588////////////////////////////////////////////////////////////////////////////
    579 void t_reqcAnalyze::dspSkyPlot(const QString& fileName, const QByteArray& title1,
    580                                QVector<t_polarPoint*>* data1, const QByteArray& title2,
    581                                QVector<t_polarPoint*>* data2, const QByteArray& scaleTitle,
    582                                double maxValue) {
     589void t_reqcAnalyze::slotDspSkyPlot(const QString& fileName, const QByteArray& title1,
     590                                   QVector<t_polarPoint*>* data1, const QByteArray& title2,
     591                                   QVector<t_polarPoint*>* data2, const QByteArray& scaleTitle,
     592                                   double maxValue) {
    583593
    584594  if (BNC_CORE->GUIenabled()) {
     
    635645//
    636646////////////////////////////////////////////////////////////////////////////
    637 void t_reqcAnalyze::dspAvailPlot(const QString& fileName, const QByteArray& title) {
     647void t_reqcAnalyze::slotDspAvailPlot(const QString& fileName, const QByteArray& title) {
    638648
    639649  QMap<t_prn, t_plotData> plotData;
Note: See TracChangeset for help on using the changeset viewer.