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 |