Changeset 6607 in ntrip
- Timestamp:
- Feb 20, 2015, 2:58:01 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncoutf.cpp
r6331 r6607 108 108 dayOfWeek = 0; 109 109 } 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); 110 114 QString gpswd = QString("%1%2").arg(GPSweek).arg(dayOfWeek); 111 115 QString epoStr = epochStr(datTim, _intr); 112 116 QString baseName = _sklBaseName; 113 117 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)); 116 121 return _path + baseName + epoStr + _extension; 117 122 } -
trunk/BNC/src/bncwindow.cpp
r6570 r6607 851 851 pppLayout1->addWidget(new QLabel("ANTEX"), ir, 0, Qt::AlignLeft); 852 852 pppLayout1->addWidget(_pppWidgets._antexFile, ir, 1, 1, 2); 853 853 854 pppLayout1->addWidget(new QLabel("NMEA File"), ir, 4, Qt::AlignLeft); 854 855 pppLayout1->addWidget(_pppWidgets._nmeaFile, ir, 5); 855 856 pppLayout1->addWidget(new QLabel("Port"), ir, 6, Qt::AlignLeft); 856 857 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); 857 863 858 864 pppLayout1->addItem(new QSpacerItem(4*ww, 0), ir, 8); -
trunk/BNC/src/pppWidgets.cpp
r6045 r6607 61 61 _logFile = new QLineEdit(); _logFile ->setObjectName("PPP/logFile"); _widgets << _logFile; 62 62 _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; 64 66 _staTable = new QTableWidget(); _staTable ->setObjectName("PPP/staTable"); _widgets << _staTable; 65 67 _lcGPS = new QComboBox(); _lcGPS ->setObjectName("PPP/lcGPS"); _widgets << _lcGPS; … … 100 102 _lcGalileo->setEditable(false); 101 103 _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"); 102 109 103 110 _minObs->setMinimum(4); -
trunk/BNC/src/pppWidgets.h
r6039 r6607 47 47 QLineEdit* _nmeaFile; 48 48 QLineEdit* _nmeaPort; 49 QLineEdit* _snxtroFile; 50 QSpinBox* _snxtroSampl; 49 51 QTableWidget* _staTable; 50 52 QComboBox* _lcGPS;
Note:
See TracChangeset
for help on using the changeset viewer.