# eric7.Project.PropertiesDialog

Module implementing the project properties dialog.

### Global Attributes

None

### Classes

PropertiesDialog | Class implementing the project properties dialog.

### Functions

None

## PropertiesDialog

Class implementing the project properties dialog.

### Derived from

QDialog, Ui_PropertiesDialog

### Class Attributes

None

### Class Methods

None

### Methods

PropertiesDialog | Constructor
__initFileTypesDict | Private slot to (re-)initialize the filetype dictionary.
__populateLicenseComboBox | Private method to populate the license selector with the list of trove license types.
__setMainScriptPickerFilters | Private method to set the filters for the main script file picker.
getPPath | Public method to get the project path.
getProjectType | Public method to get the selected project type.
on_dirPicker_textChanged | Private slot to handle a change of the project directory.
on_filetypesButton_clicked | Private slot to open a dialog to edit the filetype associations.
on_languageComboBox_currentTextChanged | Private slot handling the selection of a programming language.
on_mainscriptPicker_aboutToShowPathPickerDialog | Private slot to perform actions before the main script selection dialog is shown.
on_mainscriptPicker_pathSelected | Private slot to check the selected main script name.
on_makeButton_clicked | Private slot to display the make properties dialog.
on_spellPropertiesButton_clicked | Private slot to display the spelling properties dialog.
on_srcDirPicker_aboutToShowPathPickerDialog | Private slot to perform actions before the sources sub-directory selection dialog is shown.
on_srcDirPicker_pathSelected | Private slot to check the selected sources sub-directory name.
on_transPropertiesButton_clicked | Private slot to display the translations properties dialog.
on_vcsInfoButton_clicked | Private slot to display a vcs information dialog.
storeData | Public method to store the entered/modified data.

### Static Methods

None

#### PropertiesDialog (Constructor)

PropertiesDialog(project, new=True, isRemote=False, parent=None, name=None)

Constructor

project (Project)
  reference to the project object
new (bool (optional))
  flag indicating the generation of a new project (defaults to True)
isRemote (bool (optional))
  flag indicating a remote project (defaults to False)
parent (QWidget (optional))
  parent widget of this dialog (defaults to None)
name (str (optional))
  name of this dialog (defaults to None)

#### PropertiesDialog.__initFileTypesDict

__initFileTypesDict(force=False)

Private slot to (re-)initialize the filetype dictionary.

force (bool (optional))
  flag indicating to force the initialization (defaults to False)

#### PropertiesDialog.__populateLicenseComboBox

__populateLicenseComboBox()

Private method to populate the license selector with the list of trove license types.

#### PropertiesDialog.__setMainScriptPickerFilters

__setMainScriptPickerFilters()

Private method to set the filters for the main script file picker.

#### PropertiesDialog.getPPath

getPPath()

Public method to get the project path.

Return:
  data of the project directory edit

Return Type:
  str

#### PropertiesDialog.getProjectType

getProjectType()

Public method to get the selected project type.

Return:
  selected UI type

Return Type:
  str

#### PropertiesDialog.on_dirPicker_textChanged

on_dirPicker_textChanged(txt)

Private slot to handle a change of the project directory.

txt (str)
  name of the project directory

#### PropertiesDialog.on_filetypesButton_clicked

on_filetypesButton_clicked()

Private slot to open a dialog to edit the filetype associations.

#### PropertiesDialog.on_languageComboBox_currentTextChanged

on_languageComboBox_currentTextChanged(language)

Private slot handling the selection of a programming language.

language (str)
  text of the current item

#### PropertiesDialog.on_mainscriptPicker_aboutToShowPathPickerDialog

on_mainscriptPicker_aboutToShowPathPickerDialog()

Private slot to perform actions before the main script selection dialog is shown.

#### PropertiesDialog.on_mainscriptPicker_pathSelected

on_mainscriptPicker_pathSelected(script)

Private slot to check the selected main script name.

script (str)
  name of the main script

#### PropertiesDialog.on_makeButton_clicked

on_makeButton_clicked()

Private slot to display the make properties dialog.

#### PropertiesDialog.on_spellPropertiesButton_clicked

on_spellPropertiesButton_clicked()

Private slot to display the spelling properties dialog.

#### PropertiesDialog.on_srcDirPicker_aboutToShowPathPickerDialog

on_srcDirPicker_aboutToShowPathPickerDialog()

Private slot to perform actions before the sources sub-directory selection dialog is shown.

#### PropertiesDialog.on_srcDirPicker_pathSelected

on_srcDirPicker_pathSelected(srcDir)

Private slot to check the selected sources sub-directory name.

srcDir (str)
  name of the sources directory name

#### PropertiesDialog.on_transPropertiesButton_clicked

on_transPropertiesButton_clicked()

Private slot to display the translations properties dialog.

#### PropertiesDialog.on_vcsInfoButton_clicked

on_vcsInfoButton_clicked()

Private slot to display a vcs information dialog.

#### PropertiesDialog.storeData

storeData()

Public method to store the entered/modified data.

Up