# eric4.Project.AddLanguageDialog

Module implementing a dialog to add a new language to the project.

### Classes

AddLanguageDialog | Class implementing a dialog to add a new language to the project.

### Functions

None

## AddLanguageDialog

Class implementing a dialog to add a new language to the project.

### Derived from

QDialog, Ui_AddLanguageDialog

### Methods

AddLanguageDialog | Constructor
getSelectedLanguage | Public method to retrieve the selected language.

#### AddLanguageDialog (Constructor)

AddLanguageDialog(parent = None, name = None)

Constructor

parent
  parent widget of this dialog (QWidget)
name
  name of this dialog (string or QString)

#### AddLanguageDialog.getSelectedLanguage

getSelectedLanguage()

Public method to retrieve the selected language.

Returns:
  the selected language (QString)

Up