Changeset 4671 in ntrip for trunk/BNC/src/rinex


Ignore:
Timestamp:
Sep 9, 2012, 9:57:07 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
2 edited

Legend:

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

    r4583 r4671  
    102102  // ------
    103103  _canvas = new QWidget(this);
    104   QHBoxLayout* plotLayout = new QHBoxLayout(_canvas);
    105   for (int ip = 0; ip < plots.size(); ip++) {
    106     plotLayout->addWidget(plots[ip]);
     104  if (plots.size() != 3) {
     105    QHBoxLayout* plotLayout = new QHBoxLayout(_canvas);
     106    for (int ip = 0; ip < plots.size(); ip++) {
     107      plotLayout->addWidget(plots[ip]);
     108    }
     109    if (_colorScale) {
     110      plotLayout->addWidget(_colorScale);
     111    }
    107112  }
    108   if (_colorScale) {
    109     plotLayout->addWidget(_colorScale);
     113  else {
     114    QHBoxLayout* plotLayout = new QHBoxLayout(_canvas);
     115    plotLayout->addWidget(plots[0]);
     116    QVBoxLayout* hlpLayout = new QVBoxLayout;
     117    hlpLayout->addWidget(plots[1]);
     118    hlpLayout->addWidget(plots[2]);
     119    plotLayout->addLayout(hlpLayout);
    110120  }
    111121
  • trunk/BNC/src/rinex/reqcanalyze.cpp

    r4669 r4671  
    577577
    578578    t_elePlot* plotZ = new t_elePlot(0, &_availDataMap);
    579     plotZ->setTitle(title);
     579
     580    t_elePlot* plotD = new t_elePlot(0, &_availDataMap);
    580581
    581582    QVector<QWidget*> plots;
    582     plots << plotA << plotZ;
     583    plots << plotA << plotZ << plotD;
    583584    t_graphWin* graphWin = new t_graphWin(0, fileName, plots, 0, 0);
    584585
Note: See TracChangeset for help on using the changeset viewer.