# eric7.Preferences.ConfigurationPages.SecurityPage

Module implementing the Security configuration page.

### Global Attributes

None

### Classes

SecurityPage | Class implementing the Security configuration page.

### Functions

create | Module function to create the configuration page.

## SecurityPage

Class implementing the Security configuration page.

### Derived from

ConfigurationPageBase, Ui_SecurityPage

### Class Attributes

None

### Class Methods

None

### Methods

SecurityPage | Constructor
on_mainPasswordButton_clicked | Private slot to change the main password.
on_mainPasswordCheckBox_clicked | Private slot to handle the use of a main password.
save | Public slot to save the Help Viewers configuration.
setMode | Public method to perform mode dependent setups.

### Static Methods

None

#### SecurityPage (Constructor)

SecurityPage(configDialog)

Constructor

configDialog (ConfigurationDialog)
  reference to the configuration dialog

#### SecurityPage.on_mainPasswordButton_clicked

on_mainPasswordButton_clicked()

Private slot to change the main password.

#### SecurityPage.on_mainPasswordCheckBox_clicked

on_mainPasswordCheckBox_clicked(checked)

Private slot to handle the use of a main password.

checked (bool)
  flag indicating the state of the check box

#### SecurityPage.save

save()

Public slot to save the Help Viewers configuration.

#### SecurityPage.setMode

setMode(displayMode)

Public method to perform mode dependent setups.

displayMode (ConfigurationMode)
  mode of the configuration dialog

Up

## create

create(dlg)

Module function to create the configuration page.

dlg (ConfigurationDialog)
  reference to the configuration dialog

Return:
  reference to the instantiated page

Return Type:
  ConfigurationPageBase

Up