src/eric7/Preferences/ConfigurationPages/DebuggerGeneralPage.py

branch
eric7
changeset 10980
40e1979abdb7
parent 10935
680150fd2b8c
child 11000
f8371a2dd08f
equal deleted inserted replaced
10979:960fe726594c 10980:40e1979abdb7
365 """ a valid IP v4 or IP v6 address.""" 365 """ a valid IP v4 or IP v6 address."""
366 """ Aborting...</p>""" 366 """ Aborting...</p>"""
367 ).format(allowedHost), 367 ).format(allowedHost),
368 ) 368 )
369 369
370 @pyqtSlot(bool)
371 def on_passiveDbgGroup_toggled(self, checked):
372 """
373 Private slot to handle a change of the checked state of the passive debugging
374 option.
375
376 @param checked checked state
377 @type bool
378 """
379 if checked:
380 # Only one of passive debugging or remote debugging or none must be
381 # selected.
382 self.remoteDebuggerGroup.setChecked(False)
383
384 @pyqtSlot(bool)
385 def on_remoteDebuggerGroup_toggled(self, checked):
386 """
387 Private slot to handle a change of the checked state of the remote debugging
388 option.
389
390 @param checked checked state
391 @type bool
392 """
393 if checked:
394 # Only one of passive debugging or remote debugging or none must be
395 # selected.
396 self.passiveDbgGroup.setChecked(False)
397
370 398
371 class PreviewModel(QAbstractItemModel): 399 class PreviewModel(QAbstractItemModel):
372 """ 400 """
373 Class to show an example of the selected background colours for the debug 401 Class to show an example of the selected background colours for the debug
374 viewer. 402 viewer.

eric ide

mercurial