- Timestamp:
- Feb 15, 2008, 4:45:55 PM (17 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r688 r692 108 108 _inspSegm = 50; 109 109 if ( settings.value("obsRate").toString().isEmpty() ) { _inspSegm = 0; } 110 if ( settings.value("obsRate").toString().indexOf("5 Hz") != -1 ) { _inspSegm = 2; } 110 111 if ( settings.value("obsRate").toString().indexOf("1 Hz") != -1 ) { _inspSegm = 10; } 111 112 if ( settings.value("obsRate").toString().indexOf("0.5 Hz") != -1 ) { _inspSegm = 20; } 112 113 if ( settings.value("obsRate").toString().indexOf("0.2 Hz") != -1 ) { _inspSegm = 40; } 113 114 if ( settings.value("obsRate").toString().indexOf("0.1 Hz") != -1 ) { _inspSegm = 50; } 115 printf("%d\n",_inspSegm); 114 116 _adviseFail = settings.value("adviseFail").toInt(); 115 117 _adviseReco = settings.value("adviseReco").toInt(); -
trunk/BNC/bncwindow.cpp
r689 r692 156 156 _obsRateComboBox->setMaximumWidth(9*ww); 157 157 _obsRateComboBox->setEditable(false); 158 _obsRateComboBox->addItems(QString(",0.1 Hz,0.2 Hz,0.5 Hz,1 Hz ").split(","));158 _obsRateComboBox->addItems(QString(",0.1 Hz,0.2 Hz,0.5 Hz,1 Hz,5 Hz").split(",")); 159 159 int kk = _obsRateComboBox->findText(settings.value("obsRate").toString()); 160 160 if (kk != -1) {
Note:
See TracChangeset
for help on using the changeset viewer.