Changeset 6607 in ntrip for trunk


Ignore:
Timestamp:
Feb 20, 2015, 2:58:01 PM (10 years ago)
Author:
stuerze
Message:

some gui preparation for sinex_tro file output

Location:
trunk/BNC/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncoutf.cpp

    r6331 r6607  
    108108    dayOfWeek = 0;
    109109  }
     110  int dayOfYear = datTim.date().dayOfYear();
     111
     112  QString yyyy     = QString::number(datTim.date().year());
     113  QString doy      = QString("%1%2").arg(dayOfYear,3,10, QLatin1Char('0')).arg(0);
    110114  QString gpswd    = QString("%1%2").arg(GPSweek).arg(dayOfWeek);
    111115  QString epoStr   = epochStr(datTim, _intr);
    112116  QString baseName = _sklBaseName;
    113117  baseName.replace("${GPSWD}", gpswd);
    114   baseName.replace("${DATE}",  datTim.date().toString(Qt::ISODate));
    115 
     118  baseName.replace("${DATE}" , datTim.date().toString(Qt::ISODate));
     119  baseName.replace("${DOY}"  , doy);
     120  _extension.replace("${YY}" , yyyy.right(2));
    116121  return _path + baseName + epoStr + _extension;
    117122}
  • trunk/BNC/src/bncwindow.cpp

    r6570 r6607  
    851851  pppLayout1->addWidget(new QLabel("ANTEX"),              ir, 0, Qt::AlignLeft);
    852852  pppLayout1->addWidget(_pppWidgets._antexFile,           ir, 1, 1, 2);
     853
    853854  pppLayout1->addWidget(new QLabel("NMEA File"),          ir, 4, Qt::AlignLeft);
    854855  pppLayout1->addWidget(_pppWidgets._nmeaFile,            ir, 5);
    855856  pppLayout1->addWidget(new QLabel("Port"),               ir, 6, Qt::AlignLeft);
    856857  pppLayout1->addWidget(_pppWidgets._nmeaPort,            ir, 7); _pppWidgets._nmeaPort->setMaximumWidth(8*ww);
     858  ++ir;
     859  pppLayout1->addWidget(new QLabel("SNX TRO File"),       ir, 4, Qt::AlignLeft);
     860  pppLayout1->addWidget(_pppWidgets._snxtroFile,          ir, 5);
     861  pppLayout1->addWidget(new QLabel("Sampling"),           ir, 6, Qt::AlignLeft);
     862  pppLayout1->addWidget(_pppWidgets._snxtroSampl,         ir, 7);
    857863
    858864  pppLayout1->addItem(new QSpacerItem(4*ww, 0),           ir, 8);
  • trunk/BNC/src/pppWidgets.cpp

    r6045 r6607  
    6161  _logFile      = new QLineEdit();     _logFile     ->setObjectName("PPP/logFile");      _widgets << _logFile;     
    6262  _nmeaFile     = new QLineEdit();     _nmeaFile    ->setObjectName("PPP/nmeaFile");     _widgets << _nmeaFile;   
    63   _nmeaPort     = new QLineEdit();     _nmeaPort    ->setObjectName("PPP/nmeaPort");     _widgets << _nmeaPort;   
     63  _nmeaPort     = new QLineEdit();     _nmeaPort    ->setObjectName("PPP/nmeaPort");     _widgets << _nmeaPort;
     64  _snxtroFile   = new QLineEdit();     _snxtroFile  ->setObjectName("PPP/snxtroFile");   _widgets << _snxtroFile;
     65  _snxtroSampl  = new QSpinBox();      _snxtroSampl ->setObjectName("PPP/snxtroSampl");  _widgets << _snxtroSampl;
    6466  _staTable     = new QTableWidget();  _staTable    ->setObjectName("PPP/staTable");     _widgets << _staTable;   
    6567  _lcGPS        = new QComboBox();     _lcGPS       ->setObjectName("PPP/lcGPS");        _widgets << _lcGPS;       
     
    100102  _lcGalileo->setEditable(false);
    101103  _lcGalileo->addItems(QString("no,P3,L3,P3&L3").split(","));
     104
     105  _snxtroSampl->setMinimum(0);
     106  _snxtroSampl->setMaximum(300);
     107  _snxtroSampl->setSingleStep(30);
     108  _snxtroSampl->setSuffix(" sec");
    102109
    103110  _minObs->setMinimum(4);
  • trunk/BNC/src/pppWidgets.h

    r6039 r6607  
    4747  QLineEdit*     _nmeaFile;
    4848  QLineEdit*     _nmeaPort;
     49  QLineEdit*     _snxtroFile;
     50  QSpinBox*      _snxtroSampl;
    4951  QTableWidget*  _staTable;
    5052  QComboBox*     _lcGPS;
Note: See TracChangeset for help on using the changeset viewer.