src/eric7/Preferences/ConfigurationPages/WebBrowserPage.py

branch
eric7
changeset 10428
a071d4065202
parent 10247
81f8846b62ad
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
25 def __init__(self, configDialog): 25 def __init__(self, configDialog):
26 """ 26 """
27 Constructor 27 Constructor
28 28
29 @param configDialog reference to the configuration dialog 29 @param configDialog reference to the configuration dialog
30 (ConfigurationDialog) 30 @type ConfigurationDialog
31 """ 31 """
32 super().__init__() 32 super().__init__()
33 self.setupUi(self) 33 self.setupUi(self)
34 self.setObjectName("WebBrowserPage") 34 self.setObjectName("WebBrowserPage")
35 35
462 def on_startupCombo_currentIndexChanged(self, index): 462 def on_startupCombo_currentIndexChanged(self, index):
463 """ 463 """
464 Private slot to enable elements depending on the selected startup 464 Private slot to enable elements depending on the selected startup
465 entry. 465 entry.
466 466
467 @param index index of the selected entry (integer) 467 @param index index of the selected entry
468 @type int
468 """ 469 """
469 # set state of the session related items 470 # set state of the session related items
470 self.loadTabOnActivationCheckBox.setEnabled(index in [3, 4]) 471 self.loadTabOnActivationCheckBox.setEnabled(index in [3, 4])
471 472
472 @pyqtSlot() 473 @pyqtSlot()
484 def create(dlg): 485 def create(dlg):
485 """ 486 """
486 Module function to create the configuration page. 487 Module function to create the configuration page.
487 488
488 @param dlg reference to the configuration dialog 489 @param dlg reference to the configuration dialog
489 @return reference to the instantiated page (ConfigurationPageBase) 490 @type ConfigurationDialog
491 @return reference to the instantiated page
492 @rtype ConfigurationPageBase
490 """ 493 """
491 page = WebBrowserPage(dlg) 494 page = WebBrowserPage(dlg)
492 return page 495 return page

eric ide

mercurial