src/eric7/Preferences/ConfigurationPages/SecurityPage.py

branch
eric7
changeset 10428
a071d4065202
parent 10135
36839e2c6945
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
24 def __init__(self, configDialog): 24 def __init__(self, configDialog):
25 """ 25 """
26 Constructor 26 Constructor
27 27
28 @param configDialog reference to the configuration dialog 28 @param configDialog reference to the configuration dialog
29 (ConfigurationDialog) 29 @type ConfigurationDialog
30 """ 30 """
31 super().__init__() 31 super().__init__()
32 self.setupUi(self) 32 self.setupUi(self)
33 self.setObjectName("SecurityPage") 33 self.setObjectName("SecurityPage")
34 34
83 @pyqtSlot(bool) 83 @pyqtSlot(bool)
84 def on_mainPasswordCheckBox_clicked(self, checked): 84 def on_mainPasswordCheckBox_clicked(self, checked):
85 """ 85 """
86 Private slot to handle the use of a main password. 86 Private slot to handle the use of a main password.
87 87
88 @param checked flag indicating the state of the check box (boolean) 88 @param checked flag indicating the state of the check box
89 @type bool
89 """ 90 """
90 from .MainPasswordEntryDialog import MainPasswordEntryDialog 91 from .MainPasswordEntryDialog import MainPasswordEntryDialog
91 92
92 if checked: 93 if checked:
93 dlg = MainPasswordEntryDialog("", self) 94 dlg = MainPasswordEntryDialog("", self)
125 def create(dlg): 126 def create(dlg):
126 """ 127 """
127 Module function to create the configuration page. 128 Module function to create the configuration page.
128 129
129 @param dlg reference to the configuration dialog 130 @param dlg reference to the configuration dialog
130 @return reference to the instantiated page (ConfigurationPageBase) 131 @type ConfigurationDialog
132 @return reference to the instantiated page
133 @rtype ConfigurationPageBase
131 """ 134 """
132 page = SecurityPage(dlg) 135 page = SecurityPage(dlg)
133 return page 136 return page

eric ide

mercurial