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


Ignore:
Timestamp:
Aug 29, 2012, 12:35:35 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r4573 r4574  
    4141#include <iostream>
    4242#include <iomanip>
     43
     44#include <qwt_plot.h>
     45#include <qwt_plot_curve.h>
     46
    4347#include "reqcanalyze.h"
    4448#include "bncapp.h"
     
    509513                                     QMap<QString, QVector<int> >* prnAvail){
    510514
    511   qDebug() << fileName << title;
    512 
    513   QMapIterator<QString, QVector<int> > it(*prnAvail);
    514   while (it.hasNext()) {
    515     it.next();
    516     const QString&      prn    = it.key();
    517     const QVector<int>& epochs = it.value();
    518     qDebug() << prn << epochs.size();
    519   }
    520 
    521   bncApp* app = dynamic_cast<bncApp*>(qApp);
    522   if (app->GUIenabled()) {
     515  if (dynamic_cast<bncApp*>(qApp)->GUIenabled()) {
     516
     517    QwtPlot* plot = new QwtPlot();
     518
     519    int iC = 0;
     520    QMapIterator<QString, QVector<int> > it(*prnAvail);
     521    while (it.hasNext()) {
     522      it.next();
     523      const QString&      prn    = it.key();
     524      const QVector<int>& epochs = it.value();
     525    }
    523526
    524527    QVector<QWidget*> plots;
    525 
     528    plots << plot;
    526529    t_graphWin* graphWin = new t_graphWin(0, fileName, plots, 0, 0);
    527 
    528530    graphWin->show();
    529531
Note: See TracChangeset for help on using the changeset viewer.