Changeset 6789 in ntrip for trunk/BNC/src/bncwindow.cpp


Ignore:
Timestamp:
Apr 21, 2015, 10:42:49 AM (7 years ago)
Author:
weber
Message:

Documentation completed

File:
1 edited

Legend:

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

    r6785 r6789  
    763763  // -------------
    764764  QGridLayout* serLayout = new QGridLayout;
    765   serLayout->setColumnMinimumWidth(0,14*ww);
     765  serLayout->setColumnMinimumWidth(0,12*ww);
    766766  _serialBaudRateComboBox->setMaximumWidth(9*ww);
    767767  _serialFlowControlComboBox->setMaximumWidth(11*ww);
     
    769769  _serialParityComboBox->setMaximumWidth(9*ww);
    770770  _serialStopBitsComboBox->setMaximumWidth(5*ww);
    771   _serialAutoNMEAComboBox->setMaximumWidth(9*ww);
     771  _serialAutoNMEAComboBox->setMaximumWidth(14*ww);
    772772  _serialHeightNMEALineEdit->setMaximumWidth(8*ww);
    773773  _serialManualNMEASamplingSpinBox->setMaximumWidth(8*ww);
     
    790790  serLayout->addWidget(new QLabel("NMEA"),                        5, 0);
    791791  serLayout->addWidget(_serialAutoNMEAComboBox,                   5, 1);
    792   serLayout->addWidget(new QLabel("   File (full path)"),         5, 2, Qt::AlignRight);
     792  serLayout->addWidget(new QLabel("    File (full path)"),        5, 2, Qt::AlignRight);
    793793  serLayout->addWidget(_serialFileNMEALineEdit,                   5, 3, 1,10);
    794   serLayout->addWidget(new QLabel("Height"),                      5,14, Qt::AlignRight); // 20
     794  serLayout->addWidget(new QLabel("Height"),                      5,14, Qt::AlignRight);
    795795  serLayout->addWidget(_serialHeightNMEALineEdit,                 5,15, 1,11);
    796796  serLayout->addWidget(new QLabel("Sampling"),                    5,25, Qt::AlignRight);
     
    22482248    enableWidget(enable, _serialFlowControlComboBox);
    22492249    enableWidget(enable, _serialAutoNMEAComboBox);
    2250    
    22512250    bool enable2 = enable && _serialAutoNMEAComboBox->currentText() == "Auto";
    22522251    enableWidget(enable2, _serialFileNMEALineEdit);
    2253     bool enable3 = enable && _serialAutoNMEAComboBox->currentText() == "Manual GPGGA";
     2252    bool enable3 = enable && _serialAutoNMEAComboBox->currentText().contains("Manual");
    22542253    enableWidget(enable3, _serialHeightNMEALineEdit);
    22552254    enableWidget(enable3, _serialManualNMEASamplingSpinBox);
    2256     bool enable4 = enable && _serialAutoNMEAComboBox->currentText() == "Manual GNGGA";
    2257     enableWidget(enable4, _serialHeightNMEALineEdit);
    2258     enableWidget(enable4, _serialManualNMEASamplingSpinBox);
    22592255  }
    22602256
Note: See TracChangeset for help on using the changeset viewer.