# eric7.Preferences.ConfigurationPages.MimeTypesPage

Module implementing the Text Mime Types configuration page.

### Global Attributes

None

### Classes

MimeTypesPage | Class implementing the Text Mime Types configuration page.

### Functions

create | Module function to create the configuration page.

## MimeTypesPage

Class implementing the Text Mime Types configuration page.

### Derived from

ConfigurationPageBase, Ui_MimeTypesPage

### Class Attributes

None

### Class Methods

None

### Methods

MimeTypesPage | Constructor
__setFilePatternsToDefault | Private slot to set the file patterns list to the default values.
__setMimeTypesToDefault | Private slot to set the mimetypes list to the default values.
save | Public slot to save the Interface configuration.

### Static Methods

None

#### MimeTypesPage (Constructor)

MimeTypesPage()

Constructor

#### MimeTypesPage.__setFilePatternsToDefault

__setFilePatternsToDefault()

Private slot to set the file patterns list to the default values.

#### MimeTypesPage.__setMimeTypesToDefault

__setMimeTypesToDefault()

Private slot to set the mimetypes list to the default values.

#### MimeTypesPage.save

save()

Public slot to save the Interface configuration.

Up

## create

create(_dlg)

Module function to create the configuration page.

_dlg (ConfigurationDialog)
  reference to the configuration dialog (unused)

Return:
  reference to the instantiated page

Return Type:
  ConfigurationPageBase

Up