Changeset 4450 in ntrip


Ignore:
Timestamp:
Jul 29, 2012, 5:18:09 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
4 edited

Legend:

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

    r4444 r4450  
    4747// Constructor
    4848////////////////////////////////////////////////////////////////////////////
    49 t_graphWin::t_graphWin(QWidget* parent, const QVector<QWidget*>& plots,
     49t_graphWin::t_graphWin(QWidget* parent, const QString& fileName,
     50                       const QVector<QWidget*>& plots,
    5051                       const QwtInterval scaleInterval) :  QDialog(parent) {
     52
     53  _fileName = fileName;
    5154
    5255  this->setAttribute(Qt::WA_DeleteOnClose);
    5356
    54   setWindowTitle(tr("BNC Plot"));
     57  setWindowTitle("Multipath Analyses: " + _fileName);
    5558
    5659  int ww = QFontMetrics(font()).width('w');
  • trunk/BNC/src/rinex/graphwin.h

    r4444 r4450  
    5252
    5353 public:
    54   t_graphWin(QWidget* parent, const QVector<QWidget*>& plots,
    55              const QwtInterval scaleInterval);
     54  t_graphWin(QWidget* parent, const QString& fileName,
     55             const QVector<QWidget*>& plots, const QwtInterval scaleInterval);
    5656  ~t_graphWin();
    5757
     
    6868
    6969 private:
     70  QString         _fileName;
    7071  QWidget*        _canvas;
    7172  QPushButton*    _buttonClose;
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4448 r4450  
    6868  _currEpo = 0;
    6969
    70   connect(this, SIGNAL(displayGraph(QVector<t_polarPoint*>*, QVector<t_polarPoint*>*)),
    71           this, SLOT(slotDisplayGraph(QVector<t_polarPoint*>*, QVector<t_polarPoint*>*)));
     70  connect(this, SIGNAL(displayGraph(const QString&, QVector<t_polarPoint*>*, QVector<t_polarPoint*>*)),
     71          this, SLOT(slotDisplayGraph(const QString&, QVector<t_polarPoint*>*, QVector<t_polarPoint*>*)));
    7272}
    7373
     
    8787// 
    8888////////////////////////////////////////////////////////////////////////////
    89 void t_reqcAnalyze::slotDisplayGraph(QVector<t_polarPoint*>* dataMP1,
     89void t_reqcAnalyze::slotDisplayGraph(const QString& fileName,
     90                                     QVector<t_polarPoint*>* dataMP1,
    9091                                     QVector<t_polarPoint*>* dataMP2) {
    9192
     
    128129    plots << plotMP2;
    129130
    130     t_graphWin* graphWin = new t_graphWin(0, plots, scaleInterval);
     131    t_graphWin* graphWin = new t_graphWin(0, fileName, plots, scaleInterval);
    131132
    132133    graphWin->show();
     
    227228  }
    228229
    229   emit displayGraph(dataMP1, dataMP2);
     230  emit displayGraph(obsFile->fileName(), dataMP1, dataMP2);
    230231
    231232  _log->flush();
  • trunk/BNC/src/rinex/reqcanalyze.h

    r4361 r4450  
    4545 signals:
    4646  void finished();
    47   void displayGraph(QVector<t_polarPoint*>*, QVector<t_polarPoint*>*);
     47  void displayGraph(const QString& fileName, QVector<t_polarPoint*>*,
     48                    QVector<t_polarPoint*>*);
    4849   
    4950 private slots:
    50   void slotDisplayGraph(QVector<t_polarPoint*>*, QVector<t_polarPoint*>*);
     51  void slotDisplayGraph(const QString& fileName, QVector<t_polarPoint*>*,
     52                        QVector<t_polarPoint*>*);
    5153
    5254 public:
Note: See TracChangeset for help on using the changeset viewer.