Changeset 4450 in ntrip
- Timestamp:
- Jul 29, 2012, 5:18:09 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/graphwin.cpp
r4444 r4450 47 47 // Constructor 48 48 //////////////////////////////////////////////////////////////////////////// 49 t_graphWin::t_graphWin(QWidget* parent, const QVector<QWidget*>& plots, 49 t_graphWin::t_graphWin(QWidget* parent, const QString& fileName, 50 const QVector<QWidget*>& plots, 50 51 const QwtInterval scaleInterval) : QDialog(parent) { 52 53 _fileName = fileName; 51 54 52 55 this->setAttribute(Qt::WA_DeleteOnClose); 53 56 54 setWindowTitle( tr("BNC Plot"));57 setWindowTitle("Multipath Analyses: " + _fileName); 55 58 56 59 int ww = QFontMetrics(font()).width('w'); -
trunk/BNC/src/rinex/graphwin.h
r4444 r4450 52 52 53 53 public: 54 t_graphWin(QWidget* parent, const Q Vector<QWidget*>& plots,55 const Q wtInterval scaleInterval);54 t_graphWin(QWidget* parent, const QString& fileName, 55 const QVector<QWidget*>& plots, const QwtInterval scaleInterval); 56 56 ~t_graphWin(); 57 57 … … 68 68 69 69 private: 70 QString _fileName; 70 71 QWidget* _canvas; 71 72 QPushButton* _buttonClose; -
trunk/BNC/src/rinex/reqcanalyze.cpp
r4448 r4450 68 68 _currEpo = 0; 69 69 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*>*))); 72 72 } 73 73 … … 87 87 // 88 88 //////////////////////////////////////////////////////////////////////////// 89 void t_reqcAnalyze::slotDisplayGraph(QVector<t_polarPoint*>* dataMP1, 89 void t_reqcAnalyze::slotDisplayGraph(const QString& fileName, 90 QVector<t_polarPoint*>* dataMP1, 90 91 QVector<t_polarPoint*>* dataMP2) { 91 92 … … 128 129 plots << plotMP2; 129 130 130 t_graphWin* graphWin = new t_graphWin(0, plots, scaleInterval);131 t_graphWin* graphWin = new t_graphWin(0, fileName, plots, scaleInterval); 131 132 132 133 graphWin->show(); … … 227 228 } 228 229 229 emit displayGraph( dataMP1, dataMP2);230 emit displayGraph(obsFile->fileName(), dataMP1, dataMP2); 230 231 231 232 _log->flush(); -
trunk/BNC/src/rinex/reqcanalyze.h
r4361 r4450 45 45 signals: 46 46 void finished(); 47 void displayGraph(QVector<t_polarPoint*>*, QVector<t_polarPoint*>*); 47 void displayGraph(const QString& fileName, QVector<t_polarPoint*>*, 48 QVector<t_polarPoint*>*); 48 49 49 50 private slots: 50 void slotDisplayGraph(QVector<t_polarPoint*>*, QVector<t_polarPoint*>*); 51 void slotDisplayGraph(const QString& fileName, QVector<t_polarPoint*>*, 52 QVector<t_polarPoint*>*); 51 53 52 54 public:
Note:
See TracChangeset
for help on using the changeset viewer.