- Timestamp:
- Apr 21, 2015, 10:42:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncwindow.cpp
r6785 r6789 763 763 // ------------- 764 764 QGridLayout* serLayout = new QGridLayout; 765 serLayout->setColumnMinimumWidth(0,1 4*ww);765 serLayout->setColumnMinimumWidth(0,12*ww); 766 766 _serialBaudRateComboBox->setMaximumWidth(9*ww); 767 767 _serialFlowControlComboBox->setMaximumWidth(11*ww); … … 769 769 _serialParityComboBox->setMaximumWidth(9*ww); 770 770 _serialStopBitsComboBox->setMaximumWidth(5*ww); 771 _serialAutoNMEAComboBox->setMaximumWidth( 9*ww);771 _serialAutoNMEAComboBox->setMaximumWidth(14*ww); 772 772 _serialHeightNMEALineEdit->setMaximumWidth(8*ww); 773 773 _serialManualNMEASamplingSpinBox->setMaximumWidth(8*ww); … … 790 790 serLayout->addWidget(new QLabel("NMEA"), 5, 0); 791 791 serLayout->addWidget(_serialAutoNMEAComboBox, 5, 1); 792 serLayout->addWidget(new QLabel(" File (full path)"), 792 serLayout->addWidget(new QLabel(" File (full path)"), 5, 2, Qt::AlignRight); 793 793 serLayout->addWidget(_serialFileNMEALineEdit, 5, 3, 1,10); 794 serLayout->addWidget(new QLabel("Height"), 5,14, Qt::AlignRight); // 20794 serLayout->addWidget(new QLabel("Height"), 5,14, Qt::AlignRight); 795 795 serLayout->addWidget(_serialHeightNMEALineEdit, 5,15, 1,11); 796 796 serLayout->addWidget(new QLabel("Sampling"), 5,25, Qt::AlignRight); … … 2248 2248 enableWidget(enable, _serialFlowControlComboBox); 2249 2249 enableWidget(enable, _serialAutoNMEAComboBox); 2250 2251 2250 bool enable2 = enable && _serialAutoNMEAComboBox->currentText() == "Auto"; 2252 2251 enableWidget(enable2, _serialFileNMEALineEdit); 2253 bool enable3 = enable && _serialAutoNMEAComboBox->currentText() =="ManualGPGGA";2252 bool enable3 = enable && _serialAutoNMEAComboBox->currentText().contains("Manual"); 2254 2253 enableWidget(enable3, _serialHeightNMEALineEdit); 2255 2254 enableWidget(enable3, _serialManualNMEASamplingSpinBox); 2256 bool enable4 = enable && _serialAutoNMEAComboBox->currentText() == "Manual GNGGA";2257 enableWidget(enable4, _serialHeightNMEALineEdit);2258 enableWidget(enable4, _serialManualNMEASamplingSpinBox);2259 2255 } 2260 2256
Note:
See TracChangeset
for help on using the changeset viewer.