# eric5.Project.TranslationPropertiesDialog

Module implementing the Translations Properties dialog.

### Global Attributes

None

### Classes

TranslationPropertiesDialog | Class implementing the Translations Properties dialog.

### Functions

None

## TranslationPropertiesDialog

Class implementing the Translations Properties dialog.

### Derived from

QDialog, Ui_TranslationPropertiesDialog

### Class Attributes

None

### Class Methods

None

### Methods

TranslationPropertiesDialog | Constructor
initDialog | Public method to initialize the dialogs data.
initFilters | Public method to initialize the filters.
on_addExceptionButton_clicked | Private slot to add the shown exception to the listwidget.
on_deleteExceptionButton_clicked | Private slot to delete the currently selected entry of the listwidget.
on_exceptDirButton_clicked | Private slot to select a file to exempt from translation.
on_exceptFileButton_clicked | Private slot to select a file to exempt from translation.
on_exceptionEdit_textChanged | Private slot to handle the textChanged signal of the exception edit.
on_exceptionsList_currentRowChanged | Private slot to handle the currentRowChanged signal of the exceptions list.
on_transBinPathButton_clicked | Private slot to display a directory selection dialog.
on_transPatternButton_clicked | Private slot to display a file selection dialog.
on_transPatternEdit_textChanged | Private slot to check the translation pattern for correctness.
storeData | Public method to store the entered/modified data.

### Static Methods

None

#### TranslationPropertiesDialog (Constructor)

TranslationPropertiesDialog(project, new, parent)

Constructor

project
  reference to the project object
new
  flag indicating the generation of a new project
parent
  parent widget of this dialog (QWidget)

#### TranslationPropertiesDialog.initDialog

initDialog()

Public method to initialize the dialogs data.

#### TranslationPropertiesDialog.initFilters

initFilters()

Public method to initialize the filters.

#### TranslationPropertiesDialog.on_addExceptionButton_clicked

on_addExceptionButton_clicked()

Private slot to add the shown exception to the listwidget.

#### TranslationPropertiesDialog.on_deleteExceptionButton_clicked

on_deleteExceptionButton_clicked()

Private slot to delete the currently selected entry of the listwidget.

#### TranslationPropertiesDialog.on_exceptDirButton_clicked

on_exceptDirButton_clicked()

Private slot to select a file to exempt from translation.

#### TranslationPropertiesDialog.on_exceptFileButton_clicked

on_exceptFileButton_clicked()

Private slot to select a file to exempt from translation.

#### TranslationPropertiesDialog.on_exceptionEdit_textChanged

on_exceptionEdit_textChanged(txt)

Private slot to handle the textChanged signal of the exception edit.

txt
  the text of the exception edit (string)

#### TranslationPropertiesDialog.on_exceptionsList_currentRowChanged

on_exceptionsList_currentRowChanged(row)

Private slot to handle the currentRowChanged signal of the exceptions list.

row
  the current row (integer)

#### TranslationPropertiesDialog.on_transBinPathButton_clicked

on_transBinPathButton_clicked()

Private slot to display a directory selection dialog.

#### TranslationPropertiesDialog.on_transPatternButton_clicked

on_transPatternButton_clicked()

Private slot to display a file selection dialog.

#### TranslationPropertiesDialog.on_transPatternEdit_textChanged

on_transPatternEdit_textChanged(txt)

Private slot to check the translation pattern for correctness.

txt
  text of the transPatternEdit lineedit (string)

#### TranslationPropertiesDialog.storeData

storeData()

Public method to store the entered/modified data.

Up