Changeset 6744 in ntrip


Ignore:
Timestamp:
Mar 28, 2015, 9:50:30 PM (7 years ago)
Author:
weber
Message:

Documentation completed

File:
1 edited

Legend:

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

    r6712 r6744  
    267267void reqcDlg::slotReqcTextChanged(){
    268268
     269  const static QPalette paletteWhite(QColor(255, 255, 255));
     270  const static QPalette paletteGray(QColor(230, 230, 230));
     271
    269272  if (sender() == 0 || sender() == _reqcRnxVersion) {
    270273    if (_reqcRnxVersion->currentText() == "2") {
    271       _reqcV2Priority->setStyleSheet("background-color: white");
     274      _reqcV2Priority->setPalette(paletteWhite);
    272275      _reqcV2Priority->setEnabled(true);
    273276    }
    274277    else {
    275       _reqcV2Priority->setStyleSheet("background-color: lightGray");
     278      _reqcV2Priority->setPalette(paletteGray);
    276279      _reqcV2Priority->setEnabled(false);
    277280    }
    278281  }
    279282}
     283
Note: See TracChangeset for help on using the changeset viewer.