Changeset 6744 in ntrip
- Timestamp:
- Mar 28, 2015, 9:50:30 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/reqcdlg.cpp
r6712 r6744 267 267 void reqcDlg::slotReqcTextChanged(){ 268 268 269 const static QPalette paletteWhite(QColor(255, 255, 255)); 270 const static QPalette paletteGray(QColor(230, 230, 230)); 271 269 272 if (sender() == 0 || sender() == _reqcRnxVersion) { 270 273 if (_reqcRnxVersion->currentText() == "2") { 271 _reqcV2Priority->set StyleSheet("background-color: white");274 _reqcV2Priority->setPalette(paletteWhite); 272 275 _reqcV2Priority->setEnabled(true); 273 276 } 274 277 else { 275 _reqcV2Priority->set StyleSheet("background-color: lightGray");278 _reqcV2Priority->setPalette(paletteGray); 276 279 _reqcV2Priority->setEnabled(false); 277 280 } 278 281 } 279 282 } 283
Note:
See TracChangeset
for help on using the changeset viewer.