Changeset 9572 in ntrip for trunk


Ignore:
Timestamp:
Dec 16, 2021, 4:24:52 PM (2 years ago)
Author:
stuerze
Message:

some outdated qt methods are removed

File:
1 edited

Legend:

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

    r9565 r9572  
    131131  _mapWin = 0;
    132132
    133   int ww = QFontMetrics(this->font()).width('w');
     133  int ww = QFontMetrics(this->font()).horizontalAdvance('w');
    134134
    135135  static const QStringList labels = QString("account, Streams:   resource loader / mountpoint, decoder, country, lat, long, nmea, ntrip, bytes").split(",");
     
    14531453  _pppWidgets._modelObs->setWhatsThis(tr("<p>Specify which kind of PPP model you want to use:</p><p><ul><li>Iopnosphere-free PPP</li><li>Uncombined PPP</li><li>PPP-RTK (recommended for test purposes only because of an incomplete standardized SSR model)</li><li>DCM with Code or Phase Biases</li><li></p><p>[key: PPP/modelObs]</i></p>"));
    14541454  _pppWidgets._pseudoObs->setWhatsThis(tr("<p>Specify which kind of pseudo observations you want to use. Please note, pseudo observations regarding the Ionosphere are useful, as soon as the ionospheric information is more accurate than the code data accuracy. <i>[key: PPP/pseudoObs]</i></p>"));
    1455   _pppWidgets._sigmaC1->setWhatsThis(tr("<p>Enter a Sigma for GNSS C1 code observations in meters.</p><p>The higher the sigma you enter, the less the contribution of C1 code observations to a PPP solution from combined code and phase data. 2.0 is likely to be an appropriate choice.</p><p>Default is an empty option field, meaning<br>'Sigma C1 = 2.0' <i>[key: PPP/sigmaC1]</i></p>"));
    1456   _pppWidgets._sigmaL1->setWhatsThis(tr("<p>Enter a Sigma for GNSS L1 phase observations in meters.</p><p>The higher the sigma you enter, the less the contribution of L1 phase observations to a PPP solutions from combined code and phase data. 0.02 is likely to be an appropriate choice.</p><p>Default is an empty option field, meaning<br>'Sigma L1 = 0.02' <i>[key: PPP/sigmaL1]</i></p>"));
     1455  _pppWidgets._sigmaC1->setWhatsThis(tr("<p>Enter a Sigma for GPS C1 code observations in meters.</p><p>The higher the sigma you enter, the less the contribution of GPS C1 code observations to a PPP solution from combined code and phase data. 2.0 is likely to be an appropriate choice.</p><p>Default is an empty option field, meaning<br>'Sigma C1 = 2.0' <i>[key: PPP/sigmaC1]</i></p>"));
     1456  _pppWidgets._sigmaL1->setWhatsThis(tr("<p>Enter a Sigma for GPS L1 phase observations in meters.</p><p>The higher the sigma you enter, the less the contribution of GPS L1 phase observations to a PPP solutions from combined code and phase data. 0.02 is likely to be an appropriate choice.</p><p>Default is an empty option field, meaning<br>'Sigma L1 = 0.02' <i>[key: PPP/sigmaL1]</i></p>"));
    14571457  _pppWidgets._sigmaGIM->setWhatsThis(tr("<p>Enter a Sigma for GIM pseudo observations in meters.</p><p>The higher the sigma you enter, the less the contribution of GIM pseudo observations to a PPP solution. 5.0 is likely to be an appropriate choice.</p><p>Default is an empty option field, meaning<br>'Sigma GIM = 5.0' <i>[key: PPP/sigmaGIM]</i></p>"));
    14581458  _pppWidgets._maxResC1->setWhatsThis(tr("<p>Specify a maximum for residuals from GPS C1 code observations in a PPP solution. '3.0' meters may be an appropriate choice for that.</p><p>If the maximum is exceeded, contributions from the corresponding observation will be ignored in the PPP solution.</p><p>Default is an empty option field, meaning<br>'Max Res C1 = 3.0' <i>[key: PPP/maxResC1]</i></p>"));
     
    15111511  // ---------------------
    15121512  _log->setWhatsThis(tr("<p>Records of BNC's activities are shown in the 'Log' tab. The message log covers the communication status between BNC and the Ntrip Broadcaster as well as problems that occur in the communication link, stream availability, stream delay, stream conversion etc.</p>"));
    1513   _bncFigure->setWhatsThis(tr("<p>The bandwidth consumption per stream is shown in the 'Throughput' tab in bits per second (bps) or kilobits per second (kbps).</p>"));
     1513  _bncFigure->setWhatsThis(tr("<p>The bandwith consumption per stream is shown in the 'Throughput' tab in bits per second (bps) or kilobits per second (kbps).</p>"));
    15141514  _bncFigureLate->setWhatsThis(tr("<p>The individual latency of observations of incoming streams is shown in the 'Latency' tab. Streams not carrying observations (e.g. those providing only Broadcast Ephemeris) remain unconsidered.</p><p>Note that the calculation of correct latencies requires the clock of the host computer to be properly synchronized.</p>"));
    15151515  _bncFigurePPP->setWhatsThis(tr("<p>PPP time series of North (red), East (green) and Up (blue) displacements are shown in the 'PPP Plot' tab when the corresponding option is selected.</p><p>Values are referred to an XYZ a priori coordinate. The sliding PPP time series window covers the period of the latest 5 minutes.</p>"));
     
    17931793  bool flg[nRows];
    17941794  for (int iRow = 0; iRow < nRows; iRow++) {
    1795     if (_mountPointsTable->isItemSelected(_mountPointsTable->item(iRow,1))) {
     1795    if (_mountPointsTable->item(iRow,1)->isSelected()) {
    17961796      flg[iRow] = true;
    17971797    }
     
    23412341    settings.setValue("font", newFont.toString());
    23422342    QApplication::setFont(newFont);
    2343     int ww = QFontMetrics(newFont).width('w');
     2343    int ww = QFontMetrics(newFont).horizontalAdvance('w');
    23442344    setMinimumSize(60*ww, 80*ww);
    23452345    resize(60*ww, 80*ww);
     
    24312431  tb->setReadOnly(true);
    24322432
    2433   int ww = QFontMetrics(font()).width('w');
     2433  int ww = QFontMetrics(font()).horizontalAdvance('w');
    24342434  QPushButton* _closeButton = new QPushButton("Close");
    24352435  _closeButton->setMaximumWidth(10*ww);
     
    24612461   QDialog(parent) {
    24622462
    2463   int ww = QFontMetrics(font()).width('w');
     2463  int ww = QFontMetrics(font()).horizontalAdvance('w');
    24642464  QPushButton* _closeButton = new QPushButton("Close");
    24652465  _closeButton->setMaximumWidth(10*ww);
     
    27142714  bool flg[nRows];
    27152715  for (int iRow = 0; iRow < nRows; iRow++) {
    2716     if (_cmbTable->isItemSelected(_cmbTable->item(iRow,1))) {
     2716    if (_cmbTable->item(iRow,1)->isSelected()) {
    27172717      flg[iRow] = true;
    27182718    }
     
    28202820  bool flg[nRows];
    28212821  for (int iRow = 0; iRow < nRows; iRow++) {
    2822     if (_uploadTable->isItemSelected(_uploadTable->item(iRow,1))) {
     2822    if (_uploadTable->item(iRow,1)->isSelected()) {
    28232823      flg[iRow] = true;
    28242824    }
     
    29792979  bool flg[nRows];
    29802980  for (int iRow = 0; iRow < nRows; iRow++) {
    2981     if (_uploadEphTable->isItemSelected(_uploadEphTable->item(iRow,1))) {
     2981    if (_uploadEphTable->item(iRow,1)->isSelected()) {
    29822982      flg[iRow] = true;
    29832983    }
Note: See TracChangeset for help on using the changeset viewer.