- Timestamp:
- Jan 4, 2009, 11:55:29 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncwindow.cpp
r1438 r1439 68 68 connect((bncApp*)qApp, SIGNAL(newMessage(QByteArray,bool)), 69 69 this, SLOT(slotWindowMessage(QByteArray,bool))); 70 71 QPalette palette; 70 72 71 73 // Create Actions … … 235 237 _serialPortNameLineEdit = new QLineEdit(settings.value("serialPortName").toString()); 236 238 _serialMountPointLineEdit = new QLineEdit(settings.value("serialMountPoint").toString()); 239 237 240 238 241 _serialBaudRateComboBox = new QComboBox(); … … 372 375 aogroup->addTab(rgroup,tr("Miscellaneous")); 373 376 377 // Proxy 378 // ---- 374 379 QGridLayout* pLayout = new QGridLayout; 375 380 pLayout->setColumnMinimumWidth(0,13*ww); … … 383 388 pLayout->addWidget(new QLabel(" "),5,0); 384 389 pgroup->setLayout(pLayout); 390 391 392 connect(_proxyHostLineEdit, SIGNAL(textChanged(const QString &)), 393 this, SLOT(bncText(const QString &))); 394 if (_proxyHostLineEdit->text().isEmpty()) { 395 palette.setColor(_proxyPortLineEdit->backgroundRole(), Qt::lightGray); 396 _proxyPortLineEdit->setPalette(palette); 397 _proxyPortLineEdit->setEnabled(false); 398 } 385 399 400 // General 401 // ------- 386 402 QGridLayout* gLayout = new QGridLayout; 387 403 gLayout->setColumnMinimumWidth(0,14*ww); … … 398 414 ggroup->setLayout(gLayout); 399 415 416 // Feed Engine 417 // ----------- 400 418 QGridLayout* sLayout = new QGridLayout; 401 419 sLayout->setColumnMinimumWidth(0,14*ww); … … 414 432 sgroup->setLayout(sLayout); 415 433 434 connect(_outPortLineEdit, SIGNAL(textChanged(const QString &)), 435 this, SLOT(bncText(const QString &))); 436 if (_outPortLineEdit->text().isEmpty()) { 437 palette.setColor(_waitTimeSpinBox->backgroundRole(), Qt::lightGray); 438 _waitTimeSpinBox->setPalette(palette); 439 palette.setColor(_outUPortLineEdit->backgroundRole(), Qt::lightGray); 440 _outUPortLineEdit->setPalette(palette); 441 palette.setColor(_outFileLineEdit->backgroundRole(), Qt::lightGray); 442 _outFileLineEdit->setPalette(palette); 443 palette.setColor(_binSamplSpinBox->backgroundRole(), Qt::lightGray); 444 _binSamplSpinBox->setPalette(palette); 445 _waitTimeSpinBox->setEnabled(false); 446 _outUPortLineEdit->setEnabled(false); 447 _outFileLineEdit->setEnabled(false); 448 _binSamplSpinBox->setEnabled(false); 449 } 450 451 // RINEX Ephemeris 452 // --------------- 416 453 QGridLayout* eLayout = new QGridLayout; 417 454 eLayout->setColumnMinimumWidth(0,14*ww); … … 428 465 egroup->setLayout(eLayout); 429 466 467 connect(_ephPathLineEdit, SIGNAL(textChanged(const QString &)), 468 this, SLOT(bncText(const QString &))); 469 if (_ephPathLineEdit->text().isEmpty()) { 470 palette.setColor(_ephIntrComboBox->backgroundRole(), Qt::lightGray); 471 _ephIntrComboBox->setPalette(palette); 472 palette.setColor(_outEphPortLineEdit->backgroundRole(), Qt::lightGray); 473 _outEphPortLineEdit->setPalette(palette); 474 palette.setColor(_ephV3CheckBox->backgroundRole(), Qt::lightGray); 475 _ephV3CheckBox->setPalette(palette); 476 _ephIntrComboBox->setEnabled(false); 477 _outEphPortLineEdit->setEnabled(false); 478 _ephV3CheckBox->setEnabled(false); 479 } 480 481 // Outages 482 // ------- 430 483 QGridLayout* aLayout = new QGridLayout; 431 484 aLayout->setColumnMinimumWidth(0,14*ww); … … 443 496 agroup->setLayout(aLayout); 444 497 498 connect(_obsRateComboBox, SIGNAL(currentIndexChanged(const QString &)), 499 this, SLOT(bncText(const QString))); 500 if (_obsRateComboBox->currentText().isEmpty()) { 501 palette.setColor(_adviseFailSpinBox->backgroundRole(), Qt::lightGray); 502 _adviseFailSpinBox->setPalette(palette); 503 palette.setColor(_adviseRecoSpinBox->backgroundRole(), Qt::lightGray); 504 _adviseRecoSpinBox->setPalette(palette); 505 palette.setColor(_makePauseCheckBox->backgroundRole(), Qt::lightGray); 506 _makePauseCheckBox->setPalette(palette); 507 palette.setColor(_adviseScriptLineEdit->backgroundRole(), Qt::lightGray); 508 _adviseScriptLineEdit->setPalette(palette); 509 _adviseFailSpinBox->setEnabled(false); 510 _adviseRecoSpinBox->setEnabled(false); 511 _makePauseCheckBox->setEnabled(false); 512 _adviseScriptLineEdit->setEnabled(false); 513 } 514 515 // Miscellaneous 516 // ------------- 445 517 QGridLayout* rLayout = new QGridLayout; 446 518 rLayout->setColumnMinimumWidth(0,14*ww); … … 456 528 rgroup->setLayout(rLayout); 457 529 530 connect(_miscMountLineEdit, SIGNAL(textChanged(const QString &)), 531 this, SLOT(bncText(const QString &))); 532 if (_miscMountLineEdit->text().isEmpty()) { 533 palette.setColor(_perfIntrComboBox->backgroundRole(), Qt::lightGray); 534 _perfIntrComboBox->setPalette(palette); 535 palette.setColor(_scanRTCMCheckBox->backgroundRole(), Qt::lightGray); 536 _scanRTCMCheckBox->setPalette(palette); 537 _perfIntrComboBox->setEnabled(false); 538 _scanRTCMCheckBox->setEnabled(false); 539 } 540 541 // RINEX Observations 542 // ------------------ 458 543 QGridLayout* oLayout = new QGridLayout; 459 544 oLayout->setColumnMinimumWidth(0,14*ww); … … 472 557 oLayout->addWidget(new QLabel("Saving RINEX observation files."),5,0,1,12, Qt::AlignLeft); 473 558 ogroup->setLayout(oLayout); 474 559 560 connect(_rnxPathLineEdit, SIGNAL(textChanged(const QString &)), 561 this, SLOT(bncText(const QString &))); 562 if (_rnxPathLineEdit->text().isEmpty()) { 563 palette.setColor(_rnxIntrComboBox->backgroundRole(), Qt::lightGray); 564 _rnxIntrComboBox->setPalette(palette); 565 palette.setColor(_rnxSamplSpinBox->backgroundRole(), Qt::lightGray); 566 _rnxSamplSpinBox->setPalette(palette); 567 palette.setColor(_rnxSkelLineEdit->backgroundRole(), Qt::lightGray); 568 _rnxSkelLineEdit->setPalette(palette); 569 palette.setColor(_rnxScrpLineEdit->backgroundRole(), Qt::lightGray); 570 _rnxScrpLineEdit->setPalette(palette); 571 palette.setColor(_rnxV3CheckBox->backgroundRole(), Qt::lightGray); 572 _rnxV3CheckBox->setPalette(palette); 573 _rnxIntrComboBox->setEnabled(false); 574 _rnxSamplSpinBox->setEnabled(false); 575 _rnxSkelLineEdit->setEnabled(false); 576 _rnxScrpLineEdit->setEnabled(false); 577 _rnxV3CheckBox->setEnabled(false); 578 } 579 580 // Ephemeris Corrections 581 // --------------------- 475 582 QGridLayout* cLayout = new QGridLayout; 476 583 cLayout->setColumnMinimumWidth(0,14*ww); … … 488 595 cgroup->setLayout(cLayout); 489 596 597 connect(_corrPathLineEdit, SIGNAL(textChanged(const QString &)), 598 this, SLOT(bncText(const QString &))); 599 if (_corrPathLineEdit->text().isEmpty()) { 600 palette.setColor(_corrIntrComboBox->backgroundRole(), Qt::lightGray); 601 _corrIntrComboBox->setPalette(palette); 602 palette.setColor(_corrPortLineEdit->backgroundRole(), Qt::lightGray); 603 _corrPortLineEdit->setPalette(palette); 604 palette.setColor(_corrTimeSpinBox->backgroundRole(), Qt::lightGray); 605 _corrTimeSpinBox->setPalette(palette); 606 _corrIntrComboBox->setEnabled(false); 607 _corrPortLineEdit->setEnabled(false); 608 _corrTimeSpinBox->setEnabled(false); 609 } 610 611 // Serial Link 612 // ----------- 490 613 QGridLayout* serLayout = new QGridLayout; 491 614 serLayout->setColumnMinimumWidth(0,14*ww); … … 506 629 serLayout->addWidget(new QLabel("Serial port settings to feed a serial connected device."),5,0,1,30); 507 630 631 connect(_serialMountPointLineEdit, SIGNAL(textChanged(const QString &)), 632 this, SLOT(bncText(const QString &))); 633 if (_serialMountPointLineEdit->text().isEmpty()) { 634 palette.setColor(_serialPortNameLineEdit->backgroundRole(), Qt::lightGray); 635 _serialPortNameLineEdit->setPalette(palette); 636 palette.setColor(_serialBaudRateComboBox->backgroundRole(), Qt::lightGray); 637 _serialBaudRateComboBox->setPalette(palette); 638 palette.setColor(_serialParityComboBox->backgroundRole(), Qt::lightGray); 639 _serialParityComboBox->setPalette(palette); 640 palette.setColor(_serialDataBitsComboBox->backgroundRole(), Qt::lightGray); 641 _serialDataBitsComboBox->setPalette(palette); 642 palette.setColor(_serialStopBitsComboBox->backgroundRole(), Qt::lightGray); 643 _serialStopBitsComboBox->setPalette(palette); 644 palette.setColor(_serialAutoNMEACheckBox->backgroundRole(), Qt::lightGray); 645 _serialAutoNMEACheckBox->setPalette(palette); 646 _serialPortNameLineEdit->setEnabled(false); 647 _serialBaudRateComboBox->setEnabled(false); 648 _serialParityComboBox->setEnabled(false); 649 _serialDataBitsComboBox->setEnabled(false); 650 _serialStopBitsComboBox->setEnabled(false); 651 _serialAutoNMEACheckBox->setEnabled(false); 652 } 653 508 654 sergroup->setLayout(serLayout); 509 655 510 //QVBoxLayout* mLayout = new QVBoxLayout;511 //mLayout->addWidget(aogroup);512 //mLayout->addWidget(_mountPointsTable);513 //mLayout->addWidget(_log);514 656 QGridLayout* mLayout = new QGridLayout; 515 657 aogroup->setCurrentIndex(settings.value("startTab").toInt()); … … 973 1115 } 974 1116 975 // 1117 // Toolbar 976 1118 //////////////////////////////////////////////////////////////////////////// 977 1119 void bncWindow::AddToolbar() { … … 987 1129 toolBar->addWidget(new QLabel(" ")); 988 1130 toolBar->addAction(_actwhatsthis); 989 } 990 991 // 1131 } 1132 1133 // About 992 1134 //////////////////////////////////////////////////////////////////////////// 993 1135 bncAboutDlg::bncAboutDlg(QWidget* parent) : … … 1022 1164 }; 1023 1165 1024 // 1166 // Flowchart 1025 1167 //////////////////////////////////////////////////////////////////////////// 1026 1168 bncFlowchartDlg::bncFlowchartDlg(QWidget* parent) : … … 1047 1189 }; 1048 1190 1191 // Bnc Text 1192 //////////////////////////////////////////////////////////////////////////// 1193 void bncWindow::bncText(const QString &text){ 1194 1195 bool isEmpty = text.isEmpty(); 1196 1197 QPalette palette; 1198 1199 // Proxy 1200 //------ 1201 if (aogroup->currentIndex() == 0) { 1202 if (!isEmpty) { 1203 palette.setColor(_proxyPortLineEdit->backgroundRole(), Qt::white); 1204 _proxyPortLineEdit->setPalette(palette); 1205 _proxyPortLineEdit->setEnabled(true); 1206 } else { 1207 palette.setColor(_proxyPortLineEdit->backgroundRole(), Qt::lightGray); 1208 _proxyPortLineEdit->setPalette(palette); 1209 _proxyPortLineEdit->setEnabled(false); 1210 } 1211 } 1212 1213 // RINEX Observations 1214 // ------------------ 1215 if (aogroup->currentIndex() == 2) { 1216 if (!isEmpty) { 1217 palette.setColor(_rnxIntrComboBox->backgroundRole(), Qt::white); 1218 _rnxIntrComboBox->setPalette(palette); 1219 palette.setColor(_rnxSamplSpinBox->backgroundRole(), Qt::white); 1220 _rnxSamplSpinBox->setPalette(palette); 1221 palette.setColor(_rnxSkelLineEdit->backgroundRole(), Qt::white); 1222 _rnxSkelLineEdit->setPalette(palette); 1223 palette.setColor(_rnxScrpLineEdit->backgroundRole(), Qt::white); 1224 _rnxScrpLineEdit->setPalette(palette); 1225 palette.setColor(_rnxV3CheckBox->backgroundRole(), Qt::white); 1226 _rnxV3CheckBox->setPalette(palette); 1227 _rnxIntrComboBox->setEnabled(true); 1228 _rnxSamplSpinBox->setEnabled(true); 1229 _rnxSkelLineEdit->setEnabled(true); 1230 _rnxScrpLineEdit->setEnabled(true); 1231 _rnxV3CheckBox->setEnabled(true); 1232 } else { 1233 palette.setColor(_rnxIntrComboBox->backgroundRole(), Qt::lightGray); 1234 _rnxIntrComboBox->setPalette(palette); 1235 palette.setColor(_rnxSkelLineEdit->backgroundRole(), Qt::lightGray); 1236 _rnxSkelLineEdit->setPalette(palette); 1237 palette.setColor(_rnxScrpLineEdit->backgroundRole(), Qt::lightGray); 1238 _rnxScrpLineEdit->setPalette(palette); 1239 palette.setColor(_rnxV3CheckBox->backgroundRole(), Qt::lightGray); 1240 _rnxV3CheckBox->setPalette(palette); 1241 palette.setColor(_rnxSamplSpinBox->backgroundRole(), Qt::lightGray); 1242 _rnxSamplSpinBox->setPalette(palette); 1243 _rnxIntrComboBox->setEnabled(false); 1244 _rnxSamplSpinBox->setEnabled(false); 1245 _rnxSkelLineEdit->setEnabled(false); 1246 _rnxScrpLineEdit->setEnabled(false); 1247 _rnxV3CheckBox->setEnabled(false); 1248 } 1249 } 1250 1251 // RINEX Ephemeris 1252 // --------------- 1253 if (aogroup->currentIndex() == 3) { 1254 if (!isEmpty) { 1255 _ephIntrComboBox->setPalette(palette); 1256 palette.setColor(_outEphPortLineEdit->backgroundRole(), Qt::white); 1257 _outEphPortLineEdit->setPalette(palette); 1258 palette.setColor(_ephV3CheckBox->backgroundRole(), Qt::white); 1259 _ephV3CheckBox->setPalette(palette); 1260 _ephIntrComboBox->setEnabled(false); 1261 _ephIntrComboBox->setEnabled(true); 1262 _outEphPortLineEdit->setEnabled(true); 1263 _ephV3CheckBox->setEnabled(true); 1264 } else { 1265 _ephIntrComboBox->setPalette(palette); 1266 palette.setColor(_outEphPortLineEdit->backgroundRole(), Qt::lightGray); 1267 _outEphPortLineEdit->setPalette(palette); 1268 palette.setColor(_ephV3CheckBox->backgroundRole(), Qt::lightGray); 1269 _ephV3CheckBox->setPalette(palette); 1270 _ephIntrComboBox->setEnabled(false); 1271 _ephIntrComboBox->setEnabled(false); 1272 _outEphPortLineEdit->setEnabled(false); 1273 _ephV3CheckBox->setEnabled(false); 1274 } 1275 } 1276 1277 // Ephemeris Corrections 1278 // --------------------- 1279 if (aogroup->currentIndex() == 4) { 1280 if (!isEmpty) { 1281 palette.setColor(_corrIntrComboBox->backgroundRole(), Qt::white); 1282 _corrIntrComboBox->setPalette(palette); 1283 palette.setColor(_corrPortLineEdit->backgroundRole(), Qt::white); 1284 _corrPortLineEdit->setPalette(palette); 1285 palette.setColor(_corrTimeSpinBox->backgroundRole(), Qt::white); 1286 _corrTimeSpinBox->setPalette(palette); 1287 _corrIntrComboBox->setEnabled(true); 1288 _corrPortLineEdit->setEnabled(true); 1289 _corrTimeSpinBox->setEnabled(true); 1290 } else { 1291 palette.setColor(_corrIntrComboBox->backgroundRole(), Qt::lightGray); 1292 _corrIntrComboBox->setPalette(palette); 1293 palette.setColor(_corrPortLineEdit->backgroundRole(), Qt::lightGray); 1294 _corrPortLineEdit->setPalette(palette); 1295 palette.setColor(_corrTimeSpinBox->backgroundRole(), Qt::lightGray); 1296 _corrTimeSpinBox->setPalette(palette); 1297 _corrIntrComboBox->setEnabled(false); 1298 _corrPortLineEdit->setEnabled(false); 1299 _corrTimeSpinBox->setEnabled(false); 1300 } 1301 } 1302 1303 // Feed Engine 1304 // ----------- 1305 if (aogroup->currentIndex() == 5) { 1306 if (!isEmpty) { 1307 palette.setColor(_outUPortLineEdit->backgroundRole(), Qt::white); 1308 _outUPortLineEdit->setPalette(palette); 1309 palette.setColor(_outFileLineEdit->backgroundRole(), Qt::white); 1310 _outFileLineEdit->setPalette(palette); 1311 palette.setColor(_waitTimeSpinBox->backgroundRole(), Qt::white); 1312 _waitTimeSpinBox->setPalette(palette); 1313 palette.setColor(_binSamplSpinBox->backgroundRole(), Qt::white); 1314 _binSamplSpinBox->setPalette(palette); 1315 _waitTimeSpinBox->setEnabled(true); 1316 _outUPortLineEdit->setEnabled(true); 1317 _outFileLineEdit->setEnabled(true); 1318 _binSamplSpinBox->setEnabled(true); 1319 } else { 1320 palette.setColor(_outUPortLineEdit->backgroundRole(), Qt::lightGray); 1321 _outUPortLineEdit->setPalette(palette); 1322 palette.setColor(_outFileLineEdit->backgroundRole(), Qt::lightGray); 1323 _outFileLineEdit->setPalette(palette); 1324 palette.setColor(_waitTimeSpinBox->backgroundRole(), Qt::lightGray); 1325 _waitTimeSpinBox->setPalette(palette); 1326 palette.setColor(_binSamplSpinBox->backgroundRole(), Qt::lightGray); 1327 _binSamplSpinBox->setPalette(palette); 1328 _waitTimeSpinBox->setEnabled(false); 1329 _outUPortLineEdit->setEnabled(false); 1330 _outFileLineEdit->setEnabled(false); 1331 _binSamplSpinBox->setEnabled(false); 1332 } 1333 } 1334 1335 // Serial Link 1336 // ----------- 1337 if (aogroup->currentIndex() == 6) { 1338 if (!isEmpty) { 1339 palette.setColor(_serialPortNameLineEdit->backgroundRole(), Qt::white); 1340 _serialPortNameLineEdit->setPalette(palette); 1341 palette.setColor(_serialBaudRateComboBox->backgroundRole(), Qt::white); 1342 _serialBaudRateComboBox->setPalette(palette); 1343 palette.setColor(_serialParityComboBox->backgroundRole(), Qt::white); 1344 _serialParityComboBox->setPalette(palette); 1345 palette.setColor(_serialDataBitsComboBox->backgroundRole(), Qt::white); 1346 _serialDataBitsComboBox->setPalette(palette); 1347 palette.setColor(_serialStopBitsComboBox->backgroundRole(), Qt::white); 1348 _serialStopBitsComboBox->setPalette(palette); 1349 palette.setColor(_serialAutoNMEACheckBox->backgroundRole(), Qt::white); 1350 _serialAutoNMEACheckBox->setPalette(palette); 1351 _serialPortNameLineEdit->setEnabled(true); 1352 _serialBaudRateComboBox->setEnabled(true); 1353 _serialParityComboBox->setEnabled(true); 1354 _serialDataBitsComboBox->setEnabled(true); 1355 _serialStopBitsComboBox->setEnabled(true); 1356 _serialAutoNMEACheckBox->setEnabled(true); 1357 } else { 1358 palette.setColor(_serialPortNameLineEdit->backgroundRole(), Qt::lightGray); 1359 _serialPortNameLineEdit->setPalette(palette); 1360 palette.setColor(_serialBaudRateComboBox->backgroundRole(), Qt::lightGray); 1361 _serialBaudRateComboBox->setPalette(palette); 1362 palette.setColor(_serialParityComboBox->backgroundRole(), Qt::lightGray); 1363 _serialParityComboBox->setPalette(palette); 1364 palette.setColor(_serialDataBitsComboBox->backgroundRole(), Qt::lightGray); 1365 _serialDataBitsComboBox->setPalette(palette); 1366 palette.setColor(_serialStopBitsComboBox->backgroundRole(), Qt::lightGray); 1367 _serialStopBitsComboBox->setPalette(palette); 1368 palette.setColor(_serialAutoNMEACheckBox->backgroundRole(), Qt::lightGray); 1369 _serialAutoNMEACheckBox->setPalette(palette); 1370 _serialPortNameLineEdit->setEnabled(false); 1371 _serialBaudRateComboBox->setEnabled(false); 1372 _serialParityComboBox->setEnabled(false); 1373 _serialDataBitsComboBox->setEnabled(false); 1374 _serialStopBitsComboBox->setEnabled(false); 1375 _serialAutoNMEACheckBox->setEnabled(false); 1376 } 1377 } 1378 1379 // Outages 1380 // ------- 1381 if (aogroup->currentIndex() == 7) { 1382 if (!isEmpty) { 1383 palette.setColor(_adviseScriptLineEdit->backgroundRole(), Qt::white); 1384 _adviseScriptLineEdit->setPalette(palette); 1385 palette.setColor(_adviseFailSpinBox->backgroundRole(), Qt::white); 1386 _adviseFailSpinBox->setPalette(palette); 1387 palette.setColor(_adviseRecoSpinBox->backgroundRole(), Qt::white); 1388 _adviseRecoSpinBox->setPalette(palette); 1389 palette.setColor(_makePauseCheckBox->backgroundRole(), Qt::white); 1390 _makePauseCheckBox->setPalette(palette); 1391 _adviseFailSpinBox->setEnabled(true); 1392 _adviseRecoSpinBox->setEnabled(true); 1393 _makePauseCheckBox->setEnabled(true); 1394 _adviseScriptLineEdit->setEnabled(true); 1395 } else { 1396 palette.setColor(_adviseScriptLineEdit->backgroundRole(), Qt::lightGray); 1397 _adviseScriptLineEdit->setPalette(palette); 1398 palette.setColor(_adviseFailSpinBox->backgroundRole(), Qt::lightGray); 1399 _adviseFailSpinBox->setPalette(palette); 1400 palette.setColor(_adviseRecoSpinBox->backgroundRole(), Qt::lightGray); 1401 _adviseRecoSpinBox->setPalette(palette); 1402 palette.setColor(_makePauseCheckBox->backgroundRole(), Qt::lightGray); 1403 _makePauseCheckBox->setPalette(palette); 1404 _adviseFailSpinBox->setEnabled(false); 1405 _adviseRecoSpinBox->setEnabled(false); 1406 _makePauseCheckBox->setEnabled(false); 1407 _adviseScriptLineEdit->setEnabled(false); 1408 } 1409 } 1410 1411 // Miscellaneous 1412 // ------------- 1413 if (aogroup->currentIndex() == 8) { 1414 if (!isEmpty) { 1415 palette.setColor(_perfIntrComboBox->backgroundRole(), Qt::white); 1416 _perfIntrComboBox->setPalette(palette); 1417 palette.setColor(_scanRTCMCheckBox->backgroundRole(), Qt::white); 1418 _scanRTCMCheckBox->setPalette(palette); 1419 _perfIntrComboBox->setEnabled(true); 1420 _scanRTCMCheckBox->setEnabled(true); 1421 } else { 1422 palette.setColor(_perfIntrComboBox->backgroundRole(), Qt::lightGray); 1423 _perfIntrComboBox->setPalette(palette); 1424 palette.setColor(_scanRTCMCheckBox->backgroundRole(), Qt::lightGray); 1425 _scanRTCMCheckBox->setPalette(palette); 1426 _perfIntrComboBox->setEnabled(false); 1427 _scanRTCMCheckBox->setEnabled(false); 1428 } 1429 } 1430 } 1431 -
trunk/BNC/bncwindow.h
r1340 r1439 59 59 public slots: 60 60 void slotMountPointsRead(QList<bncGetThread*>); 61 void bncText(const QString &text); 61 62 62 63 private slots:
Note:
See TracChangeset
for help on using the changeset viewer.