src/eric7/Documentation/Source/eric7.Project.TranslationPropertiesDialog.html

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9427
905e7af29101
child 10430
e440aaf179ce
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!DOCTYPE html>
<html><head>
<title>eric7.Project.TranslationPropertiesDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Project.TranslationPropertiesDialog</h1>

<p>
Module implementing the Translations Properties dialog.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#TranslationPropertiesDialog">TranslationPropertiesDialog</a></td>
<td>Class implementing the Translations Properties dialog.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="TranslationPropertiesDialog" ID="TranslationPropertiesDialog"></a>
<h2>TranslationPropertiesDialog</h2>

<p>
    Class implementing the Translations Properties dialog.
</p>
<h3>Derived from</h3>
QDialog, Ui_TranslationPropertiesDialog
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#TranslationPropertiesDialog.__init__">TranslationPropertiesDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.initDialog">initDialog</a></td>
<td>Public method to initialize the dialog's data.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.initFilters">initFilters</a></td>
<td>Public method to initialize the filters.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_addExceptionButton_clicked">on_addExceptionButton_clicked</a></td>
<td>Private slot to add the shown exception to the listwidget.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_deleteExceptionButton_clicked">on_deleteExceptionButton_clicked</a></td>
<td>Private slot to delete the currently selected entry of the listwidget.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_exceptDirButton_clicked">on_exceptDirButton_clicked</a></td>
<td>Private slot to select a file to exempt from translation.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_exceptFileButton_clicked">on_exceptFileButton_clicked</a></td>
<td>Private slot to select a file to exempt from translation.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_exceptionEdit_textChanged">on_exceptionEdit_textChanged</a></td>
<td>Private slot to handle the textChanged signal of the exception edit.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_exceptionsList_currentRowChanged">on_exceptionsList_currentRowChanged</a></td>
<td>Private slot to handle the currentRowChanged signal of the exceptions list.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_transBinPathPicker_pathSelected">on_transBinPathPicker_pathSelected</a></td>
<td>Private slot handling the selection of a binary translations path.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_transPatternPicker_pathSelected">on_transPatternPicker_pathSelected</a></td>
<td>Private slot handling the selection of a translation path.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.on_transPatternPicker_textChanged">on_transPatternPicker_textChanged</a></td>
<td>Private slot to check the translation pattern for correctness.</td>
</tr>
<tr>
<td><a href="#TranslationPropertiesDialog.storeData">storeData</a></td>
<td>Public method to store the entered/modified data.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="TranslationPropertiesDialog.__init__" ID="TranslationPropertiesDialog.__init__"></a>
<h4>TranslationPropertiesDialog (Constructor)</h4>
<b>TranslationPropertiesDialog</b>(<i>project, new, parent</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>project</i></dt>
<dd>
reference to the project object
</dd>
<dt><i>new</i></dt>
<dd>
flag indicating the generation of a new project
</dd>
<dt><i>parent</i></dt>
<dd>
parent widget of this dialog (QWidget)
</dd>
</dl>
<a NAME="TranslationPropertiesDialog.initDialog" ID="TranslationPropertiesDialog.initDialog"></a>
<h4>TranslationPropertiesDialog.initDialog</h4>
<b>initDialog</b>(<i></i>)

<p>
        Public method to initialize the dialog's data.
</p>
<a NAME="TranslationPropertiesDialog.initFilters" ID="TranslationPropertiesDialog.initFilters"></a>
<h4>TranslationPropertiesDialog.initFilters</h4>
<b>initFilters</b>(<i></i>)

<p>
        Public method to initialize the filters.
</p>
<a NAME="TranslationPropertiesDialog.on_addExceptionButton_clicked" ID="TranslationPropertiesDialog.on_addExceptionButton_clicked"></a>
<h4>TranslationPropertiesDialog.on_addExceptionButton_clicked</h4>
<b>on_addExceptionButton_clicked</b>(<i></i>)

<p>
        Private slot to add the shown exception to the listwidget.
</p>
<a NAME="TranslationPropertiesDialog.on_deleteExceptionButton_clicked" ID="TranslationPropertiesDialog.on_deleteExceptionButton_clicked"></a>
<h4>TranslationPropertiesDialog.on_deleteExceptionButton_clicked</h4>
<b>on_deleteExceptionButton_clicked</b>(<i></i>)

<p>
        Private slot to delete the currently selected entry of the listwidget.
</p>
<a NAME="TranslationPropertiesDialog.on_exceptDirButton_clicked" ID="TranslationPropertiesDialog.on_exceptDirButton_clicked"></a>
<h4>TranslationPropertiesDialog.on_exceptDirButton_clicked</h4>
<b>on_exceptDirButton_clicked</b>(<i></i>)

<p>
        Private slot to select a file to exempt from translation.
</p>
<a NAME="TranslationPropertiesDialog.on_exceptFileButton_clicked" ID="TranslationPropertiesDialog.on_exceptFileButton_clicked"></a>
<h4>TranslationPropertiesDialog.on_exceptFileButton_clicked</h4>
<b>on_exceptFileButton_clicked</b>(<i></i>)

<p>
        Private slot to select a file to exempt from translation.
</p>
<a NAME="TranslationPropertiesDialog.on_exceptionEdit_textChanged" ID="TranslationPropertiesDialog.on_exceptionEdit_textChanged"></a>
<h4>TranslationPropertiesDialog.on_exceptionEdit_textChanged</h4>
<b>on_exceptionEdit_textChanged</b>(<i>txt</i>)

<p>
        Private slot to handle the textChanged signal of the exception edit.
</p>
<dl>

<dt><i>txt</i></dt>
<dd>
the text of the exception edit (string)
</dd>
</dl>
<a NAME="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged" ID="TranslationPropertiesDialog.on_exceptionsList_currentRowChanged"></a>
<h4>TranslationPropertiesDialog.on_exceptionsList_currentRowChanged</h4>
<b>on_exceptionsList_currentRowChanged</b>(<i>row</i>)

<p>
        Private slot to handle the currentRowChanged signal of the exceptions
        list.
</p>
<dl>

<dt><i>row</i></dt>
<dd>
the current row (integer)
</dd>
</dl>
<a NAME="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected" ID="TranslationPropertiesDialog.on_transBinPathPicker_pathSelected"></a>
<h4>TranslationPropertiesDialog.on_transBinPathPicker_pathSelected</h4>
<b>on_transBinPathPicker_pathSelected</b>(<i>path</i>)

<p>
        Private slot handling the selection of a binary translations path.
</p>
<dl>

<dt><i>path</i> (str)</dt>
<dd>
selected path
</dd>
</dl>
<a NAME="TranslationPropertiesDialog.on_transPatternPicker_pathSelected" ID="TranslationPropertiesDialog.on_transPatternPicker_pathSelected"></a>
<h4>TranslationPropertiesDialog.on_transPatternPicker_pathSelected</h4>
<b>on_transPatternPicker_pathSelected</b>(<i>path</i>)

<p>
        Private slot handling the selection of a translation path.
</p>
<dl>

<dt><i>path</i> (str)</dt>
<dd>
selected path
</dd>
</dl>
<a NAME="TranslationPropertiesDialog.on_transPatternPicker_textChanged" ID="TranslationPropertiesDialog.on_transPatternPicker_textChanged"></a>
<h4>TranslationPropertiesDialog.on_transPatternPicker_textChanged</h4>
<b>on_transPatternPicker_textChanged</b>(<i>txt</i>)

<p>
        Private slot to check the translation pattern for correctness.
</p>
<dl>

<dt><i>txt</i></dt>
<dd>
text of the transPatternPicker line edit (string)
</dd>
</dl>
<a NAME="TranslationPropertiesDialog.storeData" ID="TranslationPropertiesDialog.storeData"></a>
<h4>TranslationPropertiesDialog.storeData</h4>
<b>storeData</b>(<i></i>)

<p>
        Public method to store the entered/modified data.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial