eric4.Project.TranslationPropertiesDialog

Module implementing the Translations Properties dialog.

Classes

TranslationPropertiesDialog Class implementing the Translations Properties dialog.

Functions

None


TranslationPropertiesDialog

Class implementing the Translations Properties dialog.

Derived from

QDialog, Ui_TranslationPropertiesDialog

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_transPrefixButton_clicked Private slot to display a directory selection dialog.
storeData Public method to store the entered/modified data.

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 (QString)

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_transPrefixButton_clicked

on_transPrefixButton_clicked()

Private slot to display a directory selection dialog.

TranslationPropertiesDialog.storeData

storeData()

Public method to store the entered/modified data.

Up